Ok, this should be an easy one. My application reads some information from a readme fie and adds it to a Help->Readme dialog. I assume the "right thing to do" is to store the readme under "Program Files" (in the final installable version)... how can I access this file without using absolute...
Ok, I've solved the problem myself. I was right about the cause of the problem. Adding a msgBox fixed things because it induced a pause (until you click it) while still letting the main form tidy things up in the background. When I added the pause manually, I used the thread.sleep() method...
Ok, here's the overview. I'm writing an application which (among other things) can do repetitive writes to the serial port via a timer (the timer runs on a 20 ms period or so, and a write occurs when the timer runs out (over and over). Everthing works fine, except if you try to terminate the...
Ah... that makes sense. I was under the impression that those events were triggered via Read() and Write() as well, and that CommEvent would be triggered all the time. Thanks a lot for the help!
I actually found a revamped version of the code which supports CommEvent, and fits a little better...
http://www.microsoft.com/downloads/details.aspx?FamilyID=075318ca-e4f1-4846-912c-b4ed37a1578b&DisplayLang=en
It comes with that sample. It seems to be what most people are using, and it's rather small (600 lines or so).
The class claims that it raises TxCompleted, DataReady, and (one would...
I'm using Microsoft's RS232 class to access serial ports via VB.net (.net 2.0).
It seems to work alright... Monitoring the raw serial data on anotehr computer (using a crossover cable) shows the right stuff coming through. But the three events that the RS232 class seem to trigger never...
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.