467,146 Members | 1,009 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

Is bypass (shift) key functionality from command line possible?

I've searched for this and haven't found the answer yet, so here
goes. I'm using multiple versions of Access, all 2000 or later. Is
there a command line switch that will produce the same result as
opening the file in Windows while holding down the bypass (shift) key?

I have GoToMyPC set up on a client's computer, and when accessing it
through my Pocket PC I am unable to transmit the holding of the shift
key while opening the database. If there were a command line switch I
could use that to open the database without the restrictions imposed by
the Tools->Startup screen.

Thanks,

Joshua Ammann

Mar 15 '06 #1
  • viewed: 4398
Share:
3 Replies
I suggest you include an obscure "backdoor" to design view... some
unintuitive graphic or text that accepts a Click and executes code to show
the database window, for example.

Larry Linson
Microsoft Access MVP

"Joshua Ammann" <jo****@ammann.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
I've searched for this and haven't found the answer yet, so here
goes. I'm using multiple versions of Access, all 2000 or later. Is
there a command line switch that will produce the same result as
opening the file in Windows while holding down the bypass (shift) key?

I have GoToMyPC set up on a client's computer, and when accessing it
through my Pocket PC I am unable to transmit the holding of the shift
key while opening the database. If there were a command line switch I
could use that to open the database without the restrictions imposed by
the Tools->Startup screen.

Thanks,

Joshua Ammann

Mar 15 '06 #2
Thanks Larry.

I already have a button to show the db window, but without the bypass
key I don't have access to the full set of menu bar options (File -
Edit, etc.).

It's not a big problem for this particular application, since most of
the default menus are available anyway. I was asking primarily for
future reference, in case I ever need it on a database I didn't design
(no "back door") or one with more signifigant restrictions on the menu
bar choices.

Anyone have any other ideas on bypassing startup options without a
keyboard shortcut?

Joshua Ammann

Mar 22 '06 #3
There is no way to do this from the command line. What you might be
able to do is create a 'starter' application that starts the first one
and install that on the client machine. Then you could use your pocket
pc to start the 'starter' application which would in turn start the
main application while simulating a depressed shift key. The code at
http://www.mvps.org/access/api/api0068.htm uses automation to run an
access app bypassing startup. Your 'starter' application could use
this code along with something like the following to invoke it:

Sub StartWithShift(strMyApp as String)

Static app As Access.Application

Set app = fGetRefNoAutoexec(strMyApp)

End Sub

With this approach, your application will start in a separate window
via automation as though you had depressed the shift key and will live
until you close it manually or until you close your 'starter'
application.

HTH,
Bruce

Mar 22 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Hari | last post: by
4 posts views Thread by Greg B | last post: by
6 posts views Thread by Edd Dawson | last post: by
8 posts views Thread by matt@mailinator.com | last post: by
4 posts views Thread by =?Utf-8?B?Sm9obg==?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.