StateFileUser

Data Type: String

Default Value: WindowsSystemFolder\PDFCX.INI

Description: All the properties (except StateFileUser of course) associated with this component are saved to an INI file. You can specify which INI file to use. StateFileUser is always saved to the default file (WindowsSystemFolder\PDFCX.INI).

See also: SaveSettingsUser(), LoadSettingsUser()

Example:

Private Function LoadSettingsFile() As Boolean

If (FileExists(cbStateFileUser.Text) = False) Then

' Handle error

Call MsgBox("Settings File does not exist: " + cbStateFileUser.Text, vbOKOnly)

LoadSettingsFile = False

Exit Function

End If

pdfcx.StateFileUser = cbStateFileUser.Text ' Make sure we have the selected User State file

If (pdfcx.LoadSettingsUser = False) Then

LoadSettingsFile = False

Exit Function

End If

End Function