473,465 Members | 1,366 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Taking an image snapshot of a C# WinForm App

Is there any way to create a self-image of an active C# WinForm app (similar
toAlt-PrintScreen)? I would like to add this feature to a user feedback form
where an image of the active application will automatically be created and
persisted on the backend for support purposes.
Jun 27 '08 #1
2 2694
Bill,

If you have a reference to the Form instance, then you can call the
DrawToBitmap method on the Form instance (or for that matter, any Control
instance, since that's where the method is defined, Form just inherits it)
and then draw the contents of the Control/Form to the bitmap that you pass
in.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bill Fuller" <so*****@nospam.comwrote in message
news:OC**************@TK2MSFTNGP03.phx.gbl...
Is there any way to create a self-image of an active C# WinForm app
(similar toAlt-PrintScreen)? I would like to add this feature to a user
feedback form where an image of the active application will automatically
be created and persisted on the backend for support purposes.

Jun 27 '08 #2
Is this what you need?

http://www.blackwasp.co.uk/ScreenCapture.aspx

--

BlackWasp
www.blackwasp.co.uk
"Bill Fuller" <so*****@nospam.comwrote in message
news:OC**************@TK2MSFTNGP03.phx.gbl...
Is there any way to create a self-image of an active C# WinForm app
(similar toAlt-PrintScreen)? I would like to add this feature to a user
feedback form where an image of the active application will automatically
be created and persisted on the backend for support purposes.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Roger | last post by:
I have a report with a image displaying our company logo if I create an snapshot of this report, it appears to create an 'snp' file, but nothing is stored in the folder I tried both linked and...
4
by: Jeff Griffin | last post by:
OK, this should be my last question for the day. I have spent a couple hours on google trying to figure this out but I probibly just dont know what I really need to be searching for. I have a...
5
by: aarondouglas28 | last post by:
Hey all, I'm hoping someone can help me with a little problem I have. First a little background. I'm working on developing a site which displays live feeds from a security camera. The camera is...
7
by: Yavuz Bogazci | last post by:
i have the following problem: my customer wants to show some informations in a WinForm. He has Images and Textelements with are connected. It should look like this: scroll << - ... Image +...
3
by: Rajiv Das | last post by:
C# 2.0 XP SP2 In My Code, I am using HttpWebRequest to visit a particular URL. I am required to generate a snapshot image (if this request were made through say IE) and save as jpeg. About .1...
1
by: MMA | last post by:
Hi is there a way to take a snap shot image of a winform and save it to a file, simillar to how we can print the image of a winform using the graphics objects. Thanks in advance.
4
by: jwgoerlich | last post by:
Hello group, I have a project with several WebBrowser objects on separate tabs. I want to take screenshots of these. I am currently using the PrintWindow function. (Code below.) This works if...
9
by: Prince of Code | last post by:
How do i create a image of webpage in php? Basically what I am looking for is "Create a small image (Thumbnail) of a webpage. Let me know about your thought. Your Help is greatly appreciated !...
0
by: levi2713 | last post by:
We have IP cameras that we can view by putting the IP address in a web browser. This is a control panel type webpage, but I can go a step further and go to http://<ip address>/capture.html and it...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.