Skip to content

LoadFromFile Method

Description

Loads layout information from an XML file into the PropExchange object.

Syntax

Public Function LoadFromFile( _
    ByVal [Path] As String _
) As Boolean

Parameters

  • Path: Path to the XML file to load.

Return Type

Returns True if the file was successfully loaded; False if there was a problem loading the file.

Remarks

A call to DoPropExchange should be made after successfully loading information from a file. This will update the control with the information.

Note: LoadFromFile only loads XML files. The XML string will be stored in the Value property.

To load information from a binary file or the system registry, use the CreateAsBinary and CreateAsRegistry methods, passing in True for the Loading parameter.

See Also

Example

LoadFromFile Sample


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.