Command line switches

G

Guest

Access 2000

Is there a command line switch that will bypass any startup forms (ie the
equivalent of holding down the shift key)

Thanks in advance
Simon
 
G

Guest

Laziness!!!

I was just going to put the switch in my short cut for when I need to open
my mdb for development

Thanks for the info TC
 
C

Craig Alexander Morrison

Use the /cmd to pass a value to a StartUp routine using the Command function
you can query the value passed from the command line.

On Windows Explorer File Type you can add and command for your MDB/MDE etc
to pass this parameter or indeed to Compact, Decompile or use the Runtime
switch.

Use a fake StartUp form, I use a single pixel blank form and the OnOpen
event immediately passes control to a StartUp routine and in that routine
you could check for the value in the /cmd parameter and then open the true
StartUp form or not as the case may be.

Just a suggestion....
 
S

SusanV

Wouldn't it save even more effort to simply hold down the shift key when
opening for dev?

;-)


--
hth,
SusanV


Simon Cleal said:
Laziness!!!

I was just going to put the switch in my short cut for when I need to open
my mdb for development

Thanks for the info TC

TC said:
Not to my knowledge.

Why do you want to suppress the startup form?

HTH,
TC [MVP Access]
 

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