Ok, this question is regarding the comm control for a PocketPC device, but since I'm still programming in VB (eVB actually), and the eVB message board isn't helping, so I need the help from someone here

Ok, so I'm using the CE COMM control, which has all the same methods, events, and properties as the MSComm control. I set the comm control with the following settings at runtime to comply with the necessary settings for the device I'm communicating with:

Comm.CommPort = 1
Comm.Settings = "1200,N,8,1"
Comm.RThreshold = 1

Now, the device I query (via a text command terminated by a carriage return) in the Comm.Output method sends back a text string terminated by a carriage return. This part works fine. I have my PocketPC getting some data from the machine just fine. However, sometimes, depending on the command I send the device, it puts a line feed after the carriage return. When this happens, and I use Comm.PortOpen = False then the whole application just hangs. It won't respond to anything at all! Now, I've used the EXACT same code with the corresponding controls in a VB6 app (instead of eVB) and it works PERFECTLY all the time...

So my question is...Does anyone know why on earth eVB would just hang, completely unresponsive, when I call Comm.PortOpen = False

Please, Please help me out if you have any ideas whatsoever!!! I don't care how silly or remedial your idea may sound, I need some serious help because I can't finish this PocketPC project until I get past this problem!

Thanks everyone!