To run a .EXE file from a VB.NET application you need to import the
System.Diagnostics namespace. The following sample shows how to run Notepad from a VB.NET application.
Imports System
Imports System.Diagnostics
Dim program As New Process()
program.StartInfo.FileName = "Notepad.exe"
program.StartInfo.Arguments = " "
program.Start()
No comments:
Post a Comment