CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Registry entry

  1. #1
    Join Date
    Jan 2000
    Posts
    3

    Registry entry

    Hi
    I have a problem regarding making entries to the
    registry database. How do I chance the default
    section 'My Computer\hkey_current_user\software\
    vb and vba program settings' to ex.
    'My computer\hkey_current_user\
    software\myprogs\appname'

    Pleas help me out.



  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Registry entry

    That's the default area that the vb SaveSetting and GetSetting commands access. If you want to write to a different area of the registry, you'll need to read upon the Registry API calls.

    There's a good tutorial here http://www.vbtechniques.com/ar/regclass.asp that takes you through the building of a registry class.


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

  3. #3
    Join Date
    Jan 2000
    Posts
    3

    Re: Registry entry

    Thanx alot. I knew it was something like that, because there were no clues in the online help.


  4. #4
    Guest

    Re: Registry entry

    I have a pretty good class module which allows to do what you want. I could send it to you. My e-mail is [email protected]
    Vlad


  5. #5
    Join Date
    Jan 2000
    Posts
    3

    Re: Registry entry

    I'm glad you answered, but Chris Eastwood already
    gave me answers to my questions, see answer above
    but if you believe to have a better solution
    please email it to me, and you will get a star from me.
    please email me at : [email protected]

    Best regards


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

Featured