dbTalk Databases Forums  

Acc2007: Setoption "Color scheme" possible?

comp.databases.ms-access comp.databases.ms-access


Discuss Acc2007: Setoption "Color scheme" possible? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Arno R
 
Posts: n/a

Default Acc2007: Setoption "Color scheme" possible? - 06-30-2010 , 01:41 PM






Hi all,

Sorry... I don't know if 'color scheme' is the right option that I want since I am using a Dutch version of Access...

I would like to programmatically set the Access option for the color scheme to be used.
I would use Application.Getoption (to set the option back) and Application.SetOption
I can find the exact wording of lots of access options in the help, but I fail to find this one.
Any ideas?

Thanks, Arno R

Reply With Quote
  #2  
Old   
Arvin Meyer
 
Posts: n/a

Default Re: Acc2007: Setoption "Color scheme" possible? - 06-30-2010 , 06:46 PM






I'm pretty sure that you have to use a Form Template to set default design
options for forms. So add a template form to the database and use:

Application.SetOption ("Form Template = My Form")

I'm not sure where the quote go, so experiment a little)

--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access
Co-author: "Access 2010 Solutions", published by Wiley


"Arno R" <arracomn_o_s_p_a_m (AT) planet (DOT) nl> wrote

Quote:
Hi all,

Sorry... I don't know if 'color scheme' is the right option that I want
since I am using a Dutch version of Access...

I would like to programmatically set the Access option for the color
scheme to be used.
I would use Application.Getoption (to set the option back) and
Application.SetOption
I can find the exact wording of lots of access options in the help, but I
fail to find this one.
Any ideas?

Thanks, Arno R


Reply With Quote
  #3  
Old   
Arno R
 
Posts: n/a

Default Re: Acc2007: Setoption "Color scheme" possible? - 07-01-2010 , 06:43 AM



Thanks Arvin but I a not looking to set a form template...

I am looking to set the global Access option for the Color Scheme to use
In my Access 2007 version I can choose (popular options) Grey, blue and black and this affects all databases.
So because it affects all databases I also want to revert to the previous setting.
I just can't find the option-name.
Or maybe it's a registry-setting ??

Regards, Arno R


"Arvin Meyer" <arvinm (AT) invalid (DOT) org> schreef in bericht news:a6mdnU1xhLvNSrbRnZ2dnUVZ_rCdnZ2d (AT) earthlink (DOT) com...
Quote:
I'm pretty sure that you have to use a Form Template to set default design options for forms. So add a template form to the
database and use:

Application.SetOption ("Form Template = My Form")

I'm not sure where the quote go, so experiment a little)

--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access
Co-author: "Access 2010 Solutions", published by Wiley


"Arno R" <arracomn_o_s_p_a_m (AT) planet (DOT) nl> wrote

Hi all,

Sorry... I don't know if 'color scheme' is the right option that I want since I am using a Dutch version of Access...

I would like to programmatically set the Access option for the color scheme to be used.
I would use Application.Getoption (to set the option back) and Application.SetOption
I can find the exact wording of lots of access options in the help, but I fail to find this one.
Any ideas?

Thanks, Arno R




Reply With Quote
  #4  
Old   
Arno R
 
Posts: n/a

Default Re: Acc2007: Setoption "Color scheme" possible? - 07-01-2010 , 12:12 PM



I found the registry-setting:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\C ommon]
"Theme"=dword:00000003

This means the 'black theme'
(dWord 1 = blue and 2 is grey)

However
Application.SetOption "Theme", 3
fails

I guess I have to change the registry-setting in code to do what I want...

Regards, Arno R



"Arvin Meyer" <arvinm (AT) invalid (DOT) org> schreef in bericht news:a6mdnU1xhLvNSrbRnZ2dnUVZ_rCdnZ2d (AT) earthlink (DOT) com...
Quote:
I'm pretty sure that you have to use a Form Template to set default design options for forms. So add a template form to the
database and use:

Application.SetOption ("Form Template = My Form")

I'm not sure where the quote go, so experiment a little)

--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access
Co-author: "Access 2010 Solutions", published by Wiley


"Arno R" <arracomn_o_s_p_a_m (AT) planet (DOT) nl> wrote

Hi all,

Sorry... I don't know if 'color scheme' is the right option that I want since I am using a Dutch version of Access...

I would like to programmatically set the Access option for the color scheme to be used.
I would use Application.Getoption (to set the option back) and Application.SetOption
I can find the exact wording of lots of access options in the help, but I fail to find this one.
Any ideas?

Thanks, Arno R




Reply With Quote
  #5  
Old   
Banana
 
Posts: n/a

Default Re: Acc2007: Setoption "Color scheme" possible? - 07-01-2010 , 12:19 PM



On 7/1/10 10:12 AM, Arno R wrote:
Quote:
However
Application.SetOption "Theme", 3
fails

I guess I have to change the registry-setting in code to do what I want...
IINM, SetOptions and GetOptions are application-specific so for Access,
the only options you can change using those is whatever in the Access'
subkey (and Jet/ACE as well if you use DBEngine.XXXOptions instead of
Application.XXXOptions)

Sorry.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.