Public Function GetProfileInt( _ ByVal vKeyName As Variant _ , Optional ByVal vDefault As Variant _ , Optional ByVal vSectionName As Variant _ ) As Variant
Assuming Dim estWAPI As New WindowsAPI estWAPI.ProfileSectionName = "Sample Section" estWAPI.WriteProfileInt("Major Version", 5) = True for example estWAPI.GetProfileInt("Major Version") = 5See also:
GetProfileString Function GetProfileSection Function WriteProfileString Function GetPrivateProfileInt Function ProfileSectionName Property GetProfileInt Function (Windows API)vKeyName: Name of the numeric setting whose value is to be retrieved. Function returns Null if vKeyName is Null or cannot be fixed-up to a String.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.