January 25th, 2000, 11:14 AM
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.
|
Click to See Complete Forum and Search --> : Print Screen January 25th, 2000, 11:14 AM 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. fotisgpap January 25th, 2000, 12:43 PM 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. Chris Eastwood January 25th, 2000, 02:15 PM 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 mdangers January 26th, 2000, 09:02 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |