So VB 6.0 had MSComm. VB.net 2.0 has its own form for reading from the comm port, but VB.net 1.0 didn't. I've read that you were supposed to use MSComm for 1.0, but it appears to be unlicensed on my computer (I don't have 6.0?). Can anyone point me in the right direction. I want to read text streaming from a GPS over comm 1 into my program and use a certain part of the string to update the program.
Using streaming Serial Data in VB.net v1.0
Collapse
X
-
I get an error at runtime:Originally posted by PlaterYou don't have mscomm.dll?
"An unhandled exception of type 'System.Runtime .InteropService s.COMException' occurred in ConsoleApplicat ion1.exe
Additional information: Class is not licensed for use"
it occurs:
Sub Main()
'New a MSComm control
Dim MSComm1 As MSComm
MSComm1 = New MSComm() <== hereComment
-
I am using .NET. I've never played with dlls at all in any programming so I guess I got some reading to do to figure them out. Any pointers as to where I should be looking?Originally posted by PlaterI thought you were in .NET?
You should be using DLLImportComment
Comment