|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Command line
In VB6,
I go to project properties->Make->command line argument, I input some values over there. After that, I go to make exe file. Why the exe file doesn't have command values? Can we make the exe file with command line arguments? |
|
#2
|
|||
|
|||
|
Assuming you're using VB6, it's the IDE that stores the command line arguments for your testing. In the real world (i.e., normally running your program) you have to provide the command line arguments yourself when you start your exe. Command line arguments are not part of the program itself, they are data that the user passes into the program.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
So, Can I say that?
VB6 program cannot make exe file with command line argument itself, right. We have to manually place command line argument into the exe file. Is it correct? |
|
#4
|
||||
|
||||
|
correct but not accurate.
you don't place command line arguments into exe file, you supply them to the application. in Windows, right click the file and choose Create Shortcut. right click the shortcut and choose Properties. go to the tab Shortcut. in the Target input box, add the parameters you want after the file name. click OK and activate the shortcut. now the application will run with the supplied parameters. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Command line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|