Avatar of systan
systan
Flag 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
.NET ProgrammingC#Visual Basic.NET

Avatar of undefined
Last Comment
systan

8/22/2022 - Mon
Nasir Razzaq

Trouble is that this is not a UI component. Its purely code base right?
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?
Nasir Razzaq

You would be better off compiling it into a DLL and then you can create and use objects in code.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
systan

ASKER
Ah, I see it's impossible?
Ok, can I have the links that you knew how to do that?
thanks
adriankohws

Work it as an ActiveX is possible, just like how you add a reference and start using
systan

ASKER
Ok, using the .Dll to work it as an ActiveX?
Please show some links, lol
thanks
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
adriankohws

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
systan

ASKER