Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MSComm Error 8021 with desc.: "Application-defined or object-defined error"

12 views
Skip to first unread message

Rino Ouellet

unread,
Aug 20, 2004, 7:25:10 PM8/20/04
to
Can someone tell me the possible causes of the error I have?

I have the error 8021 (Application-defined or object-defined error) in a Sub
that contains the line

FrmMain.MSComm1.Output = (Q$)

where Q$ is a string we send on Com1. It contains some other lines, but it
only assign a variable to the value 5 and set an Image visible and another
image invisible.

In the current circumstance, I suppose the error 8021 is caused by MSComm
control. The description of the error 8021 for MSComm control is "Internal
error retrieving device control block for the port".

So what could be the causes of this "Internal error retrieving device
control block for the port"?

Note: The error happens on our client's computer but we can't reproduce the
trouble on our computer and it seems to work properly here. I use Visual
Basic 6.0.

Thank you!

--

My E-mail: rinouell...@globetrotter.net


0 new messages