-
Feb 24th, 2012, 12:19 PM
#1
Thread Starter
New Member
Ms comm control
hi,
i am using VB 6.0 to receive data from com port other than comm 1, comm2 ports like comm port 17, comm port 85.
then how can i use MS COMM CONTROL to receive data.
pls reply.
-
Feb 24th, 2012, 12:27 PM
#2
Fanatic Member
Re: Ms comm control
If you send me email at dick_grier@msn.com, I will send you a edited version of MSComm32.ocx that supports Com1-255. Note, this version of MSComm is not supported by Microsoft, so you use it at your own risk. However... I've used it for more than 10 years with no trouble.
I have the full description of the change that was done to achieve this, and lots more on the CDROM that accompanies my book, Visual Basic Programmer's Guide to Serial Communications 4.
Dick
Richard Grier, Consultant, Hard & Software
Microsoft MVP (Visual Basic)
-
Feb 24th, 2012, 01:54 PM
#3
Re: Ms comm control
Apparently MS Comm supports ports 1-16.
Just curious but why are you referencing such high port numbers? Surely you do not have 85 comm ports on your system do you?
-
Feb 24th, 2012, 01:58 PM
#4
Fanatic Member
Re: Ms comm control
USB serial port adapters (and other devices that use Virtual Serial Ports) commonly are installed with port numbers higher than 16, and it isn't always possible to renumber them to lower port number. Also, if you are distributing software for use by others, you'd like to be able to support such ports without the issue of dealing with the Com1-16 port limitation.
Dick
Richard Grier, Consultant, Hard & Software
Microsoft MVP (Visual Basic)
-
Feb 24th, 2012, 02:03 PM
#5
Re: Ms comm control
Learn something new everyday
I have worked with serial devices quite a lot but always with hardware com ports in the range of 1-16. I do have some usb serial adapaters but have not taken them out of the package yet.
-
Feb 26th, 2012, 02:08 PM
#6
Thread Starter
New Member
Re: Ms comm control
yes i have arduino board which connect at port 108 in my system. So that i want to interface VB and Arduino. Thnx for reply
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|