PDA

Click to See Complete Forum and Search --> : Pass PATH parameter to EXE


ADM1AVD
Jan 18th, 2000, 10:41 PM
How do I pass the PATH parameter to an executable to open a database????

Fox
Jan 18th, 2000, 10:46 PM
I think you mean this:
If you start your program with parameters ie 'Test.exe C:\Database.db' then u can use Command to get the argument line.

-
Form_Load()
Dim Temp as String

Temp = Command
'Temp will be "C:\Database.db"
End Sub
-

------------------
fox_mccloud@gmx.net
...
Every program can be reduced to one instruction which doesn't work.