PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Creates an htmlDocument variable from an HTML document.
Example
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:
fromFileThe <HTML source> is a file path. The HTML content is loaded from this file.
fromURLThe <HTML source> is a URL. The HTML content is retrieved from this URL.
fromStringThe <HTML source> contains the actual HTML elements.

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
Component: wd270html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment