Solved

Generating word like reports and saving to PDF

Posted on 2006-11-30
5
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 56
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 1,024
string initialization in java 11 122
Is there a simple front-end menu system. 9 147
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 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