using vb 6 comm control in vb.net

D

David

I am trying to use the vb 6 comm control in a vb.net
project. I am sending ok, but for some reason can not
receive anything. I tried using the oncomm event which
never is fired. I also just tried to use the input method
which always returns Nothing. Does the vb 6 comm control
work in vb.net?
 
H

Herfried K. Wagner

Hello,

David said:
I am trying to use the vb 6 comm control in a vb.net
project. I am sending ok, but for some reason can not
receive anything. I tried using the oncomm event which
never is fired. I also just tried to use the input method
which always returns Nothing. Does the vb 6 comm control
work in vb.net?

MSComm is "out of date" and should not be used.

'Replacements':

Thomas Scheidegger's Serial Port FAQ:

http://tinyurl.com/aawh

http://www.corradocavalli.cjb.net/

Regards,
Herfried K. Wagner
 
D

Dick Grier

Hi,

You can download NETComm.ocx from my homepage. It is free, and functionally
equivalent to MSComm32.ocx.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top