How to make a usable toolbar with mycomponent

systan
systan used Ask the Experts™
on
How to make a usable toolbar with my own component?
or,
I'm not sure about the question,

Let me explain,
I have made TCPclient and Server using .NET Socket, I want this to be used on some other projects.
But not the code Itself, but to make it a component that will be seen in .Net toolbar.

Do you have any links that is easy to follow?
thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014

Commented:
Trouble is that this is not a UI component. Its purely code base right?

Author

Commented:
Trouble is that this is not a UI component.
yes, its not a ui
Its purely code base right?
yes, its a code base,
like:
Private tcpServer As TcpListener
    Private ServerclientTCP As TcpClient
    Private encoder As New ASCIIEncoding()
Private ClientHash As New Hashtable
    Private Shared clientList As New List(Of TcpClient)
    Private Shared clientNum As Integer = 0
    Private listenStop As Boolean
    Private ThreadedClient As Thread
Private Sub ClientListener()
        While Not listenStop
...
...

Open in new window


is it really a big problem, and impossible i guess?
Most Valuable Expert 2012
Top Expert 2014

Commented:
You would be better off compiling it into a DLL and then you can create and use objects in code.
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Author

Commented:
Ah, I see it's impossible?
Ok, can I have the links that you knew how to do that?
thanks
Work it as an ActiveX is possible, just like how you add a reference and start using

Author

Commented:
Ok, using the .Dll to work it as an ActiveX?
Please show some links, lol
thanks
Most Valuable Expert 2012
Top Expert 2014
Commented:
Don't go the ActiveX route. In .NET, its components vs classes where components provide designer support

Check following

http://www.vb-helper.com/howto_provide_design_time_support.html

http://www.devasp.net/net/samplechapters/7167/default10.asp

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial