PDA

Click to See Complete Forum and Search --> : MSCOMM32.OCX Help!


DJ Fruity
Nov 25th, 1999, 03:21 PM
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!"

DOK
Mar 20th, 2000, 07:16 PM
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

Chris
Mar 20th, 2000, 08:42 PM
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!