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

Thread: Registry

  1. #1
    Join Date
    Feb 2000
    Location
    America
    Posts
    130

    Registry

    i have the functions RegCreateKey and RegSetValue but what about RegGetValue? where can i get that or something that does that?


  2. #2
    Join Date
    Feb 2000
    Location
    garden grove, california
    Posts
    64

    Re: Registry

    click on the link to download the project files
    http://mojoprograms.virtualave.net/registry.zip




  3. #3
    Join Date
    Nov 1998
    Posts
    4

    Re: Registry

    Public Declare Function RegQueryValue Lib "advapi32.dll" Alias "RegQueryValueA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal lpValue As String, lpcbValue As Long) As Long

    --- or ---

    Public Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long

    Either of these will return the value from a registry key.


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