-
May 20th, 2002, 07:10 AM
#1
How to call an .exe file from VB?
I got an application (.exe) I want to fire up from my program. I would like to just click a command button and call the .exe.
-
May 20th, 2002, 07:24 AM
#2
Use SHELL function.
Description - in VB help.
Example :
' Specifying 1 as the second argument opens the application in
' normal size and gives it the focus.
Dim RetVal
RetVal = Shell("C:\WINDOWS\CALC.EXE", 1) ' Run Calculator.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|