// blog

Delphi to Web: What Happens to Your Forms, the BDE and Paradox Tables

In a Delphi-to-web conversion, the VCL forms become web screens with the same columns and shortcuts, the rules hidden in event handlers and data modules are written down and built once on the server, BDE, Paradox or Firebird data moves to a real database with its totals checked, and QuickReport or FastReport output becomes print pages and PDFs. We’ve done it with a 2006 Delphi 7 program and a 2018 Delphi accounting program on Firebird.

Last updated 1 min read

A Delphi accounting program's start screen, rebuilt in a browser

Delphi programs age well, which is why so many are still running. When one has to move, here’s what happens to each part. It comes from two conversions you can try: Virtual Salesman 3, a Delphi 7 program from 2006, and TurboCASH 4, a Delphi accounting program on Firebird from 2018.

The forms

VCL forms and DBGrids become web screens with the same sections, the same columns and the same keyboard shortcuts. People who’ve used the program for years shouldn’t have to relearn it.

The rules

This is most of the work. In Delphi the rules hide in OnClick handlers, data modules and form events. In Virtual Salesman the deposit rules were in a form’s buttons and the stock check in a product picker. We write each rule as a plain sentence, the people who use the program check the list, and then it’s built once, on the server.

The data

BDE aliases, Paradox and dBase tables, InterBase or Firebird: the data is read where it lives and moved to PostgreSQL. For TurboCASH we read its 74 accounts straight from its Firebird books. For Virtual Salesman the file format wasn’t documented at all, and we recovered it from the program itself. Either way, totals are checked against the old program before anyone switches.

Reports and components

QuickReport, Rave or FastReport output becomes print pages and PDFs that look the same. Third-party grids and controls are replaced with standard web parts.

The result

A web app on React, C# and PostgreSQL, in any browser, with developers easy to find for years to come. See how a Delphi program moves to the web. The first call is free.