is there a way to give Command$ a value without making and exe? Because if you look here :
http://forums.vb-world.net/showthrea...threadid=33509
I'm still having the same problems
Printable View
is there a way to give Command$ a value without making and exe? Because if you look here :
http://forums.vb-world.net/showthrea...threadid=33509
I'm still having the same problems
Go to Project->Project1 Properties (or similar) and choose the Make tab. There should be a text box for command line arguments.
Good advice was given and there was no final post by yourself to say there was a problem. Perhaps this is a new problem which you want help with but you think it is related?
Once you compile your exe, you may add command line options to the shortcut to your application. The Command$ variable which you get for Free from VB is available for you to read any command line arguments.
This variable will give you literally exactly what was on the command line.
If you want to test potential command line arguements before compiling then you simple go into the Project Properties | Make dialog box within VB, and tyep your command line arguments where it says "Command Line Arguments".
Perhaps if this doesn't help, you could post the shortcut you are using to run your exe enclosed in quotes so that we can see the command line arguments for ourselves?
Cheers