running a program with parameters

In a VB5 program I would like to start another application with some parameters requested on the command line. The Shell function doesn't allow to provide parameters. Is there another solution ?
Thanks in advance.
trustitAsked:
Who is Participating?
 
KDivadConnect With a Mentor Commented:
The shell function DOES allow parameters.

x = Shell("notepad.exe C:\MyFile.txt")
0
 
st_steveCommented:
use ShellExecute API...it accepts parameters...if you want the syntax, msg me back...will post the declarations and the calling function....
0
 
trustitAuthor Commented:
Thanks for this info that I missed.
0
 
KDivadCommented:
You're Welcome! Glad I could help!
0
All Courses

From novice to tech pro — start learning today.