Hi.
I am newbie in VB.Net
I am just try to convert C# statement into Vb.net that is
comm.MessageReceived -= new MessageReceivedEventHandler(comm_MessageReceived);
Reference: GSMCommunication.dll
Where MessageReceived is an Event and comm_MessageReceived is a sub function which need to AddressOf with that event
i try this one to
RaiseEvent comm.MessageReceived += New MessageReceivedEventHandler(AddressOf comm_MessageReceived)
but intelligence responds "End of statement expected"
Please Help me to solve it
Thanks in advance
I am newbie in VB.Net
I am just try to convert C# statement into Vb.net that is
comm.MessageReceived -= new MessageReceivedEventHandler(comm_MessageReceived);
Reference: GSMCommunication.dll
Where MessageReceived is an Event and comm_MessageReceived is a sub function which need to AddressOf with that event
i try this one to
RaiseEvent comm.MessageReceived += New MessageReceivedEventHandler(AddressOf comm_MessageReceived)
but intelligence responds "End of statement expected"
Please Help me to solve it
Thanks in advance