Solved

Generating word like reports and saving to PDF

Posted on 2006-11-30
5
218 Views
Last Modified: 2013-11-20
Hi,
I have an application that displays data in chart format and table format. I would like to put this chart and data into a report. Now, this report needs to be shown to the user so that he can edit it, Later, he can do a print preview and finally print it.
I do not want to make it a pre-requisite that Microsoft word should be installed on the client's machine.
I also need to save the report into a PDF file.

Any ideas and sample code about how this requirement can be met.
0
Comment
Question by:VCGuru
5 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 250 total points
ID: 18044861
May be this is of yours use : The Great PDF - Revealed
http://www.codeproject.com/file/PdfDigiPad.asp

-MAHESH
0
 
LVL 14

Assisted Solution

by:wayside
wayside earned 250 total points
ID: 18048645
> I also need to save the report into a PDF file.

If you can print it, you can write a pdf, you just need to get a pdf printer driver. These are available for free if you search around.

To print it from MFC is always an interesting proposition. I would recommend looking at some projects like these:

http://www.codeproject.com/printing/printingmadeeasy.asp
http://www.codeproject.com/printing/printlib.asp
http://www.codeproject.com/printing/printing_wo_docview.asp

You can probably find some code that will make your job much easier.

0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create frequencies of a variable from SAS dataset? 10 125
Creating Labels and Frequency list style reports in SAS code 9 98
zeroMAx challenge 20 99
EvenOdd challenge 10 105
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now