Accessing Windows Registry

Accessing Windows Registry

Anonymous
Not applicable
378 Views
5 Replies
Message 1 of 6

Accessing Windows Registry

Anonymous
Not applicable
Is there a general way to access the Windows registry for read-only purposes? I am aware of the Visual BASIC SaveSetting etc functions, which allow an application to store parameters, but these don't reach the whole registry. Is there an ActiveX component that does the job?

Thanks,

Paul Riley
0 Likes
379 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Hi Paul,

You can write your own VB function. There are a lot of samples on the net.
Search for Windows API functions like:
RegOpenKeyEx
RegQueryValueEx
RegQueryInfoKey

My own function is already havy customized so I can't paste ready sample 😞

Adam

Take a look here: http://www.vbarchiv.net/vbapi/RegOpenKeyEx.php

*************

"pdriley" wrote in message
news:f167331.-1@WebX.maYIadrTaRb...
Is there a general way to access the Windows registry for read-only
purposes? I am aware of the Visual BASIC SaveSetting etc functions, which
allow an application to store parameters, but these don't reach the whole
registry. Is there an ActiveX component that does the job?
Thanks,
Paul Riley
0 Likes
Message 3 of 6

Anonymous
Not applicable
Adam,

Thanks. I managed to find a free registry ActiveX control. Its called WinRegistry2, or WinReg2.

I will look at your reference and try that way too.

Thanks,

Paul
0 Likes
Message 4 of 6

Anonymous
Not applicable
check out iCF for a bas module that I use. It's very easy to read or write
using this module...

--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
-----------------------------------------------------------------------
"pdriley" wrote in message
news:f167331.1@WebX.maYIadrTaRb...
> Adam,
> Thanks. I managed to find a free registry ActiveX control. Its called
WinRegistry2, or WinReg2.
>
> I will look at your reference and try that way too.
>
> Thanks,
>
> Paul
>
0 Likes
Message 5 of 6

Anonymous
Not applicable
There is also Microsoft's Regobject.dll
You can get it here

http://msdn.microsoft.com/vbasic/downloads/addins/default.aspx

--
Kent
Assistant Moderator
Autodesk Discussion Forum Moderator Program


"Sean Dotson" wrote in message
news:E767D1858E5CA95EC5EBFADBF8C69D62@in.WebX.maYIadrTaRb...
> check out iCF for a bas module that I use. It's very easy to read or write
> using this module...
>
> --
> Sean Dotson, PE
> http://www.sdotson.com
> Check the Inventor FAQ for most common questions
> www.sdotson.com/faq.html
0 Likes
Message 6 of 6

Anonymous
Not applicable
I'm sorry did you say Microsoft?

--
Sean Dotson, PE
http://www.sdotson.com
Check the Inventor FAQ for most common questions
www.sdotson.com/faq.html
----------------------------------------------------------------------------
------
"Kent Keller" wrote in message
news:EE5DD65C58239A0047C57984C5A27485@in.WebX.maYIadrTaRb...
> There is also Microsoft's Regobject.dll
> You can get it here
>
> http://msdn.microsoft.com/vbasic/downloads/addins/default.aspx
0 Likes