Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading Windows REGISTRY Key (URGENT)
Message
From
27/01/2003 20:24:57
Jason Dalio
Northern Interior Regional Health Board
Prince George, British Columbia, Canada
 
 
To
27/01/2003 20:13:35
General information
Forum:
Visual Basic
Category:
Windows API functions
Miscellaneous
Thread ID:
00745647
Message ID:
00746056
Views:
23
In your references check the Registry Access Functions (this uses the regtool5.dll). The in your code you can read a value with the following:
Private Sub Form_Load()
Dim ReadStatus As Boolean
Dim ReadValue As String

    ReadValue = ""
    ReadStatus = GetKeyValue(HKEY_LOCAL_MACHINE, "Software\NHA\Workload\Settings", "LastUserID", ReadValue)
    Debug.Print ReadValue

End Sub
Previous
Reply
Map
View

Click here to load this message in the networking platform