Re: Any Easiest medhod to read, write, modify system registery value.
Originally Posted by nilesh16782
hi..
What is the easiest way to create, delete and modify the system registery.
Is any another suitable option of system registery??
Why would you want to create or delete the registry
If you've installed VB6 from VS6 with the right options, you may have also installed "Registry Access.bas" in the "....\Template\Code" directory. You can easily add it to your project from VB6's "Tools > Add Code Snippet" menu. Other than that, search the forum, my previous posts and the CodeBank.
EDIT: An alternative to the registry for program settings is an INI file.
Last edited by schoolbusdriver; Oct 10th, 2007 at 04:15 AM.
Re: Any Easiest medhod to read, write, modify system registery value.
Originally Posted by M+++
Use savesettings / getsettings to use system registry .
-Maddy
your method can only save value in "vb & vb application" section of registry..
How can i easily create a new registry in HKEY_LOCAL_MACHINE\software\mysection ??
Plz help me??
Re: Any Easiest medhod to read, write, modify system registery value.
Originally Posted by Hack
Please do not ask the same question in multiple threads. Your duplicate of this question has been deleted.
Do you have that .BAS file?
Sorry for the delay in replying, my ISP, Virgin media, has been tryng to correct "area connection problems" since last friday. It took an irate phone call to get my connection back. But to business:
Yes, there are 2 files that were installed with VS6. "Load Resources.bas" & "Registry Access.bas". They're not comprehensive . There are NO copyright notices in the code (or even in the procedure attributes). This is the registry code. It's a tiny bit too big to post just the code, so it's here as an attachment. (I can post the other if required).