|
-
Jun 16th, 2007, 02:38 PM
#1
Thread Starter
Addicted Member
[2005] Doubt about own controls
OK, I've made my own control using VB.Net... but now I'm having doubts... how the hell can I use it on a form after adding it to a project?
I've realized how to add it after compiling it, but I'd like to know how to use it when I add the control source to another project, that way I could make some customizations to it for each project.
-
Jun 16th, 2007, 02:49 PM
#2
Re: [2005] Doubt about own controls
in the project menu, click "add existing item", add the class file from there. It'll appear as usual in your solution explorer.
-
Jun 16th, 2007, 02:55 PM
#3
Thread Starter
Addicted Member
Re: [2005] Doubt about own controls
I guess I didn't explain myself very well... I know how to add it to the project, but I don't know how to make that control appear in the controls list, so I can drag it to the form designer.
-
Jun 16th, 2007, 03:01 PM
#4
Re: [2005] Doubt about own controls
Right click your toolbox and click "Choose Items..."
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 16th, 2007, 03:01 PM
#5
Re: [2005] Doubt about own controls
aha. You need to build the project. Theres a menu called 'Build', cant be missed
Or, just add it through code. But building your project will make it appear in the toolbox, might be easier.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|