Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 280
  • Last Modified:

Using quickreport reports outside of exe

Hello,
Is there a way to use my reports, created with QuickReport save as single files, or better, all saved in a dll... for loading at runtime to calculate, preview and print them?

By this way, i can have an exe with a reduced size, and if i have to update my application on clients, i do not have to worry of reports. Or if some report change, i do not have to update the whole application.

Thank you all
0
spk2000ar
Asked:
spk2000ar
  • 2
2 Solutions
 
diniludCommented:
ReadComponent function of a stream can load a component from a file.
Like that using WriteComponent we can write a component to a file.

First Crerate a file containig all quckreport components.
From your program Load this file.

http://www.delphicorner.f9.co.uk/articles/comps5.htm
0
 
thirdCommented:
yes you can create your reports on a DLL file. check out the following for a tutorial on creating a DLL. adding quickreport to the dll is just the same as when adding it from an EXE file.

http://delphi.about.com/od/windowsshellapi/a/dll_basics.htm

or you could try rave reports in which you can just store a report to a rav file.
0
 
spk2000arAuthor Commented:
Sorry, canĀ“t get the time to test any solution!! and really i will never try it as i change my mind... for a while. :)

Both seems to be logically fine. So i will split points between you, as i think there is no really reason to ask for deletion of the question.

Third, please, answer me this, as i have a LOT of reports done in QReports... is there a way to export them to RaveReport? or it has to be made by hand?

Thank you both
0
 
thirdCommented:
no, i'm afraid you will do it by hand.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now