By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,259 Members | 1,709 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,259 IT Pros & Developers. It's quick & easy.

How to you use invoke() method instead addhandler?

P: n/a
'---------client side coding
Public Class Client
Inherits System.Windows.Forms.Form

Private theManager As InBetween.Manager

Public Sub New()
MyBase.New()

'here coding is removed for clarity

theManager =
CType(Activator.GetObject(Type.GetType("InBetween. Manager,InBetween"),
"http://localhost:7777/ChatApplication"), InBetween.Manager)
Try
AddHandler Me.theManager.evtReceiveText, AddressOf
Me.HandleReceivedMsg
Catch e1 As Exception
MessageBox.Show(e1.Message)
End Try
End Sub
'...

pls help me.
Thanks,
Shivkumar S.

Jul 20 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.