PRB: Run-Time Error 8015 If You Try to Open the Serial Port with Microsoft Comm Control (318832)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q318832 SYMPTOMS
If you try to open the serial port with Microsoft Comm Control, you may receive the following error message:
Run-time error '8015': Could not set comm state, there may be one or more invalid communications parameters.
CAUSE
This behavior can occur if a serial printer driver is using the serial port that you are trying to open.
RESOLUTION
To resolve this behavior, disable the serial printer or attach it to another port. If you are using Microsoft Windows 2000 or Microsoft Windows XP, create a virtual COM port.
STATUS
This behavior can occur if the serial printer driver is not working correctly, and is not a problem with the MSComm32 Control.
REFERENCES
For more information, see the DefineDosDevice function documentation in the Microsoft Developer Network (MSDN) under Platform SDK.
Modification Type: | Major | Last Reviewed: | 11/3/2003 |
---|
Keywords: | kberrmsg kbModem kbprb kbSerial KB318832 |
---|
|