Instead of MSComm in VB6 what we can use in VB.NET

remya1000

Well-known member
Joined
Mar 29, 2007
Messages
122
Programming Experience
Beginner
I’m tring to convert a VB6 program to VB.NET. This a Caller ID program.

In VB6 its using MSComm. So when an calls comes, it will check the user, phone number, number of rings, incomming calls, outgoing calls, no answered calls, time off Hook, time on Hook etc… and incoming call, Outgoing calls, no answered call details will be saved in different database.

I couldn’t find MSComm in VB.NET. Instead of MSComm what I can use in VB.NET for checking Caller ID details. I’m not getting any idea, I searched lots. But not getting any idea.
So if you have any idea please let me know. that will be a great help for me.

Thanks in advance.
 
System.IO.Ports namespace is new from .Net 2.0 and it has a SerialPort class. For you with older .Net you can still use old MSComm if you have it installed in system, adding reference (or adding toolbox item) from COM list. You can also check out this: Visual Basic .NET Code Sample: Using the COM Port in VB.NET
 
thanks a lot for your help.... now i can add MSComm to my project. thanks for that link too... once again thanks very much....
 
Back
Top