Application Object
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;
Returns the status code for the passed URL.
Description
See the
Example
HideProgress
Syntax
HideProgress();
Hides the progress bar.
Description
Example
function Main() {
with (Application){
}
}
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
Example
function Main() {
Var sSource;
with (Application) {
if (HTTPProvider.State == 0){
HTTPProvider.URL = InputBox(VersionText, "Please Enter the URL.",
HTTPProvider.Get();
sSource = '';
NewDocument (false);
sSource = GetURL(sURL);
example.
GetURLResponse
HideProgress();
// Hides the progress bar
,
or
tags, and retains the case of attribute values.
style
comment
"http://www.yahoo.com");
// Perform HTTP Get Request
//Open a new document inside the currently
utilized application
sSource = HTMLConvertTagCase (sSource, true);
// Converting the tags to upper case.
213
Need help?
Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?