<-- Previous || Up || Next -->

Profile File Name Property
Windows API Class

Public Property Get ProfileFileName( _
    ) As String

Specifies the Private Profile (INI) file name that will be used by the Private Profile functions when their vFileName argument is missing or Null.
Get the current value of the ProfileFileName Property.

See also:
    ProfileSectionName Property

Public Property Let ProfileFileName( _
    ByVal vFileName As String _

Set the current value of the ProfileFileName Property.

       Dim estWAPI As New WindowsAPI
    for example
       estWAPI.ProfileFileName = "ESUnits.Ini"
       estWAPI.ProfileSectionName = "Entisoft Units"
       estWAPI.WritePrivateProfileString("Convert From", "5 kilometers") = True
Warning: Be careful about using this Property if your program employs multi-tasking and the profile functions can possibly be called simultaneously from different parts of your program.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.