Switching the desktop to the online program

Switching the desktop to the online program

Postby Otto » Thu May 19, 2022 9: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
Last edited by Otto on Thu May 19, 2022 9:37 pm, edited 1 time in total.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6313
Joined: Fri Oct 07, 2005 7:07 pm

Re: Switching the desktop to the online program

Postby TimStone » Thu May 19, 2022 9: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
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Switching the desktop to the online program

Postby Otto » Thu May 19, 2022 9:38 pm

Hello Tim,
Thank you. I edited the link.
Now it works.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6313
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 110 guests