pepin
August 29th, 2001, 09:24 AM
Hi!
I have the following problem with my code: when it goes through MSComm1.portopen=true, there is an error message "Port already open". If I step over that line, later, when the code is MSCOmm1.output=Chr$(stx),where Const stx=&H2, the error message is "Operation valid only when the port is open".
If I put my cursor over MScomm1.portopen, the variable is said to be False...I use the exact same code in an other form and it works very well.
Please help me!
Thanks
Valérie Pepin
I have the following problem with my code: when it goes through MSComm1.portopen=true, there is an error message "Port already open". If I step over that line, later, when the code is MSCOmm1.output=Chr$(stx),where Const stx=&H2, the error message is "Operation valid only when the port is open".
If I put my cursor over MScomm1.portopen, the variable is said to be False...I use the exact same code in an other form and it works very well.
Please help me!
Thanks
Valérie Pepin