PDA

Click to See Complete Forum and Search --> : OpenComm


Dim A
Aug 22nd, 2000, 12:18 PM
OpenComm used to be used in VB3.0 to open commPorts via an API call, but I'm using VB5 now and need to accomplish the same thing.

Basically, I need to open a couple comm ports, print some text and then close them. Since this is done only once at the start of the program as an equipment test a bulky activeX control is not a good solution. I'd also like something that is faster since MSComm control takes .5 seconds to open and close a port...

I've found a thread that sort of talks about what I need to do:
http://forums.vb-world.net/showthread.php?threadid=25532

Could anyone give me more details on the syntax with using CreateFile and WriteFile API calls to open Comm ports?

Thanks,
Dim A

gfrench
Aug 24th, 2000, 04:51 PM
The information you requested is too large to fit in this reply, if you contact me i will gladly mail them to you, they are two html files.


Grant French

e-mail: grant.french@libertysurf.co.uk
ICQ: 33122184