×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Running command-line start up options from VBA

Running command-line start up options from VBA

Running command-line start up options from VBA

(OP)
I'm setting up several secured databases to be shared over a netwrok.  For people to log in using a user name from the system.mdw, i've had to set up separate shortcuts for each person, because access seems to be installed in different directories on several machines.

I want to be able to use a "Gateway" database that a user could open with out worrying about security.  From this database, they would select which of the three (currently) databases they wanted to use.  The Gateway database would read the path of the running Access application on the fly, and open the desired database, pointing to the appropiate system.mdw.  

What I'm having problems with is figuring out how to open a database from within Access using VBA with the command-line options.  I'm guessing I could either gigure out how to pass them as arguments somehow, or cobble together a string to pass to window's run command (is that possible?).

RE: Running command-line start up options from VBA

You'll want to post this in an Access forum.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible.  All it takes is a little research. (Me)


http://www.mrdenny.com (Not quite so old any more.)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close