FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Switching the desktop to the online program
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Switching the desktop to the online program
Posted: Thu May 19, 2022 09:41 AM
Hello friends,

Switching the desktop to the online program

I'll show you briefly how we solve the printing problem.
In the first video you can see how quickly a report is created and in the second video how little source code has to be changed in the desktop version.

You can continue to use the tested and proven desktop version online.


https://mybergland.com/fwforum/graftonstreet.mp4

https://mybergland.com/fwforum/pdferzeugen.mp4

We use "FastReport" in many of our reports.
"FastReport" is similar to L&L in terms of functionality.

Now you can set "FastReport" to generate a PDF in "silent mode".

On our web servers, we have installed our "Grafton Street local host server" in addition to APACHE.

If, for example, reports are requested from the web, the localhost server forwards the request to the existing desktop programs and passes the necessary parameters in the request: Time, report, etc.

The desktop program is started and immediately opens the corresponding function and creates the PDF.

The PDF is displayed by the online program.


Here you see the web server via RemoteDesktop.
You see how the "Grafton Street Server" answers the query. The desktop "accounting system" is opened, and the PDF is created immediately.
The program then closes immediately.

For reports that are hard-coded, we use the PDFCreator printer driver.

Best regards,
Otto
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Switching the desktop to the online program
Posted: Thu May 19, 2022 09:35 PM

The top link generates a 404 error message.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Switching the desktop to the online program
Posted: Thu May 19, 2022 09:38 PM

Hello Tim,
Thank you. I edited the link.
Now it works.
Best regards,
Otto

Continue the discussion