I want to pass some arguments to my program when I launch it. Is there any way to do it?
Printable View
I want to pass some arguments to my program when I launch it. Is there any way to do it?
Start your vb exe vile like
Myprog.exe Param1
In Myprog you can read it with Command$ function
dim s as string
s= Command$
msgbox s '-> will give the result Param1
Iouri Boutchkine
[email protected]