473,394 Members | 1,794 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,394 software developers and data experts.

How to print a form/component from within Visual Studio

It may sound like a silly question, but I would like to print a form or
component from within Visual Studio when designing such form component. Is
that possible?
Jun 27 '08 #1
4 2661
How to print any graphical element on your screen (Vista example);

keyboard: Alt + Print Screen (copies current window to clipboard)
Start Button
Keyboard "p", "a", "i" if necessary (brings Paint to the top of the
programs list)
Enter Key (opens Paint)
Ctl + V (pastes screen grab)
Esc key (release selection)
Mouse... Select the rectangle you want to print (optional)
Keyboard Alt + I (image menu) ... R (crop)
Ctl + P (Print)

This little routine I use often for any number of reasons when I want
to print or save part of my screen or a window. It's all keyboard
except for the selecting of what you want to print, and you can get
rid of that part if you do it while the program is running rather than
in the dev ide. With a few minutes practice you can do it in a couple
of seconds and it's extremely versatile.

My apologies if this seems like an oblique or obvious answer to your
question, it's just a habit I find extremenly useful.

Bob

On May 8, 7:31*am, "Robson Felix" <rob...@robsonfelix.comwrote:
It may sound like a silly question, but I would like to print a form or
component from within Visual Studio when designing such form component. Is
that possible?
Jun 27 '08 #2
On May 8, 10:31*am, "Robson Felix" <rob...@robsonfelix.comwrote:
It may sound like a silly question, but I would like to print a form or
component from within Visual Studio when designing such form component. Is
that possible?
Hi,

I do not think you can do it directly from the IDE (nor that I have
tried though). I assume that you tried Ctrl+P before posting right? :)

You can capture the screen, paste it in paint and then clip the
section you want and just print that.
Jun 27 '08 #3
Guys,

I really meant print (CTRL-P) or something else. Of course I know how to
copy & paste the current screen (or current window) into any graphical
application. That's not what I meant.
"Robson Felix" <ro****@robsonfelix.comwrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
It may sound like a silly question, but I would like to print a form or
component from within Visual Studio when designing such form component. Is
that possible?


Jun 27 '08 #4
Apologies again, I did understand what you were asking. I was merely
pointing out that, for a reasonably fast typist, you can pretty much
memorize a keyboard sequence that allows you to print or save pretty
much anything without much effort at all and little or no mouse
interaction. *Most* developers are certainly aware of screen grabbing
and pasting but many have not paused to realize how quickly and simply
it can be done in Vista. Yes, I know it's five keystrokes instead of
one, but it's what we've got right now and it can be done in about 2
seconds.

Bob

On May 8, 3:07*pm, "Robson Felix" <rob...@robsonfelix.comwrote:
Guys,

I really meant print (CTRL-P) or something else. Of course I know how to
copy & paste the current screen (or current window) into any graphical
application. That's not what I meant.

"Robson Felix" <rob...@robsonfelix.comwrote in message

news:%2***************@TK2MSFTNGP02.phx.gbl...
It may sound like a silly question, but I would like to print a form or
component from within Visual Studio when designing such form component. Is
that possible?
Jun 27 '08 #5

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

Similar topics

2
by: Thomas Miller | last post by:
Hello, I have built a c# class library (I will call it "Assembly1"), and built an installer that installs it. It is working well. I created a new asp.net application, right-clicked on references...
3
by: Michael Crawford | last post by:
Hi, Where would one start for this type of application: I want to create an vb.net container application that has the gives the end user the ability to install and uninstall plugins or add-in...
2
by: brazilnut | last post by:
Hi. Let me explain the setup. I am using Visual Studio .NET to develop a sort of add-in (COM class) for Excel called SQLAddin. It basically queries a SQL server and pulls in data. Now within my...
1
by: J F | last post by:
Hi all I'm totally new to Visual Studio, coming from Delphi. My question, I'm sure is pretty trivial. I'm using C# I have a component class (Project/Add Class/Component Class). In this...
3
by: Junkguy | last post by:
Hi, I'm having a problem in Visual Studio in C#, using .NET Framework 1.1 Version 1.1.4322 and Microsoft Development Environment 2003 Version 7.1.3088 I make a form A and subclass it with form...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
0
by: fiona | last post by:
FOR IMMEDIATE RELEASE Catalyst releases Catalyst Internet Mail .NET V5.0 Message Delivery and Management .NET Component Yucca Valley, CA, - November 2007: Catalyst Development Corporation,...
18
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.