i have the functions RegCreateKey and RegSetValue but what about RegGetValue? where can i get that or something that does that?
Printable View
i have the functions RegCreateKey and RegSetValue but what about RegGetValue? where can i get that or something that does that?
click on the link to download the project files
http://mojoprograms.virtualave.net/registry.zip
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.