|
-
Aug 22nd, 2000, 12:18 PM
#1
Thread Starter
Addicted Member
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/showthrea...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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|