BBjAppConfig::setProgramName

Description

In BBj 12.0 and higher, this method sets the BBj program name.

Syntax

Return Value

Method

void

setProgramName(string program)

Parameters

Variable

Description

program

BBj program name.

Return Values

None.

Remarks

None.

Example

Click here to download a zip file containing the required files to run this sample


rem ' BBjAppConfig::setProgramName

app$ = "buisample"

admin! = bbjapi().getAdmin("admin","admin123")

appServer! = admin!.getWebAppServer()

appConfig! = appServer!.makeEmptyAppConfig()

appConfig!.setProgramName(dsk("")+dir("")+app$+".src")

print "setProgramName: ",appConfig!.getProgramName()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getProgramName

BBjAppServer

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.