Search results for query: *

  1. I

    Accessing text file after installation - easy question!

    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...
  2. I

    Exceptions on frame closing, funky workaround

    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...
  3. I

    Exceptions on frame closing, funky workaround

    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...
  4. I

    RS232 class not triggering events

    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...
  5. I

    RS232 class not triggering events

    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...
  6. I

    RS232 class not triggering events

    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...
Back
Top