Message 1 of 3
Why won't this getsetting code work?

Not applicable
08-28-2002
04:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been trying to retrieve the default plotter setting from the registry as follows...
Pltr1 = GetSetting("HKEY_CURRENT_USER\Software\Autodesk", "AutoCAD\R15.0\ACAD-1:409\Profiles\commodore\General", "DefaultConfig", "NUTTIN")
I can not get it to return "HP5P" which is the value of that key. It only returns "NUTTIN" (or "" if getsetting default is removed). What am I doing wrong?
P.S. I am a VBA Virgin so be gentle with me!
John
Pltr1 = GetSetting("HKEY_CURRENT_USER\Software\Autodesk", "AutoCAD\R15.0\ACAD-1:409\Profiles\commodore\General", "DefaultConfig", "NUTTIN")
I can not get it to return "HP5P" which is the value of that key. It only returns "NUTTIN" (or "" if getsetting default is removed). What am I doing wrong?
P.S. I am a VBA Virgin so be gentle with me!
John