Re: Registry VB question
- From: "Bob Butler" <tiredofit@xxxxxxxxxx>
- Date: Wed, 8 Jun 2005 12:31:46 -0700
"vm" <vm@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:97499ABC-9C8F-
4381-81A2-7414B223DDD0@xxxxxxxxxxxxx
> Are there any shortcuts or tricks when working with registry in VB. In
> particular with Hkey_users -> S-1-5-…… for the current user is there
> anyway to reference the current logged in user or do we have to
> specify the entire userID?
HKEY_CURRENT_USER maps to HKEY_USERS\<currentSID>
Private Const HKEY_DYN_DATA = &H80000006
Private Const HKEY_LOCAL_MACHINE = &H80000002
Private Const HKEY_PERFORMANCE_DATA = &H80000004
Private Const HKEY_USERS = &H80000003
Private Const HKEY_CLASSES_ROOT = &H80000000
Private Const HKEY_CURRENT_CONFIG = &H80000005
Private Const HKEY_CURRENT_USER = &H80000001
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
.
- References:
- Registry VB question
- From: vm
- Registry VB question
- Prev by Date: Registry VB question
- Next by Date: Re: Registry VB question
- Previous by thread: Registry VB question
- Next by thread: Re: Registry VB question
- Index(es):
Relevant Pages
|