Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Windows REGISTRY Key (URGENT)
Message
De
27/01/2003 20:24:57
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
 
À
27/01/2003 20:13:35
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00745647
Message ID:
00746056
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform