Hello, in my VB.NET program I continually monitor a serial port and display a status of a connected device, including "disconnected" if we haven't heard anything for a few seconds.
Well, whenever I throw up a modal msgbox I disconnect. I guess this makes sense because the modal dialog box blocks my form. However... is there any way to use modal messageboxes in an appllication and continue to handle certain events? (such as my serial input)
I realize I can create my own forms and display them non-modally, but that is a pain and what I'm trying to avoid. Besides, I *like* the modal behavior, it's appropriate -- I need the user to make a decision before he/she proceeds. I just don't want to "disconnect" in the meantime.
Thanks for any thoughts.