A2003 Runtime Global Options

D

DBG

I have created an application which runs on the Access 2003 Runtime, is
installed using SageKey's MSI Wizard, and has been split into a FE / BE.

I've been investigating setting global options in the runtime, and in the
full version, both of which are on my machine. If I make a change in the
runtime (to Replace Text as you Type) for example, that change is also
reflected in the full version.

I am aware of and have read the article at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acglobaloptions.asp

My question is,

Is there a way to set options for the runtime version, which are not read by
the full version as well?

My concern is that changes I make could easily be undone by a user running
the full version.

Thanks,

-David
 
L

Larry Daugherty

I believe your global options are being set in your application, not
in the executable which runs it. You can use the
SysCmd(acSysCmdRuntime) True/False and use one set of code if the
runtime is executing and a different set of code if not.

HTH
 
D

DBG

Global options are set and saved in the registry, I have found the keys that
save the various values I am investigating. In essence I am looking for
someone to point me as to how I can make the Access Runtime use a separate
set of registry values I believe.

-David
 
L

Larry Daugherty

You might Google these Access groups on "registry keys" to find
examples.

HTH
 
L

Larry Daugherty

Hi,

One other afterthought but very imprtant. If you're going to mess
with registry values it's a good practice to read them first and to
restore them on exit. Also, be aware that the altered global values
may affect any concurrent Access applications that might run with your
runtime app. Nothing to stop a knowledgeable user from opening the
options and re-setting them. :)

HTH
 
D

DBG

Yes, thanks for the good tips :)

At this point I have been mostly planning to on startup read -> and then set
global values. Then on exit reset the values to their initial state.

My main concern is to help un-knowledgeable user from having auto-correct
clobber text.

Thanks,

-David
 

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