borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (really need help)Next Topic (Mouse wheel problem in Excel 2k3 VBA) New Topic New Poll Post Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Save VB6 form as JPEG or GIF
Poster Message
softbitonline
Level: Trainee

Registered: 06-08-2005
Posts: 1

icon Save VB6 form as JPEG or GIF

How to save a VB form in GIF or JPEG while withing VB, so that it can be emailed on the net for others to view.  Or can we transfer whole VB form data including images on it into MS word  so that it can be emailed. Actually we are making some images on the form dynamically and also adding some gif images on it. We can save it within VB itself as well take print outs. But how to save this form as GIF or JPEG so while working within VB so that it can be emailed for othres to view. We can take print outs but how to save it as JPEG or GIF.

Baljeet Singh Vaseer
info@softbitonline.com

06-08-2005 at 04:36 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
yronium
Level: Moderator


Registered: 14-04-2002
Posts: 907
icon Re: Save VB6 form as JPEG or GIF

Hello. Do you mean like I did in this old thread (rather toward the bottom)? The image there is saved as JPEG, and you can right-click it and choose "Save image as..." in order to save it on your hard disk. In poor words, it is a normal image. Is it what you mean?

If so, I obtained it by the Print key. In Windows compliant keyboards it is located on the upper row, in a three keys group rightside of the last Function keys (F1, F2 ... F11, F12). The Print key is the first of the three, above the Ins key.
You can use it to get a screenshot of your desktop into the Clipboard, then open an empty document by an image editor, even the bare Windows' Paint and press Ctrl+V to paste it into. Then you can edit the image, then save the bitmap in the format you prefer.

The Print key executes a Copy (Ctrl+C) action on the desktop, but with the Alt key (Alt+Print) it does a copy only of the active window. You can try by yourself.

Of course, with this method you get an image, a picture of your form, so it is not a working form. You better tell users not to try filling the fields in the form (you say "What a stupid suggestion!", don't you? Well, I found many people who thought they could really fill an image and click a button on it...)

Hope it helps.

____________________________
Real Programmer can count up to 1024 on his fingers

06-08-2005 at 10:36 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VBA (Access, Excel, Word, ...) : Save VB6 form as JPEG or GIF
Previous Topic (really need help)Next Topic (Mouse wheel problem in Excel 2k3 VBA) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder