The LoadFile function loads a compatible document from a File object.
The LoadFile function creates a temporary file in the temporary Windows folder.
Syntax
Integer Browser.LoadFile(
File file)
File file)
Parameters
| file | File of the document. | Required |
|---|
Return value
The LoadFile function returns true.
If an error occurs, the LoadFile function returns false.
Example
File file new
file.Open("c:\index.htm")
myBrowser.LoadFile(file)
file.Open("c:\index.htm")
myBrowser.LoadFile(file)