T Tony K Mar 28, 2008 #1 How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Thanks, Tony
How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Thanks, Tony
H Herfried K. Wagner [MVP] Mar 28, 2008 #2 Tony K said: How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Click to expand... Take a look at th 'System.Diagnostics.Process.Start' method. You can use 'System.IO.Path.Combine' to create the full path of the PDF file.
Tony K said: How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Click to expand... Take a look at th 'System.Diagnostics.Process.Start' method. You can use 'System.IO.Path.Combine' to create the full path of the PDF file.
T Tony K Mar 28, 2008 #3 Herfried K. Wagner said: Take a look at th 'System.Diagnostics.Process.Start' method. You can use 'System.IO.Path.Combine' to create the full path of the PDF file. Click to expand... Thank you Herfried.
Herfried K. Wagner said: Take a look at th 'System.Diagnostics.Process.Start' method. You can use 'System.IO.Path.Combine' to create the full path of the PDF file. Click to expand... Thank you Herfried.
K kimiraikkonen Mar 28, 2008 #4 How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Thanks, Tony Click to expand... Hi, Also you can use: Dim p As New System.Diagnostics.ProcessStartInfo(<path>,args..) p.WorkingDirectory = Application.StartupPath
How would I open a pdf from the application.startup path? (assuming the user has a pdf reader available) Thanks, Tony Click to expand... Hi, Also you can use: Dim p As New System.Diagnostics.ProcessStartInfo(<path>,args..) p.WorkingDirectory = Application.StartupPath