Serial Port Error

harris

New member
Joined
Feb 6, 2015
Messages
1
Programming Experience
1-3
Hi guys: Can any one please tell me how to I change this line as I am getting error on Settings in VB.NET
Thanks

'Me.Settings = frmWeightMain.SerialPort1.Settings 'Error

Me.CommPort = frmWeightMain.SerialPort1.PortName
 
Please don't ever just tell us that an error occurs. If there's an error then there's an error message and it is provided to help you diagnose the issue.

That said, looking at the System.IO.Ports.SerialPort class, I see no member of any kind named Settings, so it seems like you're just trying to invent a property that doesn't exist. That could be an issue.
 
Back
Top