473,503 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

UserControl(?) Question

I've designed a UserControl that acts as a custom DataSource. However,
when I add it to a form, I don't want it *on* the form itself, but in
that little area below it (does it have a name?) where the built-in
Data controls such as the BindingSource go. How can I do that?

Sep 29 '06 #1
2 801
I'm not sure but I think it has something to do with using as a base class
the System.ComponentModel.Component. I seem to remember reading this
somewhere but can't remember much about it.
--
Dennis in Houston
"te******@hotmail.com" wrote:
I've designed a UserControl that acts as a custom DataSource. However,
when I add it to a form, I don't want it *on* the form itself, but in
that little area below it (does it have a name?) where the built-in
Data controls such as the BindingSource go. How can I do that?

Sep 29 '06 #2
Dennis wrote:
I'm not sure but I think it has something to do with using as a base class
the System.ComponentModel.Component. I seem to remember reading this
somewhere but can't remember much about it.
Thank you! Now that I know the *name* of what I'm trying to create, I
was able to Google a page which describes the whole process:

http://www.vbip.com/books/1861007167...er_7167_10.asp

I don't have a "Project | Add Component" menu option as described -
maybe because I'm using VB.NET 2005 Express? But I was able to copy
the code they showed into a class, and it works just fine.

Sep 30 '06 #3

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

Similar topics

1
302
by: Shawn | last post by:
Hi. When I create a new UserControl in Visual Studio it automatically declares it as "MustInherit". In order for me to call a method in my UserControl I have to remove the "MustInherit" part. Am I...
6
1967
by: Anonymous | last post by:
Hello, I am loading a usercontrol with the LoadControl method and need to pass some data to the property of that control. How can I do that? THanks
1
1006
by: Roy | last post by:
I have a datagrid, within that datagrid I have <columns> tag and within that I have the below TemplateColumn which calls to another datagrid (essentially and embedded datagrid within another...
0
833
by: Patrick.O.Ige | last post by:
The SignOut() button below doesn't fire if in a UserControl but if i move it to an ASPX page it fires.. It seems i can't get access to the SUB in the USERCONTROL. Am i missing something? Any...
0
274
by: Todd Lu | last post by:
I am trying to make a very simple user control in ASP.NET. I have a label and a textbox in a usercontrol.ascx form. I want to be able to call this form from another aspx form and change the label...
1
878
by: iwdu15 | last post by:
hi, how can i create a usercontrol that when added to the form via the toolbox, it shows up like a timer or dialog box? i have my cotnrol "Inherits System.Windows.Forms.Control" but that...
0
765
by: Leo | last post by:
I have a user control that exposes properties through Public Property methods. On one of the properties I would like to have a parameter: Public Property EMail(byval DisplayText as String) As...
2
1097
by: Pete Kane | last post by:
Hello All, I just created my first user control in VS 2005, it consists of a TabControl with two pages, and several textboxes and labels on each page, I built it, and added it to my toolbox, however...
2
2810
by: Mark Collard | last post by:
The ToolBar control allows you to add toolbar buttons. When you add a button, the button is not only displayed in the toolbar, but also added as a separator control in the form/usercontrol your...
0
7205
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,...
1
7006
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
7467
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
5592
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
3175
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
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1519
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 ...
1
744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
397
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...

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.