First of all, I do not see any specific event handlers in the OnComm method. This method is not only called when the receivebuffer threshold has been reached. It is also called other times, like a change in the CTS line or something like that.
I once had the same problem as you now have, but it...
I do not know exactly what you mean by "the first part of the transmission". are you transmitting one file in multiple sessions ?
Could you post the code you are using to receive the bits and bytes here, maybe it will be clearer then...
Rum am Morgen vorkommt Kummer und Sorgen...
Well simon kue, I have to be honest with you;
I never tried to do what you are trying in VB, but from what the documentation says it should be possible to create your own coordinate system with these properties....
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
Aren't you afraid that half way through the file an "!" will be found and the receiving computer stops too early?
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
You do not need to do so complicated:
When the mouse is over the area covered by your button, WM_MOUSEMOVE's will be generated (which translate into MouseMoves or something like that). Call the API TrackMouseEvent and set this up so the WM_MOUSELEAVE will be generated as soon as the mouse...
Did you also put the textboxes in an array, or are they still called txt1...txt6 and therefore completely separated from each other ?
If so, could you tell us exactly what goes wrong ?
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
You could place a low level hook, which captures input from all running threads (however, I do not think that this is supported on W95 and W98).
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
Maybe you can acomplish this by counting the number of characters actually entered by the user and then use the SelStart property to position the cursor.
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
You could set a timer, hook the keyboard and the mouse and reset the timer everytime there is input in the keyboard and/or mouse buffer.
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
Thanks for the quick response!
No it does not perofrm better after a while. And the problem is that the monitor is not old at all; I bought it a few weeks ago and it has always had this problem.
But I cannot compare with my old monitor, because the old one is not capable of refreshing higher...
I have a problem when I want to work in high resolution/high refresh reate (the screen gets kind of blurry).
My configuration:
Iiyama HA202Dt VisionMaster pro 512 monitor in combination with an Hercules 3D Prophet 9000 card.
Recommended resolution for the monitor is 1800x1440@85 Hz, but this...
Can you not just create a timer and pass a pointer to a timer callback routine instead of handling the WM_TIMER in a window class ?
Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
Are you sure that it is the EOF character that raised the event and not some other comEvent? Also, if it is not a plain text file, but a binary file of some kind, the danger exists that somewhere along the line an EOF character will be found.
Anyway, the MSCOMM control is not really designed...
Have a look at ScaleMode, ScaleLeft, ScaleTop etc.
These properties allow you to set up your owncoordinate system. Rum am Morgen vorkommt Kummer und Sorgen... Cheers !
Mr. Rum
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.