Accessing form controls within a private shared sub

PatRoy

Newcomer
Joined
Oct 19, 2004
Messages
2
Location
Petit-Rocher, NB, Canada
Hi,

How can I access a form control, let's say a textbox, within a private shared sub?

My situation: I'm learning about Async Sockets (server) and I want to insert the received text by the server in a textbox on my form. I read something about creating a delegate sub, but it wasn't very clear and helpful. So if anyone could help me with this, I would be very :D Thanks.

Pat
 
What Language are you using...

You could try Raising an event in your socket code and then on the form class catch the event.

PatRoy said:
Hi,

How can I access a form control, let's say a textbox, within a private shared sub?

My situation: I'm learning about Async Sockets (server) and I want to insert the received text by the server in a textbox on my form. I read something about creating a delegate sub, but it wasn't very clear and helpful. So if anyone could help me with this, I would be very :D Thanks.

Pat
 
Back
Top