Solved

print contents of a screen to a file

Posted on 2000-05-09
12
146 Views
Last Modified: 2010-05-18
Using the printform you can let the user print the contents of the form to a printer.  How can I let him save the contents of a screen to a file ?
Purpose is, to let him attach this file to a mail.
Please help !
0
Comment
Question by:pce
12 Comments
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
HOWTO: Capture and Print the Screen, a Form, or any Window
http://support.microsoft.com/support/kb/articles/Q161/2/99.ASP?LN=EN-US&SD=msdn&FR=0



0
 
LVL 14

Accepted Solution

by:
mcrider earned 100 total points
Comment Utility
HOWTO: Capture and Print the Screen, a Form, or any Window
http://support.microsoft.com/support/kb/articles/Q161/2/99.ASP?LN=EN-US&SD=msdn&FR=0



0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
Well, that's really weird!  For some reason it posted two answers... Please don't accept or reject this.  I am going to get Customer Service to look at this question and find out why...


Anyhow, back to your question, once you use the code in the above microsoft article to capture the window into a picturebox, you can save the picturebox to a BMP by using the SavePicture function...


Cheers!®©
0
 
LVL 10

Expert Comment

by:caraf_g
Comment Utility
Yes, there seems to be a problem alright. As long as you can bring up the window from which you posted an answer or a comment, you can do it again and again. Similarly, you can add comments to a deleted question as long as you've still got a window showing the question as it was before it got deleted.
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
I opened a question about this double-posting answer here... http://www.experts-exchange.com/jsp/qShow.jsp?ta=commspt&qid=10341149  


Cheers!®©
0
 
LVL 10

Expert Comment

by:caraf_g
Comment Utility
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 14

Expert Comment

by:mcrider
Comment Utility
caraf_g, but I only clicked the submit button once...
0
 
LVL 10

Expert Comment

by:caraf_g
Comment Utility
Hehe... maybe that's what *you* think

<fade in X-Files intro>

The truth is out there....
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
Which leads to another interresting question... Do I get double-points when this is accepted?? ;-)
0
 
LVL 18

Expert Comment

by:deighton
Comment Utility
Sounds like EE is using the HTML source to provide validation again.

Didn't the last person this hapenned to end up with minus 2 billion points or something?
0
 
LVL 3

Expert Comment

by:darinw
Comment Utility
Reviewing question.

darinw
Customer Service
0
 
LVL 14

Expert Comment

by:mcrider
Comment Utility
Thanks for the points! Glad I could help!


Cheers!®©
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

772 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

13 Experts available now in Live!

Get 1:1 Help Now