|
-
January 25th, 2000, 12:14 PM
#1
Print Screen
I need a utility to print the screen. Very basic, no User interface. Just a simple control or file. The user needs to print the current VB form at runtime. Does anyone know how I can accomplish this.
-
January 25th, 2000, 01:43 PM
#2
Re: Print Screen
Just press the print screen button whenever you want, and then open the Paint application (under Programs/Accesories) and select Paste from the Edit menu. You will get the user interface into Paint and then select Print from the File menu. This is it.
-
January 25th, 2000, 03:15 PM
#3
Re: Print Screen
There's an excellent example here : http://codeguru.developer.com/vb/articles/1998.shtml - this is a module that you can use in your program to capture any form or the whole desktop into a standard VB Picture object - this can then be saved / printed in the normal way.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
-
January 26th, 2000, 10:02 AM
#4
Re: Print Screen
Hi !
the simplest way to achieve this I know is this:
form.PrintForm
Thats it !! No fuzz.
If there are graphics on your form be sure to set AutoRedraw to True.
regards,
Matthias.
I had a thought,
You know, I thought it a lot,
I thought I was smart,
Now I know that I'm not
- The Presidents Of The United States Of America
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|