|
-
Nov 25th, 1999, 04:21 PM
#1
Thread Starter
New Member
Hi y'all,
I have a smidgen of a problem. I have written a program in VB5 that sends messages to another computer, connected via the serial cable on COM2. The only problem I have, is that it only sends and receives 8 text characters! Is there a way of sending more than 8 characters? Do I need to send the other characters in blocks of 8? I am using the Microsoft Cusotm Control MSCOMM32.OCX.
It'll be great if you could help!
------------------
Cheers,
Chris M
"Your BESTEST Buddy!"
-
Mar 20th, 2000, 08:16 PM
#2
New Member
MSComm
As far as I know there is a Input Len thing that defines the length of the amount of charcters you can use. Anywa How do I know? I am on this site to try and find help myself. I need to write a program to poll a datalogger every second using MSComm. It is just that I noticed you are using VB 5.0 sam as myself. Is it Pro or ordinary? Anyway I have ordianry and I need to knw is there a special way to rgister the ocx. Also any help with code would be appreciated. Thanks
-
Mar 20th, 2000, 09:42 PM
#3
PowerPoster
to retrieve all the data from the On ComEvReceive events by set the InputLen=1 and to determine when to strat download all the received data from the buffer...this can be done by manupulate the value of the MSComm1.InBufferCount (this use to determine how many character have been received by the MSComm control.
Hope this can help!
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
|