powerbuilder

PowerBuilder database connection pool? How-to

How to make database connection pool in PowerBuilder (v9+) with... ...ODBC? ...SQL Server? ...Oracle? ...

How do you add a superscript character into a Powerbuilder textbox?

Is there any way to do this in the Powerbuilder properties window for a datawindow's textbox? ...

How to upgrade PowerBuilder code?

I have code from PowerBuilder 5 that can't be built. The compiler just stops before it is done without any error codes. I would like to upgrade the code to the recent version of PowerBuilder but there are some intermediate versions of PowerBuilder that have binary dependencies to an old Microsoft java dll that Microsoft no longer can di...

Return custom structure from Popup window in Powerbuilder 9.0

How do you return values or structures from a Popup window in Powerbuilder 9.0? The CloseWithReturn is only valid for Response windows and thus is not available. When I set a value to the Message.PowerObjectParm, the value becomes null when the Popup window closes. I need to use a Popup window so the user can click back to the caller win...

PowerBuilder Runtime Packager error: Linking Msi for PowerBuilder.NET runtime get an error.

I've just installed PowerBuilder 11.5. I'm trying to use the PowerBuilder Runtime Packager that comes with it to create an MSI with the PowerBuilder runtime DLLs. But when I hit create, about a third of the way through I get the error "Linking Msi for PowerBuilder.NET runtime get an error." (The poor English is verbatim.) This happens ...

Attach labels to items in TFS from the PowerBuilder IDE?

We do this using the 'Advanced' button on the checkin dialog now (with Merant, nee PVCS) but the 'Advanced' button is disabled when I set TFS as my SCC provider. Is there a switch we can flip on either side to enable this? Or do we need to write some custom extension? Or can I get the TFS changeset number to associate with the change...

PowerBuilder app with embedded database?

Is it possible to use e.g. SQLite with PowerBuilder? I need an embedded open source database (no additional costs). ...

How to generate the Symbols file of a PowerBuilder program for dump analysis?

How to generate the Symbols file of a PowerBuilder program for dump analysis? ...

Powerbuilder Date Math

How do I subtract 30 days from a date in PowerBuilder? I have the following code that returns today's date in a parameter, but I need today - 30 days: dw_1.setitem(1, "begin_datetime", datetime(today(), Now())) ...

COM Control colour(color) bug/problem when embedded in PowerBuilder

We have built some .NET controls, and we are using them as COM controls in a PowerBuilder application. They (mostly) consist of controls with other controls on them, some other of our custom controls, some from DevExpress. All of ours inherit from a common base - and this has the DevExpress LookAndFeel control on to ensure that we can e...

How do I call a Pb generated native Win32 dll from .Net? Or from anywhere else?!

I have been trying to link to Pb (11.5) generated native Win32 dlls: both from a different Pb app and from a .net (2.0) app. I am aware that registered COM objects are visible to Pb. What I want to do is have Pb (running 11.5 Enterprise) call functions in a native Win32 dll--not COM. I also want to go the other way: I want a Win32 exe...

Check if a file is open from another process

How do I check if a file is already used by another process from Powerscript ? ...

Powerbuilder - Update Powerscript on Datawindow

I am updating a datawindow with the Update function, which returns 1 to say it is successful, but then the SQLNRows is coming back as 0. When I do this for the first time on my screen, it works, with 1 successful and SQLNRows 1, but when I do a second update on the same screen without closing it inbetween i get 1 successful and SQLNRows...

Deploy Power Builder application

Hi, I'm trying to deploy the examples project that comes with Power Builder 9 IDE to an .exe file. Full build - passed successfully. Deploy - fails with the following error: "The current library list is different than the library list contained within this project. The project library list has been updated. specify build options fo...

C# com in PowerBuilder

This is my set up C# application - Sample.exe C# control exposed for com which hosts the C# application PowerBuilder instantiates C# control PowerBuilder destroys C# control which in turn gets to the Dispose method of the c# control The dispose method uses Process class to destroy the C# application or it should. This is where I have a...

Looking for a Regular Expression extension

Hi, I'm looking for a Regular Expression library I can use in our application, which is written in PowerBuilder (PB has some RegEx functionality, but it's too limited for my needs). Required characteristics are: interface: COM or exported functions (can't use exported classes) Unicode Free Production ready Any suggestions where can ...

PowerBuilder (PBOrca) automated builds

Hello, I have a working automated build process for our PowerBuilder app running every night. The resource I used to set this up was http://dm.char.com.ua/pb/pborca.htm. It's not clear to me whether PBOrca is an officially supported tool or who is in charge of it (is it the gentleman who runs the linked site?). I downloaded it from t...

User DSN & System DSN - How to choose System???

Scenario: Our install package used to add User DSN. We changed this to install System DSNs due to Terminal Servers and Citrix. The problem is that some of these old User DSNs are floating around, and our application automatically chooses the User before the System and the connection info has changed as we upgraded server software. I g...

PowerBuilder for a Java programmer?

A friend of mine uses in his company an ERP software written in PowerBuilder. Unfortunately the (one and only) developer is going into retirement soon. My friend really likes the software and wants to keep using it for at least ten more years, so my friend decided to buy the source code. He wants to start a business to maintain the soft...

An alternative IDE for Sybase Powerbuilder

Does anyone know of an alternative IDE for Sybase Powerbuilder? It feels pretty clunky, after working with VS2008 and Eclipse. If not, has anyone successfully worked with this language outside the IDE? I'm not against using a simple text editor, but I find edit-import-regenerate-test-export-edit is clunkier than simply using the Powerb...