Open Application Files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have no clue where to start on this one: Is it possible to have a vb.net application open files in thier native applications (just like double clicking on them). I have a list of files and I want the user to be able to open them just by double clicking on the list

Thank
Brad
 
Hi,

Process.Start("filename") will open the file in its native
application.

Ken
--------------
Brad said:
I have no clue where to start on this one: Is it possible to have a vb.net
application open files in thier native applications (just like double
clicking on them). I have a list of files and I want the user to be able to
open them just by double clicking on the list.
 
* "=?Utf-8?B?QnJhZA==?= said:
I have no clue where to start on this one: Is it possible to have a
vb.net application open files in thier native applications (just like
double clicking on them). I have a list of files and I want the user to
be able to open them just by double clicking on the list.

\\\
Dim p As New System.Diagnostics.ProcessStartInfo()
p.FileName = "C:\filename.doc"
p.UseShellExecute = True
System.Diagnostics.Process.Start(p)
///
 
Back
Top