Thanks, Droops.
That is helpful information that I am a bit surprised I didn't know. I have never read a VB book, I am taught via the great Google, so I guess I miss these things.
I do appreciate the info, it will help.
-atunplatino
Hello I am using VB6 and am trying to use the Common Dialog control to allow my user to name a file that the program is creating. The trouble is I cannot figure out how to generate an alert to the user if they have selected a filename that is already taken and are thus about to overwrite an...
Ok I have a working fix to the problem which is this: at the end of my OnComm routine, I simply check mscomm1.InBufferCount and if it has anything in it, I manually Call MsComm1_Oncomm again. Thus I do receive all the data but not neatly in a convenient byte array; in a textbox that I must then...
Ok; in text mode I do not experience any problems looping back long paragraphs without errors. But here is some of my binary mode code anyway:
BTW this code does not include the basic mscomm settings like baud, open port, etc...
First the send button
Private Sub test1_Click()
Dim...
Thanks for the help George.
My RThreshold is indeed set to 1.
This is the problem: MsComm fires one time and retrieves all data but 2 bytes. Then if I do a watch on the inbuffer, it still contains 2 bytes of data but MsComm does not fire again despite what MSDN claims.
PS: also contrary to...
I am using VB6's MSCOMM (mode binary) to interface to the serial port.
The specific question is; Has anybody else run into a problem where OnComm does not fire when there is data waiting in the receive buffer?
Here is my broader application:
When attempting a simple loopback test of sending...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.