IntControl 50

Syntax:

IntControl (50, p1, p2, 0, 0)

 

Controls whether "Go to web page" button is added to WIL error boxes.

p1  Meaning

-1  Don't change (return current setting)

0  Remove "Go to web page" button from error boxes. 

1  Add "Go to web page" button to error boxes (default). 

 

When an error occurs in a WIL program an error message box is displayed. Prior to display, WIL checks the system to see if a Web browser has been configured; if so, a "Go to Tech Support Web Page" push-button is added to the error message box. When pressed, the button launches the Web browser and opens to the Wilson WindowWare Tech Support Web Page.

IntControl 50 prevents the "Go to Tech Support Web Page" button from being added.

Returns previous setting.

 

p2  Url

default "http://www.winbatch.com/

user defined "http://www.domain.com"

 

p2 can specify the URL of the web page to be launched when the user clicks on the "Go to Tech Support Web Page" button. If p2 is "" or 0, no change is made to URL that is currently set. The default is:

 

IntControl(50, 1, "http://techsupt.winbatch.com/", 0, 0)