How can I apply /runtime?

L

Laurel

I guess this is really a windows question, but I'm stuck.
I want to make a shortcut on the desktop that will open a
database with the /runtime qualifier. I can't figure out
how to do this or where to look it up. Discussions of
this just assume you know how to do it. I can make a
shortcut, but I can't find anyplace in the shortcut where
you can apply switches. I suspect an ordinary shortcut
isn't really the way to go....

TIA
 
R

Rick Brandt

Laurel said:
I guess this is really a windows question, but I'm stuck.
I want to make a shortcut on the desktop that will open a
database with the /runtime qualifier. I can't figure out
how to do this or where to look it up. Discussions of
this just assume you know how to do it. I can make a
shortcut, but I can't find anyplace in the shortcut where
you can apply switches. I suspect an ordinary shortcut
isn't really the way to go....

To use Access command-line switches you need a shortcut that points to the
Access executable, not the file you want to open. The path to the file you
want to open is included as an additional argument.

"Path to MSAccess.exe" "Path to MDB to Open" /Runtime
 
L

Laurel

Can you tell me the syntax for supplying the database
name? I added /runtime to the shortcut target, and that
worked OK, but the following attempt at passing a database
opens the database in runtime OK, but it also launches
NetMeeting (?????) I'm not doing ANYTHING with NetMeeting
in my application.

/c:\las\school\school.mdb
This launches Access and the database OK, but it also
launches NetMeeting ????????? I end up with a little
NetMeeting window in my Access Window, and I can only get
rid of it by clicking on "hangup."
 
R

Rick Brandt

Laurel said:
Can you tell me the syntax for supplying the database
name? I added /runtime to the shortcut target, and that
worked OK, but the following attempt at passing a database
opens the database in runtime OK, but it also launches
NetMeeting (?????) I'm not doing ANYTHING with NetMeeting
in my application.

/c:\las\school\school.mdb
This launches Access and the database OK, but it also
launches NetMeeting ????????? I end up with a little
NetMeeting window in my Access Window, and I can only get
rid of it by clicking on "hangup."

I have no idea why that would be happening, but you shouldn't have a "/" in
front of the path to the MDB.
 
L

Laurel

-----Original Message-----


I have no idea why that would be happening, but you shouldn't have a "/" in
front of the path to the MDB.

Bingo
Works fine now, without the slash.
It feels like there's a "feature" lurking here somewhere...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top