Results 1 to 2 of 2

Thread: HELP: Open COM PORT , now how do I close com port?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2007
    Posts
    71

    HELP: Open COM PORT , now how do I close com port?

    Hi Guys
    I was playing with the tutorial bellow


    http://www.devx.com/vb2themax/Tip/18343

    Now the com port check always says port is not available

    Is there a way to close the com port?

    Thank you

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Feb 2007
    Posts
    71

    Re: HELP: Open COM PORT , now how do I close com port?

    To add more info if I run

    MSComm1.PortOpen = False

    in the immediate window I get this

    "DEVICE is not OPEN"

    and if I run

    MSComm1.PortOpen = TRUE

    in the immediate window I get

    "PORT already OPEN"

    Then I read this article from Microsoft
    http://support.microsoft.com/kb/77563

    it says that beside restarting there are ways to program to reset com port
    any one know how to do it?

    I also tried to find freeware that will reset com port - still to no available.

    I don't want to reset, because this happens quite often at our client site, and it is not look very good when we tell them to reboot the computer every time this happen

    thank you

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