PC Review


Reply
Thread Tools Rate Thread

Component Toolbox Problem

 
 
Tom
Guest
Posts: n/a
 
      17th Mar 2004
Hi

I have created a component inherited from the standard ComboBox but
cannot get it to appear in the toolbox for use within the project.

Anyone know how to get it on there?

Thanks

Tom
 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Mar 2004
* Tom <(E-Mail Removed)> scripsit:
> I have created a component inherited from the standard ComboBox but
> cannot get it to appear in the toolbox for use within the project.
>
> Anyone know how to get it on there?


Create a new usercontrol, then change its 'Inherits' line and add your code.

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
 
Reply With Quote
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      17th Mar 2004
Hi,

Build the control first then you can add it to the toolbox.

Ken
--------------
"Tom" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
>
> I have created a component inherited from the standard ComboBox but
> cannot get it to appear in the toolbox for use within the project.
>
> Anyone know how to get it on there?
>
> Thanks
>
> Tom



 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      18th Mar 2004
>Build the control first then you can add it to the toolbox.
Thanks this works, but it seems a little odd considering user controls
are added automatically.

>Create a new usercontrol, then change its 'Inherits' line and add your code.

As soon as i change the inherits line it vanishes from the toolbox.

Cheers Guys

Tom
 
Reply With Quote
 
Tom
Guest
Posts: n/a
 
      18th Mar 2004
> Build the control first then you can add it to the toolbox.

Oh, it appears that because it is part of an EXE this won't work
either.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solving Problem :C# VS 2005 Custom Component doesn't appears in ToolBox bar Alex0035@gmail.com Microsoft C# .NET 0 11th Sep 2007 12:18 PM
Component toolbox icon Lennart Nielsen Microsoft Dot NET Framework Forms 0 22nd Aug 2007 02:42 PM
Adding component to toolbox Amin Sobati Microsoft VB .NET 4 20th Sep 2004 08:28 PM
Component in Toolbox BluDog Microsoft VB .NET 3 30th Jul 2004 06:37 PM
How to disable my Component in the toolbox? Martin Andert Microsoft Dot NET Framework Forms 0 25th Sep 2003 01:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 PM.