PDA

Click to See Complete Forum and Search --> : How to make Commands


Dec 16th, 1999, 05:15 AM
I want to know how to Make Extenal commands
E.g.
Ftp.exe /s
notepad tod.txt

how can i make this for direct access

Dec 16th, 1999, 07:53 AM
Do you mean to make your VB program execute one of those commands? Then look up the "Shell Function":
'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.