Posts: 1
Joined: Tue Feb 16, 2010 7:20 pm

Error with onread event --VB2005 won't build

Tue Feb 16, 2010 7:25 pm

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?

Return to “SerialTools”