Solved

print contents of a screen to a file

Posted on 2000-05-09
12
151 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
ID: 2792122
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
ID: 2792124
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
ID: 2792133
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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 10

Expert Comment

by:caraf_g
ID: 2792148
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
ID: 2792150
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
ID: 2792154
0
 
LVL 14

Expert Comment

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

Expert Comment

by:caraf_g
ID: 2792167
Hehe... maybe that's what *you* think

<fade in X-Files intro>

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

Expert Comment

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

Expert Comment

by:deighton
ID: 2792301
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
ID: 2793270
Reviewing question.

darinw
Customer Service
0
 
LVL 14

Expert Comment

by:mcrider
ID: 2795899
Thanks for the points! Glad I could help!


Cheers!®©
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MsgBox 2 54
Saving history changes to sub form 4 42
VBA filters 2 59
Excel Automation VBA 19 69
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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