Page 1 of 1

Error with onread event --VB2005 won't build

Posted: Tue Feb 16, 2010 7:25 pm
by tseinc
I'm trying to run the sample program with VB2005 running on Win7 x64. The OnRead event gives me the following error:

Method 'Private Sub Port_OnRead(Data As String)' cannot handle Event 'Public Event OnRead(ByRef Data As Object)' because they do not have the same signature.

I'm trying to demo the program, but it won't build with the error. I can't run it with the build error. What can I do to fix this?