473,842 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I whip up a "designer window" in Visual Studio 2005?

A colleague gave me a project where there was a /designer/ window
for database connectivity (drag&drop from the toolbox), but I can't
find out how to get a /designer/ window in my own project.
Shift-F7 does not work. What do I have to do in order to get a
/designer/ window?

Jul 2 '06 #1
3 2378

Basically, you just have to double click on any class where the class
derives from Component. A designer window will pop up.

Hope this helps.

- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tin Gherdanarra" <ti*********@gm ail.comwrote in message
news:4g******** *****@individua l.net...
>A colleague gave me a project where there was a /designer/ window
for database connectivity (drag&drop from the toolbox), but I can't
find out how to get a /designer/ window in my own project.
Shift-F7 does not work. What do I have to do in order to get a
/designer/ window?

Jul 2 '06 #2
Which window you are talking?
Shift+F7 just show you WinForms Designer

"Tin Gherdanarra" wrote:
A colleague gave me a project where there was a /designer/ window
for database connectivity (drag&drop from the toolbox), but I can't
find out how to get a /designer/ window in my own project.
Shift-F7 does not work. What do I have to do in order to get a
/designer/ window?
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Jul 2 '06 #3
Tin Gherdanarra wrote:
A colleague gave me a project where there was a /designer/ window
for database connectivity (drag&drop from the toolbox), but I can't
find out how to get a /designer/ window in my own project.
Shift-F7 does not work. What do I have to do in order to get a
/designer/ window?

I appreciate your answers, but since I was confused, I asked
the wrong question. What I actually meant was the /Component Designer/.
I give an answer here, in the hope it might be useful for
groups.goolge-surfers in the future. Thanks all the same, now
let me be a good usenet citizen:

In order to create and configure a component with the component

- right-click on your project in the solution explorer to get
the solutions explorer.
- In this menu, there is a menu item "Add >". Select "Add >"
to get the "Add >" sub-menu.
- Select "new item" to get the dialog that lets you pick
an item to add.
- Select "Component Class"

A component designer window will show up to which you can add
items from the toolbox. Your configuration will be reflected in
automatically generated source code for your component.


Microsoft Visual Studio 2005
Component Designer
View Designer
Add Item

Good luck
Jul 2 '06 #4

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

Similar topics

by: Brandon Potter | last post by:
Forgive me if this has already been covered... I use dual displays and have 2 - 3 Visual Studio .NET 2003's open at the same time, however, without fail, at some point during my session, the title bar and border of one of the VS.NET's copies 1/2 of its height and 1/2 of its width, so I end up with this floating titlebar and border taking up the lower left corner of my 2nd monitor with an invalidated paint area. Is there a fix?
by: JohnEGee | last post by:
Hello, all, and TIA for any help you can offer. I've searched the Internet for answers and have finally come here. I've created a page (several, actually) with a link that opens a pop-up window. It's a pop-up window in the sense that it's smaller than the man page and is intended to be viewed and then closed. The problem is that if I include a link on that pop-up window HTML page, when the link is clicked the new page opens IN the...
by: Martijn Coppoolse | last post by:
Hello everyone, I've got two little apps which are able to create a window that displays something on the desktop, but are not clickable. Instead, when you click on the window, the item 'behind' or 'under' that window gets clicked. I'd like to know how to do this, using VB6, VB.Net, Windows Forms, or API functions. Any ideas?
by: GS | last post by:
Documentation states that there supposed to be a "Data Sources" windows in VS 2005. See below. I can not find Data menu in VS 2005 anywhere. Anybody sees that menu? Opening the Data Sources Window You display the Data Sources window by clicking Show Data Sources on the Data menu. The Data menu is only available when a project is open in Visual Studio.
by: lindanr | last post by:
In ASP.NET 2005 I have an onblur="window.close()" javascript event in the <body> tag. When I click on the window's scrollbar, the window closes. The same code works fine in ASP.NET 2003. Any ideas?
by: segecko | last post by:
Hi I have a created a custom usercontrol which inherites an Excel like usercontrol. In this usercontrol I have a custom property called SpreadTemplate, which is an enum with (at the moment) two members called None and Pipeline. When I set this property at design time it sets up the activesheet with a number of columns, rows, headers etc. This is all fine and working as it is supposed to. The problem is that all this information gets
by: MACKTEK | last post by:
Intro: I have recently started programming in C++/CLI. I have done a lot of research on the net trying to locate an answer to this problem, but there seems to be a lack of Tutorials and books on C++/CLI. I have read 4 of the published books as best I could. The one book that has a great deal of info for my interest was Pro Visual C++/CLI and the .NET 2.0 platform by Fraser. Problem: Using VS2005 C++ and writing C++/CLI code, and using...
by: Hermes | last post by:
Is there a way to write the information that appears in the "Messages" window in SQL Server Management Studio to an external log file? I'd like to keep a record of these logs as I run each script once a month and it would be useful to compare run times for each step. We have several places where we insert variations of the following code along the way which gives us a snapshot of how long a particular step took: SET @Msg = ' - Starting...
by: talk2pk | last post by:
Hi, I want to implement the pinned behavior of an Immedidate window which can be observed while debugging a C# code.Can we do that?Can anybody help me in providing start up information for implementing it?
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...
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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...
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,...
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...
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...
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 we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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.