Using start.exe

Private Sub Form_Load()

'Source Code Found at:


'Examples of using start.exe

'Only code needed for project contained here.

'No objects or API required.

'Code works in VB3 or VB5.

'Should work in VB4 or VB6.

'Info Only: Loc of start.exe--> c:windowscommand


Dim nResult


'Launch Notepad


nResult = Shell("start.exe Notepad")


'Launch EMail Compose

'nResult = Shell("start.exe")

'Launch Inet

'nResult = Shell("start.exe")

'Launch Executive

'nResult = Shell("start.exe c:file.exe")


'Close this app

Set Form1 = Nothing


End Sub

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!