shinoy alphonse

shinoy alphonse

  • NA
  • 98
  • 48.7k

Exception of type 'System.Windows.Forms.AxHost+ InvalidActiveXStateException' was thrown.

Mar 12 2008 5:31 AM
hai friends,

   Am just trying to read data from a serial port , when i initilize, the second line throwing an exception. i added both axinterop.mscommlib and mscomlib.
 AxMSComm com = new AxMSComm();
com.CommPort = 1

This is the exeception
'Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown.'

Answers (1)