Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delcare function for VB6.0
Message
From
08/06/2001 12:38:20
 
 
To
08/06/2001 09:18:33
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00516646
Message ID:
00517030
Views:
18
>>>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?


Nevermind, I found what i was looking for but Thanks for the information!!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform