Registry

J

jbc

Hi,

I recently upgrated from Windows 2000 to XP. I keep information in the
registry for Word and Access. HKey_Current_user/Software/VB and VBA Program
Settings.

I don't see the equivalent in XP. Is it called something else or do I
recreate it?

Thanks.

jbc
 
J

Jay Freedman

Hi,

I recently upgrated from Windows 2000 to XP. I keep information in the
registry for Word and Access. HKey_Current_user/Software/VB and VBA Program
Settings.

I don't see the equivalent in XP. Is it called something else or do I
recreate it?

Thanks.

jbc

I do see that key in my XP registry, but I'm not sure which program
created it. Obviously there can't be any harm in creating it yourself
if it doesn't exist yet.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
G

Graham Mayor

Interestingly that key does not appear in my registry (there is a VB entry).
There may be no harm writing your own entries to this key, but if some other
application uses the same settings (as your registry entry implies - if you
haven't created it yourself) then there is a minor potential for confict. I
would be inclined to create a unique key to hold the settings.

There is an example of writing and reading the data stored in a registry key
in the macro http://www.gmayor.com/save_numbered_versions.htm with a routine
to create the key and set a default value if it is not present (that someone
mentioned elsewhere in the thread may be a problem).

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
T

Tony Jollans

VBA will create the key when it needs to - Windows version is not an issue.

You don't have to explicitly do anything.
 
J

jbc

Hi,

Thanks for your suggestions. I ran code from Word that saved info to the
registry. It automatically created the VB and VBA Program Settings folder
for me. I guess it's not an automatic entry created by Microsoft.

Thanks for your help.

jbc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top