|
-
Jan 19th, 2000, 01:00 AM
#2
Thread Starter
Lively Member
It goes like this: You can read parameter from command line with
Command()
Something like this:
Private Sub Form_Load()
par = Command 'parameter into variable
Set db = DBEngine.OpenDatabase(par)
End Sub
You can execute your program with command line:
myexe.exe c:\database.mdb
Vairable par get value " c:\database.mdb". I thing that you'll have to remove [space].
That must work.
Ermin
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
|