Results 1 to 2 of 2

Thread: Pass PATH parameter to EXE

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    5

    Post

    How do I pass the PATH parameter to an executable to open a database????

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    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
    -

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width