Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - how can i take picture from my form ?

Reply
 
Old 01-24-2009   #1 (permalink)
miladhatam


 
 

how can i take picture from my form ?

hi
how can i take a picture from my form and how can i save it ?

thanks alot

My System SpecsSystem Spec
Old 01-24-2009   #2 (permalink)
PvdG42


 
 

Re: how can i take picture from my form ?


<miladhatam@xxxxxx> wrote in message
news:c47615c4-5d5d-4b53-8d3d-395efa784f17@xxxxxx
Quote:

> hi
> how can i take a picture from my form and how can i save it ?
>
> thanks a lot
It would help us help you if you could provide some context and details.
What type of form are you referring to (Windows, web, WPF, something else)?
Are you using Visual Studio? If so, what version?
Are you attempting to "take a picture from my form" as a software user or
programmatically?
Without more information from you, a useful answer is pretty much
impossible.


My System SpecsSystem Spec
Old 01-24-2009   #3 (permalink)
miladhatam


 
 

Re: how can i take picture from my form ?

oh ok
i'm using visual studio .net , frame work 2.0 platform and in c#
language
this program is windows application and i want to take a picture from
my form programmatically
i think i should do that with API codes but i don't know how
My System SpecsSystem Spec
Old 01-24-2009   #4 (permalink)
Norman Yuan


 
 

Re: how can i take picture from my form ?

While your form in the active window (that is, run your application, show
the form), press ALT+Print Screen. At this point of time, the active
Window's image is saved to windows' clipboard. Then you can open your
favorite image process program, such as Paint, abd paste (Ctrl+V) to it and
save the image to whatever type of file the program can. Of course you can
literally "take a picture" of your app's form by using a camera aiming at
your computer's screen .


<miladhatam@xxxxxx> wrote in message
news:c47615c4-5d5d-4b53-8d3d-395efa784f17@xxxxxx
Quote:

> hi
> how can i take a picture from my form and how can i save it ?
>
> thanks alot
My System SpecsSystem Spec
Old 01-24-2009   #5 (permalink)
Norman Yuan


 
 

Re: how can i take picture from my form ?

Look into Graphics class in System.Drawing namespace. It has a method called
CopyFromScreen(), which is most screen capter programs written with .NET use
to capture screen image into an Image object. There are a few .NET code
samples float around. Simply google "CopyFromScreen()" would bring quite
some sample code to you.

<miladhatam@xxxxxx> wrote in message
news:6b1b6a13-8025-4cd5-bbd5-a7c0e6187fca@xxxxxx
Quote:

> oh ok
> i'm using visual studio .net , frame work 2.0 platform and in c#
> language
> this program is windows application and i want to take a picture from
> my form programmatically
> i think i should do that with API codes but i don't know how

My System SpecsSystem Spec
Old 01-24-2009   #6 (permalink)
miladhatam


 
 

Re: how can i take picture from my form ?

hi my friend
it was what i need
thanks for your courtesy
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
How can I copy my picture that I created from WeeMee to My Picture Live Messenger
i can't view picture files on my picture cds Vista music pictures video
Split screen or picture in picture. Vista music pictures video
My Picture folder won't show thumbnail of my real picture Vista General
Picture icons don't show preview of picture Vista music pictures video


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46