Results 1 to 2 of 2

Thread: OpenComm

  1. #1

    Thread Starter
    Addicted Member Dim A's Avatar
    Join Date
    Jul 2000
    Posts
    201
    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

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    60
    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: [email protected]
    ICQ: 33122184

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width