473,657 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
3 4890
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.goo glegroups.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.Applicat ion

Set app = fGetRefNoAutoex ec(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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2603
by: Hari | last post by:
can i have command line arguments in VS.NET applicatio? if yes how? Can i have some code snippets of the above functionality? I know we can acjieve this in console application form command prompt but how can i achieve it in an application in VS.NET? Thank you
4
11444
by: Greg B | last post by:
Well since getopt() doesn't seem to be compatible with Windows, and the free implementation of it for Windows that I found still had some annoying restrictions, I thought I'd whip up a simple parser myself. Just wanted to see if anyone could provide me with some constructive criticism :) any feedback would be greatly appreciated ----------------------------------------------------------------------------- #include "stdio.h" #include...
6
2927
by: Edd Dawson | last post by:
Hi. I have a strange problem involving the passing of command line arguments to a C program I'm writing. I tried posting this in comp.programming yesterday but someone kindly suggested that I'd have better luck here. So here goes! My program ignores any command line arguments, or at least it's supposed to. However, when I pass any command line arguments to the program, the behaviour of one of the functions changes mysteriously. I have...
2
1315
by: Jon Maz | last post by:
Hi All, Am I correct in assuming that the VS.Net Build Command (Ctrl + Shift + B) just internally invokes the command-line compiler that you would have to use if you didn't have VS.Net? And when you do compile using VS.Net, is there any way of seeing the compile commands it generates? TIA, JON
4
2343
by: Ryan Chavez | last post by:
Hello, I'm looking for information on handling command line arguments in my VB.NET (2003) application. What I have is an application that loads up a specific file type. What I want is when I double click the file icon it will launch the application and load up the information. Basically the same functionality as say Microsoft Word does when you double click on files of .doc type. Also is it possible in VB.NET to have just one instance of an...
5
3403
by: clsmith66 | last post by:
I've been asked to find out if a project is possible, but I'm not having much luck finding the information I need, I hope some one can help. I need to see if I can build a windows service on the fly customized to a specific client. Is it possible to run the VS command line tool through another application (VB.NET)? I'm thinking I can run the tools as a process and pass the necessary parameters to the process, but I'm not sure how to go...
8
1297
by: matt | last post by:
hello, i work on a private enterprise intranet. we now have a business need for opening other desktop applications, from my web app's click events. (my application is not entirely complete, so when user's click some of the absent-functionality, we need the desktop app to fire up). some of these apps are started via the command-line. is this possible? i imagine so, even if it meant working w/ ActiveX controls or whatnot.
4
2115
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi, I am writing a command line application and I would like to implement a functionality similar to the "!" command in ftp.exe (that comes with most windows distros) so that I can leave my application running on the background and return to the cmd prompt, then I can come back to my application by typing "exit" any ideas?
0
1150
by: SCastro | last post by:
I can't remember the command line/code which has a "-1" to cause any alert/information window to not pop-up when you run a report.
0
8413
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8324
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8740
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8617
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7352
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2742
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.