Can you convert a VB6 Application to a VB6 web app? Yes, you can!

Can you convert a VB6 Application to a VB6 web app? Yes, you can!

While some discuss if Microsoft Visual Basic 6.0 is still active, we agree with Tim Anderson’s opinion (click here to read the full article): “VB will stick around for a while. It is still the macro language of Microsoft Office – and yes, this is essentially the VB 6.0 variant, still included in Office 2016, though it is called Visual Basic for Applications.”The present blog post is all about taking your old apps to the cloud. Those legacy apps are useful and robust and users love them. But these same users are now migrating to web environments. Can you put a VB6 Application on the web? Yes, you can!

We will show you how to adapt your VB6 application so you can publish your app to the web with Thinfinity® VirtualUI.
Find below the link to download 2 examples:

First, we will see how to start the app in the development environment using ‘DemoVB6’.
To run the app you have to create VirtualUI object like this:
Private Sub Form_Load()
Set VUI = CreateObject(“VirtualUI.VirtualUI”)
VUI.DevMode = True
VUI.DevServer.Port = 6080
VUI.DevServer.Enabled = True
VUI.Start (60)


End Sub

Bear in mind you might need to register VirtualUI’s library. In order to do so, open command prompt as administrator and call VirtualUI’s dlls with the command ‘regsvr32’ like this:
C:\Program Files\Thinfinity\VirtualUI\bin64>regsvr32 Thinfinity.VirtualUI.dll
C:\Program Files\Thinfinity\VirtualUI\dev\bin64>regsvr32 Thinfinity.VirtualUI.dll
After you run the application you should see that VirtualUI’s development server will show on your system tray:

Now you should be able to see the app running in the desktop and in the browser.

Left-Click it and hit ‘Open Web Browser’.
To publish your app in the “prod” server manager you just have to comment the following lines:
VUI.DevMode = True
VUI.DevServer.Port = 6080
VUI.DevServer.Enabled = True
Like this:

Now you can build the .exe of the app and add it to VirtualUI’s server manager.

Would you like to have a private demo? There’s no compromise and no cost. We will be happy to show up our solutions to you and your team. Contact us to get a demo. We will schedule a moment at your earliest convenience.

Have any questions?

Book a call today to learn more about how Thinfinity® can help your organization. We are always available to guide you and provide the best solution based on your specific needs.

6 Comments

Alsadig
Reply
February 12, 2023 at 10:26 pm

I’m still surprise is it posible to do do. I will try. After that you will have my reply.

    Mariana
    Reply
    February 22, 2023 at 6:10 pm

    Hi Alsadig!
    Thinfinity VirtualUI it’s a fantastic solution when you need to convert vb6 apps to web. You will find it as easy as adding a small piece of code to your VB6 application. The resulting app can be run on any browser like Google Chrome, Edge, Safari, etc.
    Feel free to contact us if you need tech support. We will be happy to guide you.

Mariana
Reply
October 23, 2019 at 7:35 pm

Hola Claudio!
Acabo de enviarte un email.
Si no lo recibes puedes escribirme a [email protected]
¡Gracias!

Claudio
Reply
October 21, 2019 at 9:19 pm

Hola Mariana, me gustaría saber más y evaluar si se ajusta a lo que busco. Favor contactame.

Mariana
Reply
July 4, 2019 at 1:38 pm

¡Hola Carlos! VirtualUI será una solución perfecta para ti para publicar en la web tus aplicaciones VB6.
Te enviamos un email porque no pudimos comunicarnos por teléfono al numero que nos dejaste.
¿Podrías escribirme a [email protected]?
¡Gracias!

Carlos Valente
Reply
July 3, 2019 at 4:56 am

wow, ssludos estoy interesado en la solucion vb6 to web, soy desarrollador vb6 y mysql, necesito su solucion para potenciar mis desarrollos y volvrrlos aplicaciones web, favor comuniquense conmigo si es posible en español.
saludos cordiales
Carlos Valente
595 981132188

Add Comment

Thinfinity_logo

Get a Demo

Experience how Universal ZTNA with Thinfinity® integrates with VDI and DaaS for unmatched security and flexibility.

Blogs you might be interested in

<span>Application Modernization</span>, <span>Developer</span>, <span>HTML5 Conversion</span>, <span>SDK</span>, <span>Secure Application Delivery</span>, <span>Thinfinity VirtualUI</span>, <span>VB6</span>