Application object
241
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 uppercase.
Summary of Contents for HOMESITE
Page 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Page 12: ...xii Contents...
Page 20: ...xx About This Book...
Page 28: ...8 Chapter 1 Setting Up the Product...
Page 70: ...50 Chapter 4 Managing Files...
Page 88: ...68 Chapter 5 Writing Code and Web Content...
Page 116: ...96 Chapter 6 Editing Pages...
Page 148: ...128 Chapter 7 Using Web Development Languages...
Page 190: ...170 Chapter 11 Deploying Files...
Page 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Page 216: ...196 Chapter 13 Extending the Help System...
Page 350: ...330 Glossary...
Page 358: ...338 Index...