Run VFP applications in the cloud (Visual Fox Pro)
In this new blog post, we will show you how to adapt your Visual FoxPro code so you can run VFP apps in the cloud with Thinfinity VirtualUI.
More businesses are moving their applications to the cloud than ever before. Web-based apps improve collaboration, and allows us to quickly and easily access information anywhere and anytime using an internet connection, and this increases the organization productivity and efficiency.
We understand that app developers face a real challenge here, that’s why we work hard to help you! Having your VFP apps online will be a piece of cake.
Below you’ll find the link to download the example app:
First, we will see how to start the app in de development environment.
To run the app you have to create VirtualUI object like this:
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:
Left-Click it and hit ‘Open Web Browser’.
Now you should be able to see the app running in the desktop and in the browser.
To publish your app in the “prod” server manager you have to comment on the following lines:
Now you can build the .exe of your Visual FoxPRO app and add it to VirtualUI’s server manager.
Continue reading: How to virtualize your applications
Any questions? Just leave a comment below or sends us an email to [email protected].