I want to open a word or pdf document . I have already the full path
Printable View
I want to open a word or pdf document . I have already the full path
VB Code:
Process.Start("C:\Inetpub\wwwroot\Private\poc\Felix100427.pdf")
Whatever you put in quotes after Process.Start, VB will examine the extension and try to open the file using the appropriate program. (That's what i've gathered with constant pestering :D )
That is correct it works the same as the old ShellExecute API call, if you ever used that in VB6.
Whay!! I didn't know that a week ago! Pestering does pay off :D