Using start.exe

Private Sub Form_Load()

'Source Code Found at:

'http://www.geocities.com/SiliconValley/Park/8710/

'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 mailto:who@domain.net")

'Launch Inet

'nResult = Shell("start.exe http://www.webaddr.com")

'Launch Executive

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

'

'Close this app

Set Form1 = Nothing

End

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!

Categories