Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

Add custom control programmatically on Toolbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
R.A.F. - 09 Oct 2007 13:38 GMT
Hi,

2 Days ago i wrote a post about "how to add programmatically custom
control on Toolbox".
I'm still blocked with this issue.

Is there someone who did it under C#.NET 2005 and 2008 ?

thanks a lot,

RAF
Peter Bromberg [C# MVP] - 09 Oct 2007 15:11 GMT
If you are talking about Windows Forms, you can create a userControl and add
it to the Toolbox via "Add/Remove Items" context menu on a tab in the Toolbox.
If you refer to ASP.NET custom controls, same way.
-- Peter
Recursion: see Recursion
site:  http://www.eggheadcafe.com
unBlog:  http://petesbloggerama.blogspot.com
BlogMetaFinder:    http://www.blogmetafinder.com

> Hi,
>
[quoted text clipped - 7 lines]
>
> RAF
R.A.F. - 09 Oct 2007 15:40 GMT
Hi Peter,

No it's not exactly true.
In fact, i've developed my own control and when i will sell it, i will
allow end user/customer to install it on their own MS Visual studio
environment.

For that i would like to create a small exe which will install the
control (included into a dll file) to their Toolbox.
therefore, i would like to create a TAB with a particular name (in my
example : RogTech) and to add into this tab, all my controls (or items).

for now, i'm able to create this tab, but it always includes only the
"Pointer" item... it never has my control and i do not know why :-(

RAF

> If you are talking about Windows Forms, you can create a userControl and add
> it to the Toolbox via "Add/Remove Items" context menu on a tab in the Toolbox.
[quoted text clipped - 17 lines]
>>
>> RAF

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.