944,113 Members | Top Members by Rank

Ad:
Nov 14th, 2004
0

Com5 without MSComm

Expand Post »
I have a little VB6 program that I wrote a few years ago. I use it for drag and drop dialing through my external modem( or in some cases my speaker).
Recently, my modem died and I bought a new external one, but the new one goes through the USB and appears as com5. This won't work with the VB command commopen().

Hyperterm has no problem with com5, and works with either com5 or a name string from the same drop down list. The name used is "SupraMax 56k USB". The latter leads me to wonder if this type of modem should be opened more like a file, with a different command. Apparently this USB type modem can't have registers and interrupts in the usual sense of a serial port.

I remember going through considerable pains initially trying to make the program work with the MSComm object, and finally got it going, but later took it out because people were saying that it had some kind of copyright restrictions by Microsoft (I think).

I would appreciate any thoughts from anyone with knowledge about a reliable way of dealing with com5. Thanks


dahljam
Similar Threads
Reputation Points: 10
Solved Threads: 0
Unverified User
dahljam is offline Offline
1 posts
since Nov 2004
Feb 9th, 2010
0
Re: Com5 without MSComm
MSComm32 is not part of all versions of VB

If you got MSComm32 in your version then you may also deploy it.

If you didn't get MSComm and you added it manually yourself then it may work on your development computer but you won't have the developer license so deployment may fail (ie it won't work on your users' computer)

<<snip>>
Last edited by Nick Evan; Feb 9th, 2010 at 1:21 pm. Reason: removed plug
Reputation Points: 6
Solved Threads: 0
Newbie Poster
MikeStump is offline Offline
4 posts
since Feb 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: mscomm
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: mscomm program problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC