Problem while using OCX

vijayakumarN

New member
Joined
Apr 8, 2009
Messages
2
Programming Experience
Beginner
Hi all,

Currently we are using a third party ocx in vb.net 2003 to communication with their hardware module. The problem is the ocx gives this error while running

"An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll
Additional information: Object type cannot be converted to target type."

This error we face in both vb6 and .net.
But the example code given by them in vb6 is running perfectly without error. Can anybody help us in this?.

:rolleyes: :rolleyes:
 
Back
Top