Problems with opening the serial port using MsComm
Hello everybody,
I am using VB6 with windows NT 4.0 SP 6. I am trying to use the serial port
to send some informatin to a bar-code printer. When I try to initialise the
port MsComm.OpenPort=true I get the message Error 8015: could not set comm
state; there maybe be one or more invalid communications parameters. I
changed the parameters in all possible ways and it still does not work! The
annoying thing is that copy command_file.txt COM1 from the DOS prompt works.
Any ideas what might be wrong or did anyone have similar problems?
Grzegorz
--
Grzegorz Adamiec
Max-Planck-Institute for Biogeochemistry, Jena, Germany