To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
The System file
Cancel

Quickstart building a web application (desktop style)

Lesson 2: Creating the Web App

When the workspace is created the next step is creating a project. A workspace can contain several projects, but only one web project. In this Quickstart the focus will be on a Desktop style web application project. 


  1. Start the studio as administrator. In that way the virtual directory can be registered under Microsoft internet information server.
  2. Right click the studio icon and choose Run as administrator.
  3. Open the created workspace Quickstart, by selecting the workspace.
  4. The dashboard opens. Click on create a project.
  5. The Create New… dialog opens. Here several projects can be chosen. For this Quickstart choose Desktop Web Project.
  6. Choose a name for the Web Application Server. This is used to define the name in the Web Application Administrator.
  7. Also choose the Virtual Directory Name. This is the web-share name, which is used to identify your AppHtml directory over the internet.
  8. The project is created, including DataFlex source code.
  9. The basic skeleton of the application is created. Click the run button or F5 to see what’s created.
  10. The browser opens and the login screen appears.
  11. Default logins are Guest or Admin.
  12. A file menu and view menu are created, they are still empty.
  13. Close the application and go back to the DataFlex Studio.
  14. We’re going to change the theme. In the Source code you will see the theme that’s used now. That’s: DF_Web_Creme.
  15. In this Quickstart we will change it to the DF_Flat_Desktop theme. Do this by changing the psTheme property.
  16. Run the application by clicking on the Run button or F5 to see the result.
  17. You can keep the application open at all time, so you don’t have to log on all the time. Go to the Tools menu and click on Configure Studio.
  18. Disable the option Open WebApp URL in Browser when debugging.
  19. In the DataFlex Studio right click the WebApp on the Workspace Explorer and click on Open Application URL.
  20. Now the application stays open on the background, while developing the application.