RegObj.dll

RegObj.dll

Anonymous
Not applicable
202 Views
2 Replies
Message 1 of 3

RegObj.dll

Anonymous
Not applicable
This is probably a message for the Microsoft newsgroups, but a while back
someone recommended using reqobj.dll to find out where AutoCAD is located.
I am using this, and I love it for reading from the registry and even
changing values. What I do not see in this is how to create a new registry
key. If anyone knows how to do this in regobj.dll, I would really
appreciate the help, I can't seem to find it, and do not have the *.hlp
file.

Thanks,
----------------------------------------
Robert B. Brown
Lead Visualization Specialist
----------------------------------------
Autometric Inc.
http://www.autometric.com
0 Likes
203 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Check out the Add method of the RegKeys collection. You should be able to
use RegKeyFromString to get the parent of the key you want to add. Here's a
sample:

Dim rKey As RegKey
Set rKey = RegKeyFromString("\HKEY_CURRENT_USER\Environment")
rKey.SubKeys.Add "AddKey"
rKey.SubKeys("AddKey").Value = "Sample"

--
Visit AcadXtreme for a chance to win a copy of AutoCAD LT 2000
Contest ends 5/26/00
http://www.acadx.com

"Robert Brown" wrote in message
news:8F3D8B372rbrownautometriccom@167.216.240.240...
> This is probably a message for the Microsoft newsgroups, but a while back
> someone recommended using reqobj.dll to find out where AutoCAD is located.
> I am using this, and I love it for reading from the registry and even
> changing values. What I do not see in this is how to create a new registry
> key. If anyone knows how to do this in regobj.dll, I would really
> appreciate the help, I can't seem to find it, and do not have the *.hlp
> file.
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi Robert,
This file contains some documentation for regobj.dll.
Hope this helps,

- Adam

"Robert Brown" wrote in message
news:8F3D8B372rbrownautometriccom@167.216.240.240...
> This is probably a message for the Microsoft newsgroups, but a while back
> someone recommended using reqobj.dll to find out where AutoCAD is located.
> I am using this, and I love it for reading from the registry and even
> changing values. What I do not see in this is how to create a new registry
> key. If anyone knows how to do this in regobj.dll, I would really
> appreciate the help, I can't seem to find it, and do not have the *.hlp
> file.
>
> Thanks,
> ----------------------------------------
> Robert B. Brown
> Lead Visualization Specialist
> ----------------------------------------
> Autometric Inc.
> http://www.autometric.com
0 Likes