|
-
Feb 4th, 2000, 05:35 AM
#1
Thread Starter
Junior Member
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
-
Feb 4th, 2000, 06:14 AM
#2
Can you post the code you're using, so we can take a look?
------------------
Serge
Senior Programmer Analyst
[email protected]
[email protected]
ICQ#: 51055819
-
Feb 4th, 2000, 06:23 AM
#3
Thread Starter
Junior Member
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
-
Feb 4th, 2000, 07:31 AM
#4
Command isn't a function, so just remove the "()".
------------------
Marty
HASTE CUISINE
Fast French food.
-
Feb 4th, 2000, 07:35 AM
#5
Thread Starter
Junior Member
still doesnt work
same error
-
Feb 4th, 2000, 09:22 AM
#6
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]
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
|