How to run VB.Net software as a web application from any browser

VB .Net logo

Have a VB.Net application and want to run it on the web? Thinfinity VirtualUI is a Windows software virtualization solution. By adding a piece of code to your VB.Net application’s source you can then run it within a web browser and access it from any OS. Run your regular desktop applications from your browser, without even having to install them on the computer! Let’s learn more about this HTML5 solution for VB.Net applications.

How to run VB.Net development as web app

Ready to start? First, check that you’re running the latest version of Thinfinity® VirtualUI. Then download an example for web-enabling VB.Net and in the download link below:

Bear in mind in this example we’ve already added Thinfinity.VirtualUI.vb. You can find this in “C:\Program Files\Thinfinity\VirtualUI\dev\dotNET” so you can include it in your app.
To ensure your application loads fine with VirtualUI on the web, we recommend starting VirtualUI right at the begging. In the example, you’ll see that we’ve created a module called ‘Startup.vb’ that makes the virtualui.start():


Turn your VB.Net application to a Web App

Module Startup
Dim virtualui As New Cybele.Thinfinity.VirtualUI()
Sub Main()</stathread()>
''// virtualui.ClientSettings.MouseMoveGestureAction = MouseMoveGestureAction.MM_ACTION_WHEEL
Application.Run(New Form1())
End Sub
End Module

And this is the startup object:


Turn your VB.Net application to a Web App


If you start the app in the IDE now, you should get a pop-up to start the web browser:


Turn your VB.Net application to a Web App


And finally be able to see the app in the browser, like this:


Visual Basic 6 to web


Keep in mind, this is running in the ‘Development environment’, based on the screenshot above you can see it is calling port 6080, which is the default port of the development server. You will have to port the .exe to the “production” server, which listens on port 6580.
Adding the app to the server environment is very simple the Application tab add a new profile:


Turn your VB.Net application to a Web App


In this window, we will configure the VB.Net app. Here is an example:


Turn your VB.Net application to a Web App


“Name”: The name you want the Web Application to display.
“Program path and file name”: Click open and select the .exe compiled with the Startup for VirtualUI
“Arguments”: Add any argument your app might need.
Under the “Credentials” tab, configure a user that has read and write permission where your app is located:


Turn your VB.Net application to a Web App


And under the Permissions tab, for testing purposes, click on “Allow anonymous access”:


Turn your VB.Net application to a Web App


Click “OK”, and then click “Apply”.

Open a new browser window and navigate to

You will find the Thinfinity VirtualUI landing page, and your application published on it. Congrats!

If you’re a GitHub user, you may want to check our VirtualUI GitHub project.

If you found this article interesting and want to know more about Thinfinity VirtualUI, you can contact us or schedule a 15-minute demo call with one of our Sales Engineers.

Comments (4)

I have downloaded and tested the example and it is working. But when I try it on my Application, I’m not able to get it on the brwoser.
I have the trial activated and followed the procedure.

While running from Visual Studio, it is ok. From the Web Browser, it is hanging saying “Waiting for Application”

We site is hanging on waiting for Application only….

I have done this setup but observing 740 error. Please advise what setting i need to turn off on Windows 2012 server Machine

Leave a comment

Privacy Preferences
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.