What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Accessing registry in VB

Accessing registry in VB
Author: Message:
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: Accessing registry in VB
You have to use the following API functions. Search them in Google where you'll sure find great examples of how to use them and detailed information about what each one does exactly.
code:
Private Declare Function RegOpenKeyEx Lib "advapi32.dll" _
        Alias "RegOpenKeyExA" ( _
    ByVal hKey As Long, _
    ByVal lpSubKey As String, _
    ByVal ulOptions As Long, _
    ByVal samDesired As Long, _
    phkResult As Long) _
As Long

Private Declare Function RegCloseKey Lib "advapi32.dll" ( _
    ByVal hKey As Long) _
As Long

Private 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

Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
08-29-2003 06:44 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Accessing registry in VB - by wipey on 08-28-2003 at 08:39 PM
RE: Accessing registry in VB - by Choli on 08-29-2003 at 06:44 PM
RE: Accessing registry in VB - by wipey on 08-29-2003 at 08:56 PM
RE: Accessing registry in VB - by wipey on 09-01-2003 at 06:30 PM
RE: Accessing registry in VB - by Choli on 09-01-2003 at 06:58 PM
RE: Accessing registry in VB - by wipey on 09-01-2003 at 10:10 PM
RE: RE: Accessing registry in VB - by Choli on 09-01-2003 at 10:47 PM
RE: Accessing registry in VB - by wipey on 09-02-2003 at 12:50 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On