Web.LoadURL

Web.LoadURL ( 

string ObjectName,

string URL )

Example 1

Web.LoadURL("Web1", "www.indigorose.com");

Loads "www.indigorose.com" into the "Web1" web object.

Example 2

Web.LoadURL("Forum", "http://www.indigorose.com/ubbthreads/ubbthreads.php");

Loads "http://www.indigorose.com/ubbthreads/ubbthreads.php" (which is the URL for the IndigoRose user forums) into the "Forum" web object.

Example 3

Web.LoadURL("Web1", _SourceFolder.."\\AutoPlay\\Docs\\index.html#intro");

Loads a local file named "index.html" into the "Web1" web object and navigates to the anchor named "intro" within that file.

Note: Since navigating to a named anchor within a file requires the full path, the global variable _SourceFolder is used.

See also:  Related Actions