Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Accessing Windows Registry

5 REPLIES 5
Reply
Message 1 of 6
pdriley
213 Views, 5 Replies

Accessing Windows Registry

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
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: pdriley

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
Message 3 of 6
pdriley
in reply to: pdriley

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
Message 4 of 6
Anonymous
in reply to: pdriley

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
>
Message 5 of 6
Anonymous
in reply to: pdriley

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
Message 6 of 6
Anonymous
in reply to: pdriley

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report