Run Visual DataFlex as a Windows Service with AlwaysUp

How to Run a Visual DataFlex Application as a Windows Service with AlwaysUp

Start your VDF program in the background as soon as your computer boots and keep it running 24x7. No need to log on!

Visual DataFlex is a 4GL windows programming language/package particularly adept at creating database applications.

To configure your Visual DataFlex application with AlwaysUp:

  1. Download and install AlwaysUp, if necessary.

  2. Start AlwaysUp.

  3. Select Application > Add to open the Add Application window:

    Add Application

  4. On the General tab:

    • In the Application field, enter the full path to your VDF application's exe file. Since we are setting up Visual DataFlex's Grids sample application in this tutorial, we'll specify:

      C:\Visual DataFlex 17.0 Examples\Specialized Components\Programs\Grids.exe

    • In the Name field, enter the name that you will call the application in AlwaysUp. We went with Grids but feel free to specify virtually anything you like.

    Visual DataFlex Windows Service: General Tab

  5. Click over to the Logon tab and enter the user name and password of the account where you plan to run your application. Several VDF users believe this setting is required but we can not say that it is an absolute necessity...

    Visual DataFlex Windows Service: LogOn Tab

  6. Click the Save >> button. In a couple of seconds, an application called Grids will show up in the AlwaysUp window. It is not yet running though.

    Visual DataFlex Windows Service: Created

  7. To start your Visual DataFlex application, choose Application > Start "Grids":

    Visual DataFlex Windows Service: Running

    On Windows 7, Vista and Server 2008, Grids will be running in the isolated Session 0. Select Tools > Switch to Session 0 to see it:

    Visual DataFlex Windows Service: Running in Session 0

    You can also select Application > Restart "Grids" in this session to temporarily stop the application and bring it onto your desktop where you can interact with it normally:

    Visual DataFlex Windows Service: Running in the current Session

  8. That's it! Next time your computer boots, Visual DataFlex will start up immediately, before anyone logs on. We encourage you to edit Visual DataFlex in AlwaysUp and check out the many other settings that may be appropriate for your environment.

    For example, you can hide your application's windows by checking the When a user logs on... box on the Login tab, or boost your application's priority on the General tab.



Visual DataFlex not working properly as a Windows Service?

  • From AlwaysUp, select Application > Report Activity > Today... to bring up a HTML report detailing the interaction between AlwaysUp and your application. The AlwaysUp Event Log Messages page explains the more obscure messages.
  • Consult the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.
  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.5 New!

8.0 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!