i am using the command fucntion to get the command line arguments from the properties..
But when i call the command funtion i get an error message that says
Cant find project or library
Is there anything i need to set.
Thanks,
Mark
Printable View
i am using the command fucntion to get the command line arguments from the properties..
But when i call the command funtion i get an error message that says
Cant find project or library
Is there anything i need to set.
Thanks,
Mark
Can you post the code you're using, so we can take a look?
------------------
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
Private Sub Form_Load()
Dim strCommandLine As StringstrCommandLine = Command()
if strCommandLine = ....... 'do something
end if
end sub
i just plugged this code in.....
******************************************************************************************
In my project properties,Make tab, Command line agruments = hello there
So i know i passed the arguments right now it is a problem trying to use those agruments.
Command () gives me an error= cant find object or library
Command isn't a function, so just remove the "()".
------------------
Marty
HASTE CUISINE
Fast French food.
still doesnt work
same error
Try:
------------------Code:Private Sub Form_Load()
Select Case LCase(Command)
Case "/n"
'Do Something
Case Else
'Do Something Else
End Select
End Sub
Aaron Young
Analyst Programmer
[email protected]
[email protected]