VB .NET2005

HOME
UP

 

 

Execute .exe File

 Dim oNotepad As Process = New Process
oNotepad.StartInfo.LoadUserProfile = True
oNotepad.StartInfo.UseShellExecute = True
oNotepad.StartInfo.Arguments = """" & cstrLogFileName & """"
oNotepad.StartInfo.WorkingDirectory = My.Computer.FileSystem.CurrentDirectory
oNotepad.StartInfo.FileName = "notepad.exe"
oNotepad.Start()

(c) by Wolfgang Zerzawy 07-Mai-08 12:11   

XING