Connect with Facebook Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-2008, 01:38 PM
Newbie
 
Join Date: Sep 2008
Posts: 12
Rep Power: 0
Tsukuyomi15 is an unknown quantity at this point
Default Screenshot Program

Hello, I am attempting to create a Screenshot program using Visual Basic .NET 2008. I know how I'm going to do everything else, but I don't know how to make it where whenever the Screenshot is taken the user can save it to their harddrive. Can someone help me, please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-02-2008, 01:54 PM
Jordan's Avatar   
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 18,348
Blog Entries: 90
Rep Power: 20
Jordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of light
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan Send a message via Yahoo to Jordan
Default Re: Screenshot Program

I found several examples:

How To Capture and Print the Screen, a Form, or Any Window
VBnet™ Visual Basic Developers Resource Centre

These should give you instructions. Even if they are not for Visual Studio 2008 they are for Visual Basic .NET so they will work in VS 2008.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-02-2008, 02:07 PM
Newbie
 
Join Date: Sep 2008
Posts: 12
Rep Power: 0
Tsukuyomi15 is an unknown quantity at this point
Default Re: Screenshot Program

Thank You!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-02-2008, 05:52 PM
Jordan's Avatar   
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 18,348
Blog Entries: 90
Rep Power: 20
Jordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of light
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan Send a message via Yahoo to Jordan
Default Re: Screenshot Program

No problem!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-04-2008, 08:30 AM
Learning Programmer
 
Join Date: Sep 2007
Posts: 79
Rep Power: 0
ikkeugh is an unknown quantity at this point
Default Re: Screenshot Program

Isn't there a simple way to capture a form and put the data in a picurebox in that same form, outside what everyone sees.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-04-2008, 08:33 AM
Jordan's Avatar   
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 18,348
Blog Entries: 90
Rep Power: 20
Jordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of light
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan Send a message via Yahoo to Jordan
Default Re: Screenshot Program

You should be able to load a screen capture from clipboard and insert into a picture box fairly easy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-04-2008, 09:04 AM
Learning Programmer
 
Join Date: Sep 2007
Posts: 79
Rep Power: 0
ikkeugh is an unknown quantity at this point
Default Re: Screenshot Program

isn't there another way than putting it into the clipboard ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-05-2008, 07:28 AM
Jordan's Avatar   
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 18,348
Blog Entries: 90
Rep Power: 20
Jordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of lightJordan is a glorious beacon of light
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan Send a message via Yahoo to Jordan
Default Re: Screenshot Program

Save it as a temporary file, I suppose. I'm unsure of a better way though. When you fetch a screen capture, where is that data stored? You could feed the imageBox directly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-11-2008, 08:54 PM
travy92's Avatar   
Learning Programmer
 
Join Date: Sep 2007
Location: Australia
Age: 16
Posts: 73
Rep Power: 7
travy92 will become famous soon enough
Send a message via MSN to travy92
Default Re: Screenshot Program

Do what I did.
Code:
SendKeys.Send ("{Prtsc}")
Then retrieve the image from clipboard and make the PictureBox's image the clipboard image.

Then you can save it anywhere.

EDIT - Just follow my tutorial HERE.
There are many bugs with this. Since then I have fixed most of them. I'll update the tutorial when I'm not busy.

Thanks.
__________________
C:\Users\Travis\Desktop\Image Converter\Knight1.bmp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial: Starting C# with C# 2008 Express Edition Jordan CSharp Tutorials 19 08-08-2008 12:48 PM
[HELP] C++ program that will ask the user to enter not greater than to 15 numbers Kyram143 C and C++ 7 08-06-2008 09:53 PM
Help with Square root and calculator program!!! 123456789asdf C and C++ 10 12-02-2007 04:35 PM


All times are GMT -5. The time now is 05:27 PM.

Freelance Jobs

XML/XSL: Need code for Book with Chapers using XML
Create an XML file for a book of your creation, and a basic CSS file that will format it to display ...
Earn: $40.00


C++/C: Simple firework cue sequencer
What I require is a rework of a simple cue sequencer. I have a piece of hardware (an Arduino boar...
Earn: $50.00


HTML/XHTML: Menu Rework - ASCIIBin
I'm placing this in the HTML/XHTML section of the Freelance site but you are not limited to HTML. Wh...
Earn: $20.00



CodeCall Goal

Goal #1: 1,000 Blogs
Goal #2: 1,000 Wiki Pages
Goal #3: 300,000 Posts
Goal #4: 20,000 Threads
Done: 30%, 23%, 55%, 75%

Ads