Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Developer Toolkits / June 2008

Tip: Looking for answers? Try searching our database.

Reg key type

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zoli - 08 Apr 2008 12:16 GMT
Hi,
I would like to add registry keys in Access Developer Extensions to my appl.
It's described in http://msdn2.microsoft.com/en-us/library/bb501030.aspx very
well, but I can't set registry key type because type field is missing on
third page. (?!) (I can see only for fields: Root, Key, Name and Value)

Plase help me, how I can set Registry Key type in this case!
(Do I have to write VBA code to set it?)

Zoli
Albert D. Kallal - 08 Apr 2008 15:35 GMT
You don't actualy "set" the type, it based on how you enter the data:

eg:

ROOT:Local Machine
Key: SOFTWARE\Microsoft\Jet\4.0\Engines
Name:SandBoxMode
Value:#00000002

ROOT:Local Machine
Key: Software\Microsoft\Office\11.0\Access\Security
Name:Level
Value:#00000001

Note how the "#" before the number represnets REG_DWORD

The data types are outlined here:

http://msdn2.microsoft.com/en-us/library/aa371168.aspx

we see:

Prefix       #x
The value is interpreted and stored as a hexadecimal value
(REG_BINARY).

Prefix #%
The value is interpreted and stored as an expandable string
(REG_EXPAND_SZ).

Prefix #
The value is interpreted and stored as an integer (REG_DWORD).

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

Zoli - 09 Apr 2008 07:16 GMT
Thank you very much for your help! It was very usefull for me. I have been
looking for this information for hours but couldn't find the article you
mentioned.

Z

> You don't actualy "set" the type, it based on how you enter the data:
>
[quoted text clipped - 28 lines]
> Prefix #
> The value is interpreted and stored as an integer (REG_DWORD).
KRYSTAL - 23 Apr 2008 22:00 GMT
> Hi,
> I would like to add registry keys in Access Developer Extensions to my
[quoted text clipped - 9 lines]
> Zoli
>sex
KRYSTAL - 04 May 2008 20:45 GMT
sex
"KRYSTAL" <snelson41@hotmail.com> wrote in message news:...

>> Hi,
>> I would like to add registry keys in Access Developer Extensions to my
[quoted text clipped - 9 lines]
>> Zoli
>>sex
Daisypoo - 16 Jun 2008 00:42 GMT
U@r n f
> Hi,
> I would like to add registry keys in Access Developer Extensions to my
[quoted text clipped - 8 lines]
>
> Zoli
Daisypoo - 16 Jun 2008 00:43 GMT
you  are men

> Hi,
> I would like to add registry keys in Access Developer Extensions to my
[quoted text clipped - 8 lines]
>
> Zoli

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.