GenerateRegFile function – PB Docs 70
GenerateRegFile function Description Creates a file with registry update instructions for deploying a PowerBuilder object as an automation server. Controls PowerBuilder.Application (automation server) Syntax
|
1 |
{ <i>automationobject</i>.} <b>GenerateRegFile</b> ( <i>guid</i>, <i>classname</i>, <i>progid</i>, <br /> <i>majorversion</i>, <i>minorversion</i>, <i>description</i>, <i>outputfilename</i> ) |
Argument Description automationobject When PowerBuilder is the OLE client, the name of the OLEObject instantiated with the PowerBuilder.Application automation server. For other clients, use syntax appropriate for calling a function…
Programmable OLE Objects – PB Docs 70
Programmable OLE Objects You don’t need to place an OLE control on a window to manipulate an OLE object in a script. If the object doesn’t need to be visible in your PowerBuilder application, you can create an OLE object independent of a control, connect to the server application, and call functions and set properties…
Creating Help files – PB Docs 70
Creating Help files About Help authoring tools There are many authoring tools and related products available for creating online Help files on Windows. All of the authoring tools for RTF-based Help files use the Microsoft Help compiler to compile a set of source files into a finished Help file. What to include The source files…
Declaring instances of windows – PB Docs 70
Declaring instances of windows Because a window is actually a data type, you can declare variables of that data type, just as you can declare integers, strings, and so on. You can then refer to those variables in code. For example:
|
1 |
w_employee mywin |
declares a variable named mywin of type w_employee. Limitation of using variables When you…
Supported DBMS features when calling stored procedures – PB Docs 70
Supported DBMS features when calling stored procedures When you define and use a custom Transaction object to call remote stored procedures in your application, the features supported depend on the DBMS to which your application connects. The following sections describe the supported features for some of the DBMSs that you can access in PowerBuilder. Read…
Providing toolbars – PB Docs 70
Providing toolbars To make your MDI application easier to use, you can add toolbars with buttons that users can click as a shortcut for choosing an item from a menu. You can associate a toolbar with the MDI frame and a toolbar with the active sheet. This screen shows New, Print, and Exit buttons on…
Internationalization – PB Docs 70
Internationalization When you build an application for international deployment, there are user interface design issues you should consider. You also need to know about the support PowerBuilder provides for developing applications for specific languages and character sets. For more information see “International support”. User interface design There are two issues to keep in mind when…
Troubleshooting a distributed PowerBuilder application – PB Docs 70
Troubleshooting a distributed PowerBuilder application Testing locally Like a traditional PowerBuilder application, a distributed PowerBuilder application can be tested on a single computer. You can test your application by running it in a single process, either in test mode or debug mode, or by running a single executable (EXE) file. Alternatively, you can test the…
How the PowerBuilder COM object executes – PB Docs 70
How the PowerBuilder COM object executes To establish an instance of a PowerBuilder COM object, the PowerBuilder virtual machine (PBVM70.DLL) loads the custom class object from the PBD embedded in the COM server DLL and creates the proper session and instance information. When a client invokes a PowerBuilder COM object method, the method calls back…
Integrating generated classes with the PowerJ reference card – PB Docs 70
Integrating generated classes with the PowerJ reference card Because the JavaBeans proxy generator creates classes that are JavaBeans- compliant, you can register these classes for display on the PowerJ reference card. To integrate generated classes with the PowerJ reference card: Use the PowerBuilder Project painter to generate a bytecode (.class) file. In PowerJ, select Components>Add…