Results 1 to 7 of 7

Thread: Any Easiest medhod to read, write, modify system registery value.

  1. #1

    Thread Starter
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 2007
    Location
    India
    Posts
    104

    Arrow Any Easiest medhod to read, write, modify system registery value.

    hi..
    What is the easiest way to create, delete and modify the system registery.
    Is any another suitable option of system registery??

  2. #2
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: Any Easiest medhod to read, write, modify system registery value.

    Quote 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.

  3. #3
    New Member
    Join Date
    Oct 2007
    Posts
    4

    Re: Any Easiest medhod to read, write, modify system registery value.

    Use savesettings / getsettings to use system registry .

    -Maddy

  4. #4

    Thread Starter
    Lively Member nilesh16782's Avatar
    Join Date
    Feb 2007
    Location
    India
    Posts
    104

    Re: Any Easiest medhod to read, write, modify system registery value.

    Quote 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??

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Any Easiest medhod to read, write, modify system registery value.

    Do you have this .bas file?
    Quote Originally Posted by schoolbusdriver
    If you've installed VB6 from VS6 with the right options, you may have also installed "Registry Access.bas"

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Any Easiest medhod to read, write, modify system registery value.

    Please do not ask the same question in multiple threads. Your duplicate of this question has been deleted.

    Do you have that .BAS file?

  7. #7
    Fanatic Member schoolbusdriver's Avatar
    Join Date
    Jan 2006
    Location
    O'er yonder
    Posts
    1,020

    Re: Any Easiest medhod to read, write, modify system registery value.

    Quote 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).
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width