Solved

how do I export PrintDocument data to excel

Posted on 2009-04-03
3
1,047 Views
Last Modified: 2012-05-06
Hi, am using PrintDocument to view my report in vb.net, now I want that report to be exported to excel file. Can anyone help me in this regards to get the code for exporting excel in vb.net, Thanks in advance
0
Comment
Question by:RaintekTechnical
[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
3 Comments
 
LVL 15

Accepted Solution

by:
oobayly earned 500 total points
ID: 24059713
Your best bet would be to use the Report Viewer. Seeing as a PrintDocument is basically a graphics object that you draw on, you can't take information back off it.
0
 

Author Comment

by:RaintekTechnical
ID: 24075998
Thanks for your suggestion, i will try it
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sort GridView by ID Descending 1 25
Finding the IIS version 5 38
VS 2017 18 108
VB.net Filesystem watcher not working 5 38
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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