Run a Program Associated with a File Type



Runs a program associated with a file type.

'Namespace: Microsoft.Win32
'Namespace: System.Diagnostics
'Process.Start(programName)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  Process.Start("notepad.exe")
  'Process.Start("winword.exe")
End Sub

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.