473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

print snapshot of c# form without using printscreen

I want to print a C# form by pressing button on the form. It will print
the contents of the form as well with the form layout.

Any suggestions

Thanks,
Ruchi
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
2 14939
"Ruchi Gupta" <ru*********@countrywide.com> wrote in message
news:O1*************@TK2MSFTNGP12.phx.gbl...
I want to print a C# form by pressing button on the form. It will print the contents of the form as well with the form layout.


There's a nice winforms FAQ that has a write-up on that. I haven't
used it myself, curious if it works as advertised.
http://www.syncfusion.com/FAQ/WinFor...c55c.asp#q491q

mike

Nov 15 '05 #2
Thanks for the pointer. It actually worked.

Same information is available on microsoft website as well
http://msdn.microsoft.com/library/de.../en-us/cscon/h
tml/vclrfcodeprintpreviewingformvisualc.asp

Thanks again
Ruchi


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #3

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

Similar topics

7
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
3
by: sea | last post by:
I need to be able to print the current form because the form has an embedded object of a .gif file, so report will not work -- does anyone know the way to do this? I tried some code, not sure what...
3
by: Zlatko Matić | last post by:
Hello. I tried to print the current situation on the form/subform/subform...but it seems that Access prints all the records on all the subforms. I would like to print just the image (something...
5
by: Paul_Madden via DotNetMonster.com | last post by:
How can I get a bitmap of a Form using .NET 1.1 (ie NO CopyFromScreen) -- Message posted via DotNetMonster.com http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-csharp/200605/1
3
by: Tamer Ibrahim | last post by:
And to prevent the user from printing more than one copy of this .aspx form, I want to make it disappear just after it has been printed. Any help will be most appreciated. tamer
4
by: HowHow | last post by:
I am using Outlook 2000, window XP. I receive emails with "printscreen", for example other users press the "printscreen" button to capture the error message, paste it to outlook and email me, I...
2
by: nussbac | last post by:
Hi I suspect this is not possible, and perhaps someone will explain why, but does anyone know how to capture the 'PrintScreen' keystroke (and/or the 'Ctrl-PrintScreen' event)? I would like to...
2
by: Bill Fuller | last post by:
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...
4
by: =?Utf-8?B?bjg=?= | last post by:
This may be the stupidest question ever, but how does the "print screen" work on Vista? I've tried every possible thing with Shift, Ctrl, Alt..... Still seeking the resolution.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.