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.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...