flaviowmf Posted May 30, 2011 Author Share Posted May 30, 2011 Demo application, as promised. There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list. Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False) Thanks Quote Link to comment Share on other sites More sharing options...
flaviowmf Posted May 30, 2011 Author Share Posted May 30, 2011 Demo application, as promised. There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list. Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False) Dude, your source blz can not compile, missing some units of the error, but c'mon, I did exactly as was his source and appreciate me a message telling me that the creator must be a form uniaplication Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 30, 2011 Administrators Share Posted May 30, 2011 What units are missing? I can successfully compile it with Delphi XE and QR Trial version. Quote Link to comment Share on other sites More sharing options...
flaviowmf Posted May 30, 2011 Author Share Posted May 30, 2011 Units are missing: uniGUIAbstractClasses, uniGUIClasses, uniGUIBaseClasses I use Delphi 2009 to QR 05.05 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 30, 2011 Administrators Share Posted May 30, 2011 Units are missing: uniGUIAbstractClasses, uniGUIClasses, uniGUIBaseClasses I use Delphi 2009 to QR 05.05 What uniGUI version have u installed? Quote Link to comment Share on other sites More sharing options...
flaviowmf Posted May 30, 2011 Author Share Posted May 30, 2011 fmsoft_unigui_beta_0.84.5.836_setup Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted May 30, 2011 Administrators Share Posted May 30, 2011 Why haven't you upgraded to latest build? Please see beta forums for details. Quote Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted May 30, 2011 Share Posted May 30, 2011 I recommend you try the latest build. Quote Link to comment Share on other sites More sharing options...
danluc Posted June 11, 2011 Share Posted June 11, 2011 Hi I tried the example set by Anders Andersen but not on the web and if it does in the exe, with a great job my version Delphi10 UniGui 0.85.0 build 870 Quote Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted June 13, 2011 Share Posted June 13, 2011 I don't understand what you are trying to say. Did it work for you or did it not work for you? Did it work in VCL mode? Did it work in web mode? For me it works in both modes. Please give more information. Quote Link to comment Share on other sites More sharing options...
flaviowmf Posted June 15, 2011 Author Share Posted June 15, 2011 I downloaded the latest version and it worked ... Thanks guys! Quote Link to comment Share on other sites More sharing options...
gastelumri Posted August 30, 2011 Share Posted August 30, 2011 Demo application, as promised. There are mainly two small things to keep in mind. Do not have the application auto create the quick report form. When you add the form, go into the project settings and remove the form from the autocreate list. Secondly you need to disable the progressindicator from the report as it doesn't make sense in webmode. (TQuickRep.ShowProgress := False) Thank you, how can I do to run on ISAPI? Quote Link to comment Share on other sites More sharing options...
andersa@ellenshoej.dk Posted August 31, 2011 Share Posted August 31, 2011 The problem is that you need for the IIS user to be able to access any printer service that there might exist on the system. Whether this is a matter of just giving the IIS user access to printer services, I am not sure. Also a problem might exist for virtual machines with no real printer attached to it. I have not investigated any solution to this yet, but if I find one I will post it. Quote Link to comment Share on other sites More sharing options...
FunnyBlue Posted November 8, 2012 Share Posted November 8, 2012 Man, it would be great if you could send me the sample code, just to place. Thanks Hi Anders, and Flavio. I cannot find anything on QuSoft's web site. Could you give me an example and link to QuSoft's web site. Thanx. Hur Quote Link to comment Share on other sites More sharing options...
alfhabetagama Posted May 29, 2013 Share Posted May 29, 2013 use Quick report v.5.0.5, unigui 93.xx. I can export data perfectly to PDF with the project type to 2 (VCL Application / Standalone Server / Isapi Module).I use this code : procedure TMainForm.UniSpeedButton2Click(Sender: TObject);var ViewPDF: TFormQR; GeneratePDF: TQRPDFDocumentFilter;begin ViewPDF := TFormQR.Create(Uniapplication); // can't using self or nil try GeneratePDF := TQRPDFDocumentFilter.Create(UniServerModule.LocalCachePath + 'Coloring.pdf'); ViewPDF.QuickRep.ExportToFilter( GeneratePDF); UniURLFrame1.URL := UniServerModule.LocalCacheURL + 'Coloring.pdf'; finally GeneratePDF.Free; ViewPDF.Free; end;end; But when I do project using options to 3 (isapi module), no error, no export proceeds. I do not know why it is like this, there may be advance who have this kind of experience? Quote Link to comment Share on other sites More sharing options...
Anachronox Posted May 29, 2013 Share Posted May 29, 2013 Instead of using UniURLFrame you can open new browser tab using javascript : UniSession.AddJS('window.open(' + QuotedStr(UniServerModule.LocalCacheURL + FileName) + ')'); Quote Link to comment Share on other sites More sharing options...
knopix Posted May 30, 2013 Share Posted May 30, 2013 I use FastReport when making MODULE ISAPI applications are no constraints on the subordinate component FastReport (frxXLSExport). mine for Applications with VCL Application / Stanalone Server / ISAPI module running smoothly and quickly Quote Link to comment Share on other sites More sharing options...
AntonioM Posted June 13, 2013 Share Posted June 13, 2013 Hello I am using QuickReport with no problem (by now ), In design time I create and add to project a standard delphi form (not UNi) and put in this form the report. I create an instance of this form on runtime. I put data (from my database, images, etc...) in the report then I export it to pdf. Then I kill the report form and show the generated pdf in a urlframe or in a new nevigator page. If you want sample please ask... Quote Link to comment Share on other sites More sharing options...
albertovesx Posted June 13, 2013 Share Posted June 13, 2013 Try to not use quickreport. It is not threadsafe. Use FastReport instead. Quote Link to comment Share on other sites More sharing options...
knopix Posted June 14, 2013 Share Posted June 14, 2013 Hello Mr.Alberto vesx is there any sample project for me to learn ISAPI MODULE.which can Export to pdf, xml, XLS? thank you. Regards Knopix Quote Link to comment Share on other sites More sharing options...
knopix Posted June 14, 2013 Share Posted June 14, 2013 Hello Mr.Antonio Martínez What If I create a Project with ISAPI MODULE Unigui? When to Export to PDF, XML, XLS at QuikReport? Regards Knopix Quote Link to comment Share on other sites More sharing options...
winsonsiu Posted November 19, 2013 Share Posted November 19, 2013 Hello All, I Use ISAPI Mode( IIS7 ) and use the sample code from Anders Andersen ,when I run the export function ,program crashed and browser displayed the following message: Invalid session or session Timeout. Restart application I found that if I use a blank report form,system can export a blank pdf file normally , but when I added a report band and QRLabel to the report form, problem occoured ,Please help Quote Link to comment Share on other sites More sharing options...
Sebastiao Purcini Posted November 14, 2017 Share Posted November 14, 2017 Hi guys! I have the same problem, using quickreport(ExportToFilter): Invalid session or session Timeout. Restart application Can someone help us ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 14, 2017 Share Posted November 14, 2017 Hi, Are you using a trial edition? Quote Link to comment Share on other sites More sharing options...
Sebastiao Purcini Posted November 14, 2017 Share Posted November 14, 2017 Hi, Professional Edition. Application(DLL) is on IIS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.