How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project?
How do I add a user control to a project? How do I add a user control to a project?
How do I add a user control to a project?
Go Back  Xtreme Visual Basic Talk > > > How do I add a user control to a project?


Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2010, 01:50 PM
celtic celtic is offline
Centurion
 
Join Date: Mar 2009
Posts: 132
Default How do I add a user control to a project?


Hi all.

I created a user control (VB2010 Express) using the ideas off the web.
(Basically, create a class, add a user control, delete the originally created class, design & debug control).

Then I was supposed to build the control and add it to the toolbox (by right-clicking and selecting "add item").

But it seems I cannot add the control to the toolbox (there is no context menu), so that I can add it to other projects.

Can someone tell me how to add it to the toolbox, or if that isn't possible in VB2010 Express, how can I add it manually to a project?

--Mike
Reply With Quote
  #2  
Old 04-27-2010, 02:32 PM
AtmaWeapon's Avatar
AtmaWeaponHow do I add a user control to a project? AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

I just tested it in both C# and VB .NET 2010 Express and had no troubles. See here for a demonstration.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #3  
Old 04-27-2010, 08:47 PM
celtic celtic is offline
Centurion
 
Join Date: Mar 2009
Posts: 132
Default

Yay...it works...

Thank you AtmaWeapon!

I think I had to build the solution and not just the "control" for the .dll to be able to be loaded to the toolbox.

Thankyou muchly

--Mike
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project? How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project? How do I add a user control to a project?
How do I add a user control to a project?
How do I add a user control to a project?
 
How do I add a user control to a project?
How do I add a user control to a project?
 
-->