Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delcare function for VB6.0
Message
De
08/06/2001 09:18:33
 
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00516646
Message ID:
00516844
Vues:
15
>>what is the proper command for reading and writing from an INI file using the declare statements
>>
>>i'm using
>>declare function GetPrivateProfileString Liv "Kernel" (arglist) originally from VB3.0 and now converting to 6.0?
>>i know i need to look for Kernel32 now but what is access string?
>
>Something like this:
>
>
Declare Function GetPrivateProfileString Lib "kernel32" _
>                 Alias "GetPrivateProfileStringA" _
>                 (ByVal lpApplicationName As String, _
>                  ByVal lpKeyName As Any, _
>                  ByVal lpDefault As String, _
>                  ByVal lpReturnedString As String, _
>                  ByVal nSize As Long, _
>                  ByVal lpFileName As String _
>                 ) As Long
>Declare Function WritePrivateProfileString Lib "kernel32" _
>                 Alias "WritePrivateProfileStringA" _
>                 (ByVal lpApplicationName As String, _
>                  ByVal lpKeyName As Any, _
>                  ByVal lpString As Any, _
>                  ByVal lpFileName As String _
>                 ) As Long
Thank you for the info, is there a site that lists all possible entry commands for kernel and User?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform