Use Process.Start to open files in their native applications
Dim ps As System.Diagnostics.Process
ps = Process.Start("C:\dhad.pdf")
or
ps = Process.Start("C:\text.txt")
to open Internet explorer Using Vb.net
Dim ps As System.Diagnostics.Process
'to open
ps = Process.Start("IEXPLORE.EXE")
'to kill
ps.kill()
Wednesday, December 24, 2008
Subscribe to:
Post Comments (Atom)
1 comment:
How can you explain the use of WaitForExit
Post a Comment