Home All Groups Group Topic Archive Search About

UserControl(?) Question

Author
29 Sep 2006 11:38 AM
teslar91
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?

Author
29 Sep 2006 11:24 PM
Dennis
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


Show quoteHide quote
"tesla***@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?
>
>
Author
30 Sep 2006 1:48 AM
teslar91
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/chapter_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.