Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Syntax 1: For the application object – PB Docs 2021 – PowerBuilder Library

Syntax 1: For the application object – PB Docs 2021

Syntax 1: For the application object

Description

Occurs when the user starts the application.

Event ID

Event ID

Objects

None

Application

Arguments

Argument

Description

commandline

String by value. Additional arguments are included
on the command line after the name of the executable
program.

Return Values

None (do not use a RETURN statement)

Usage

This event can establish database connection parameters and open
the main window of the application.

On Windows

You can specify command line arguments when you use the Run
command from the Start menu or as part of the Target specification
when you define a shortcut for your application.

There is no way to specify command line values when you are
testing your application in the development environment.

In other events and functions, you can call the CommandParm
function to get the command line arguments.

For an example of parsing the string in commandline, see CommandParm.

Examples

This example populates the SQLCA global variable from the
application’s initialization file, connects to the database, and opens
the main window:

See also

Close


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x