Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old May 12th, 2003, 02:18 PM
Iople Iople is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 8 Iople User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Does anyone know ho to save a Form as an image file of some sort?

I want to know if there is a way to save a form as a bitmap or a JPEG or anything else. Currently, I have a program that produces a plot of data for a given set of input data files. I want to be able to take the form that displays that plot and save it as an image (any type of image is fine). If anyone has any ideas I would appreciate hearing them.

Reply With Quote
  #2  
Old May 12th, 2003, 02:48 PM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 20 h 42 m 31 sec
Reputation Power: 19
If you draw it to a picture box you can use savepicture.

Reply With Quote
  #3  
Old May 13th, 2003, 07:50 AM
Iople Iople is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 8 Iople User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How di I go about loading a Form or objects in a Form to the PictureBox?

Reply With Quote
  #4  
Old May 13th, 2003, 08:38 AM
hedge hedge is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2002
Posts: 692 hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level)hedge User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 20 h 42 m 31 sec
Reputation Power: 19
Sorry I may have misunderstood.

It sounded like you were drawing (plotting) your data to the form, that's what you could instead draw to the picture box.

It won't see controls though.

Reply With Quote
  #5  
Old May 13th, 2003, 09:03 AM
Iople Iople is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 8 Iople User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm using MSChart to plot the data. I also have labels on the form that contian information related to the data. That's why I need to find a way to save the whole form as an image file of some kind.

Reply With Quote
  #6  
Old May 13th, 2003, 07:44 PM
mohecan mohecan is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Melbourne, Australia
Posts: 212 mohecan User rank is Private First Class (20 - 50 Reputation Level)mohecan User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Can you use the print screen function and then save it to bitmap, jpeg?
__________________
How can I soar like an eagle when
I'm flying with turkey's?

Reply With Quote
  #7  
Old May 14th, 2003, 07:54 AM
Iople Iople is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 8 Iople User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I really needed someway to do this during runtime, so Alt Printscreen wasn't really an option. I found a solution on

http://www.vbcity.com/forums/forum.asp?fid=36&page=11

under the topic

Print or Convert a Form to an image file... Any ideas....????

Thanks to everyone who read my question.

Reply With Quote
  #8  
Old May 14th, 2003, 07:54 AM
Iople Iople is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 8 Iople User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I really needed someway to do this during runtime, so Alt Printscreen wasn't really an option. I found a solution on

http://www.vbcity.com/forums/forum.asp?fid=36&page=11

under the topic

Print or Convert a Form to an image file... Any ideas....????

Thanks to everyone who read my question.

Reply With Quote
  #9  
Old July 24th, 2003, 03:54 PM
Pygobombe Pygobombe is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Locked in the Basement programming
Posts: 3 Pygobombe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have you tried printing the form...
Like this:

Form1.PrintForm

I have used this before, and just tested it. It will print everything on the form, exluding the border.

Hope that helps

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Does anyone know ho to save a Form as an image file of some sort?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway