How to take your PowerBuilder application to the web

In this quick tutorial, we’ll learn how to integrate a PowerBuilder application with the Thinfinity VirtualUI Libraries to run your PowerBuilder apps on any web browser HTML5 compliant.

It is a straightforward process that involves just a couple of steps, so it won’t take you longer than 30 mins to enable your PowerBuilder App to be published.
First of all, we need to create the OleObject, connect it to VirtualUI, and call the Start().
This OleObject variable needs to be part of the Global Variable; otherwise, the application will crash.
To do this, just right-click on your “open” event, click edit, declare a Variable, and make this a Global Variable.

Migrate your PowerBuilder app to HTML5

Now we need to link this OleObject with VirtualUI and call the Start()
To do this, we just need to type these lines right at the beginning of our code:

Migrate your PowerBuilder app to web

    VirtualUI = CREATE OLEObject
    VirtualUI.ConnectToNewObject(‘VirtualUI.VirtualUI’)
    VirtualUI.Start(30)

Now we just have to build this application, load it to the Thinfinity VirtualUI Server Manager, and you’ll be ready to go.

Should you have any questions, contact us at support@cybelesoft.com or leave a message on this same post.

Related Posts

Comments (2)

I have the programs, that are on the cloud accessed with remote desktop connection. It allows me and my son to access our main business programs that were put on the remote virtual desktop of “Infosaic”./ All data, scanned documents, everything thing, office, everything but quicken.

Is this the type of service you provide. If so, at what cost.

thanks

Hi Elliott!
If you need remote desktop + file sharing + app publishing all-in-one within a web browser, then you should try our Remote Desktop Server:
https://www.cybelesoft.com/thinfinity/remote-desktop/server/

I would like to call you to consider your needs and see how to offer you a nice solution pack.
Email me your contact information to: mariana@cybelesoft.com

Cheers!
Mariana

Leave a comment