nca_webtoolkit


Ancestor

nonvisualobject

Library

pbcommon.pbl

Description

This web toolkit is used for interaction with web type applications, such as launching a URL in a browser from within PB.

Usage

This object is autoinstantiate, declare it and call the functions you want.

Author

Ken Howe

Model

nca_webtoolkit
(none)
executewebpage (string as_url)
openwebpage (string as_url)

Functions


executewebpage

Description This function will execute a URL, if a web browser is already open then the URL will be shown in that browser window, else a new browser session is started. Makes use of a 32bit API call.

Return integer

Access public

Arguments
Argument DataType Description
as_url string The URL you want to execute

Usage nca_WTK.ExecuteWebPage( 'http://www.pbdr.com' )


openwebpage

Description This function will use the registry to findout the default browser and will execute that program passing the URL as a command line parameter.

Return integer

Access public

Arguments
Argument DataType Description
as_url string The URL you want to execute

Usage nca_WTK.OpenWebPage( 'http://www.pbdr.com' )


Structure List

(none)

Local External

FUNCTION long ShellExecuteA( long hWnd, REF String ls_Operation, REF String ls_File, REF String ls_Parameters, REF String ls_Directory, INT nShowCmd ) library 'shell32'


Generated by PB2HTML. ( Unregistered Version )