CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 1999
    Location
    Andhra Pradesh, India
    Posts
    3

    Registry key entries

    In my project I want to handle for Registry entries. i.e When ever I install my product for the first time I want to write some thing into windows registry editor. and when the user starts using the software, may be in the start up form I will check for the registry entry. If the registry entry is not available I will tell the user that the software is not registered properly.
    How to use the API functions for that, or is there any other way of doing that


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Registry key entries

    to write to the registry use the RegCreateKeyEx and RegSetValueEx APIs or VBA.SaveSetting(s).
    To read from the registry use RegOpenKey, RegQueryValue and Regclosekey or VBA.GetSetting(s).


  3. #3
    Guest

    Re: Registry key entries

    I have a pretty good clas to read and write to Registry. Send me E-Mail and I'll send it to you with an example how to use (part of my project). My E-Mail: [email protected]
    Vlad


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