nca_webtoolkit


Ancestor nonvisualobject

Hierarchy
nca_webtoolkit
nonvisualobject

Author None

Library clComp.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.

Model
nca_webtoolkit
None
ExecuteWebPage (as_url) returns integer
OpenWebPage (as_url) returns integer
PrintWebPage (as_url) returns integer

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
  • 1, Executed ok
  • -1, Execute failed
  • 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
  • 1, Executed ok
  • -1, Execute failed
  • Access public
    Arguments
    Argument DataType Description
    as_URL string The URL you want to execute

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

    PrintWebPage

    Description This function will print a URL, using the standard web browser.
    Return integer
  • 1, Printed ok
  • -1, Print failed
  • Access public
    Arguments
    Argument DataType Description
    as_URL string The URL you want to print

    Usage nca_WTK.PrintWebPage( 'http:www.pbdr.com' )
    Events None

    References
    UsesUsed By
    nca_webtoolkit
    nca_webtoolkit


    Document Generated: 2/6/00 20:43:07