Hello all.
Consider you want to import available serialports into a combobox while option strict is on. following error occurs during building:
Error BC30512 Option Strict On disallows implicit conversions from 'Object' to 'Object()'.
I'm still lagging in data conversions.Code:Dim MyPort As Array MyPort = IO.Ports.SerialPort.GetPortNames() ComboBox1.Items.AddRange(CObj(MyPort))




Reply With Quote
