d is htmlDocument = HTMLOpen("https://www.windev.com", fromURL)
Syntax
<Result> = HTMLOpen(<HTML source> [, <Type of source>])
<Result>: htmlDocument variable
htmlDocument variable that contains the specified source.
<HTML source>: Character string
HTML document to load. The content of this document depends on the <Type of source>.
<Type of source>: Optional Integer constant
How the source is to be interpreted. The available constants are as follows: | |
fromFile | The <HTML source> is a file path. The HTML content is loaded from this file. |
fromString | The <HTML source> contains the actual HTML elements. |
fromURL | The <HTML source> is a URL. The HTML content is retrieved from this URL. |
If this parameter is not specified, the type of the source is automatically inferred according to the content of the <HTML source>:- If the <HTML source> starts with "http://", the fromURL constant will be used.
- If the <HTML source> starts with a drive letter or a UNC path, the fromFile constant will be used.
- In all other cases, the fromString constant will be used.
Business / UI classification: Business Logic