Link to home
Start Free TrialLog in
Avatar of systan
systanFlag for Philippines

asked on

How to make a usable toolbar with mycomponent

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
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Trouble is that this is not a UI component. Its purely code base right?
Avatar of systan

ASKER

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?
You would be better off compiling it into a DLL and then you can create and use objects in code.
Avatar of systan

ASKER

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
Avatar of systan

ASKER

Ok, using the .Dll to work it as an ActiveX?
Please show some links, lol
thanks
SOLUTION
Avatar of adriankohws
adriankohws
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial