Custom Control in a DLL and Import in Toolbox?!

If you have created any custom controls for VB, C#, C++ or any other language then post them in here.
8 posts Page 1 of 1
Contributors
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Hey Guys,

i have a Question...i just Created a Custom TabControl and made a DLL from it but what i need to add to the Code so that i can add the DLL into the VB Toolbox and Drag it to a Form just like we do with the Normal TabControl ?!

Greetz our Napster
Thanks in Advance!
YouTube Downloader v3.0
Image
Image
Image
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Are any statements started with private?
You're crazy!
I'm not crazy, my mother had me tested. ~Sheldon Cooper
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

Did you make it a UserControl, Control, or inherit the TabControl?

Control = non-visual base for components
UserControl = visible base for components
TabControl = inherits TabControl and modifies it.\
Image
User avatar
2cool4cereal2
VIP - Donator
VIP - Donator
Posts: 151
Joined: Thu Oct 14, 2010 3:26 am

Don't you right click on the tool box, go to choose tools/items, then select your .dll file?
"I try to be modest at all times, and that's what makes me better than everyone else."
Image
Image
Image
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

2cool4cereal2 wrote:
Don't you right click on the tool box, go to choose tools/items, then select your .dll file?
Exactly. I must've misread the problem. :S Thanks for answering him properly.
Image
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

It Inerhits original tabcontrol and then modified....
When importing it then it says there is nothing to import into the toolbox anyway....
YouTube Downloader v3.0
Image
Image
Image
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Set the framework to 2.0
http://vagex.com/?ref=25000
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Axel wrote:
Set the framework to 2.0
Ok,ill try it later...i am away now for some Days ;)
YouTube Downloader v3.0
Image
Image
Image
8 posts Page 1 of 1
Return to “Custom Controls”