CloseBrowser

Web function.

The CloseBrowser function closes the previous open instance of the browser.

Usage

CloseBrowser closes only the previous instance of the browser. To close all the browser windows, use KillApp("IEXPLORE.EXE",1)

Syntax

CloseBrowser()
or
Ret=CloseBrowser()

Parameter

None

Return value

Ret, numeric return code. When the browser has been closed correctly, the function returns 0. The return code is -1 if no browser has been opened with the StartBrowser function - use this return code for Error Handling.

See also

StartBrowser

Example

 

CloseBrowser()