What is the best way to access the registry? I've always used WScript.Shell, but should I use API to access it?
Thanks,
Sir Loin
Printable View
What is the best way to access the registry? I've always used WScript.Shell, but should I use API to access it?
Thanks,
Sir Loin
Why don't you look into "getsetting" and "Savesetting"
There is a whole bunch of registry APIs so go to allapi.net and download few utilities with samples.
Here is a module that you can use to read and write to anywhere from the registry.
Thanks! I'm going to have to learn how to use API to access the registry because on one of my computers I can use "WScript.Shell" because I get a "ClassFactory" error. I think my virus scanner deleted "Wshom.ocx" and I think that is needed in order to use Windows Script Host Object Model...
Thanks,
Sir Loin
Here is a sample that doesn't use that module, but shows you how to get info from the registry.
Thanks! ;) oops...the ;) face is pretty gay....:) there....