|
-
Oct 3rd, 2000, 05:09 PM
#1
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
-
Oct 3rd, 2000, 05:26 PM
#2
Monday Morning Lunatic
Go to Project->Project1 Properties (or similar) and choose the Make tab. There should be a text box for command line arguments.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 3rd, 2000, 05:28 PM
#3
Hyperactive Member
That thread looks complete
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
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
|