Hi.
The 0x80020006 error is triggered. I've looked up this error in Microsoft site and with Google, I've only get a link that saying this an "Unknown name error" (article Q195533) or "DISP_E_UNKNOWNNAME" (article Q223165). I don't know if theese articles applies to my situation.
The strange is that this error is triggered if the form is loaded and the PLC is setted up and sent some data, but if first the PLC is setted up and sent data is loosed, and the the form is loaded this error isn't triggered.
Another one is that the OnComm event is never triggered, even when there are character in the serial port to be read.
I've already developed severals applications that use this OCX and never had this situation.
Best regards,
David.
======================
David Carlos Brunstein
System Analyst / Software Developer
Buenos Aires, Argentina
=============
David Carlos Brunstein
Application Architect
(Java J2EE/VFP/PB/VB)
Winnipeg, Manitoba