Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    5

    Unanswered: Shellexecute problem

    hi im using the following shell execute program to launch an access database, however i was wondering if there was anything else i could add onto this code to launch a specific form/table?

    code:

    ShellExecute hwnd, "open", "H:\A2 Computing\Practical\code\Database\Jericho Database.mdb", vbNullString, "H:\", 3

    Any help is appreciated.

    Pete

  2. #2
    Join Date
    Jan 2004
    Location
    The Netherlands
    Posts
    421
    If you include the path where access is installed you can call macros and stuff within the database...
    then your commandline would look something like

    "C:\Programfiles\office\msaccess.exe ""C:\Your DB PAth\Your DB.mdb"" switch witch"

    Read the access help on what switches there are and how to use them..

    Regards

Posting Permissions

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