User Guide

Application Object 213
GetURLStatus
Syntax GetURLStatus(const wsURL: WideString;
var vResponse: OleVariant): Integer;
Description Returns the HTTP status code for the passed URL. The text of the server response is
returned in the second parameter.
GetURLStatusCode
Syntax GetURLStatusCode(const wsURL: WideString): Integer;
Description Returns the status code for the passed URL.
Example See the
GetURLResponse example.
HideProgress
Syntax HideProgress();
Description Hides the progress bar.
Example
function Main() {
with (Application){
HideProgress(); // Hides the progress bar
}
}
HTMLConvertTagCase
Syntax HTMLConvertTagCase(const wsHTML: WideString;
const wbUpperCase: WordBool): WideString;
Description Boolean. Converts the case of the passed HTML string. Retains the contents of
script, style or comment tags, and retains the case of attribute values.
Example function Main() {
Var sSource;
with (Application) {
if (HTTPProvider.State == 0){
HTTPProvider.URL = InputBox(VersionText, "Please Enter the URL.",
"http://www.yahoo.com");
HTTPProvider.Get(); // Perform HTTP Get Request
sSource = ’’;
NewDocument (false); //Open a new document inside the currently
utilized application
sSource = GetURL(sURL);
sSource = HTMLConvertTagCase (sSource, true);
// Converting the tags to upper case.