Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 Open file in folder

$
0
0
Hello, I'm trying to open a file in a folder on every user's desktop. The folder name is "ABC" and the file I want the open is a PDF document named, "Test".

I have try with this code, but it doesn't work:

Code:

Dim path As String = System.IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "ABC")
                Process.Start(path & "Test.pdf")

Any idea what is wrong... thanks for help

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>