i'm trying to use the msComm ActiveX on vb.net and when i to this code:
VB Code:
serial = New AxMSCommLib.AxMSComm serial.CommPort = CommPortt serial.Settings = CommBaudRatee & ",N,8,1"
i get an error:
serial.CommPort <error: an exception of type: {System.Windows.Forms.AxHost.InvalidActiveXStateException} occurred>
what should i do to use this ocx on .net??
Thank you,
Guilherme Costa




Reply With Quote