473,698 Members | 2,808 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2696
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...@robsonf elix.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...@robsonf elix.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****@robsonf elix.comwrote in message
news:%2******** *******@TK2MSFT NGP02.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...@robsonf elix.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...@robsonf elix.comwrote in message

news:%2******** *******@TK2MSFT NGP02.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
1925
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 and selected "add reference". My "Assembly1" is not showing up under the list of components under the .NET tab. I have to click "browse" and manually locate the dll. How do I make it show up in the list of available .NET objects? Tom
3
2607
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 modules. As the user installs the various components, additional functionality to the application is integrated. How would I structure or orchestrate a project plan that makes use of add-in
2
15772
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 Visual Studio Project, the SQLAddin references a compiled COM object built with Visual Studio 6.0 called SQLOld.dll. When I complie the project I get the following files in my \bin directory SQLAddin.dl SQLAddin.pd SQLAddin.tl Interop.SQLOld.dl ...
1
2997
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 component class, I drop an ImageList.
3
2426
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 B. I place a protected component on A and anchor it top,left,bottom,right. If I change the size of form B, component G will resize with it proportionally. But, when I recompile, the derived component G on form B will
13
3936
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 .NET creates i get the following error message: "An unhandled exception of type 'System.IO.FileNotFoundException' occurred in VisioTimeline.exe
122
7369
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 outside of that class. This structured way allows visual tools to host components, and allows programmers to build applications and libraries visually in a RAD environment. The Java language has JavaBeans as its component model which allows Java...
0
1104
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, publisher of SocketTools, SocketWrench and LogicGem, today announced the release of Catalyst Internet Mail .NET V5.0. For developers who are creating .NET applications, this component offers an easy way to add email functionality. It's a managed...
18
4492
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 on the report server. See the error log for more details. Do I have something configured wrong? I do not knw where to find the error log to review it.
0
8674
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9026
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8893
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6518
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4366
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.