How to take your PowerBuilder application to the web

How to take your PowerBuilder application to the web

Adopt Thinfinity VirtualUI, and migrate your PowerBuilder application to the web without rewriting the whole code. 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.

If you want to test it first download a demo here


How to convert powerbuilder to web application


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.
  1. 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
 
  1. 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:
VirtualUI = CREATE OLEObject
VirtualUI.ConnectToNewObject('VirtualUI.VirtualUI')
VirtualUI.Start(30)

 


 
  1. Now we just have to build this application, load it to the Thinfinity VirtualUI Server Manager, and you’ll be ready to go.
Powerbuilder is a trademark property of Novalys.

If you have any further inquiries or need additional support, please do not hesitate to reach out to us. Our team is always available to help address any questions or concerns you may have.
    • Related Articles

    • How to Publish an Application in Thinfinity VirtualUI Server

      Product: Thinfinity VirtualUI Version: 3 and above Introduction This step-by-step tutorial will guide you through the process of virtualizing your applications and making them accessible from any web browser using Thinfinity VirtualUI. Get ready to ...
    • How to take your Delphi application to the web

      Take your software written in Delphi to web, in minutes! In this article, we will show you how to adapt your Delphi application, Windows-based, so you can run it in the cloud (as if it was 100% HTML5) with Thinfinity VirtualUI. If you’re new to ...
    • Convert your Microsoft Access application to a Web Application

      Microsoft Access is a database management system (DBMS) from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft Office suite of ...
    • Thinfinity VirtualUI: Publishing an Application

      Product: Thinfinity VirtualUI Version: 3 and above Introduction Thinfinity VirtualUI is a software solution designed to facilitate web integration for Windows-based applications. This guide will walk you through the process of getting started with ...
    • How to run a WinForms Application Inside the Web Browser

      Do you have a WinForms (C#) application that you wish to publish on the web? Thinfinity® VirtualUI allows you to convert WinForms to web application by adding a small line of code to your C# application so it can then be accessed from any OS and ...