forcing the comm port close

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: forcing the comm port close

  1. #1
    Join Date
    Aug 2004

    forcing the comm port close

    [Originally posted by andre]

    Say I have an "external" program,one I have not written, that access comm port 2 and I have another program, which I wrote in visual basic, who also wants to access that port. How do I go about forcing the comm port close?

  2. #2
    Join Date
    Aug 2004

    Re:forcing the comm port close

    [Originally posted by John Citizen]

    From what i am aware, if another program has a comm port open you can not access it or close it.

    I would say it is impossible without terminating the other program or rebooting. However i last time i said something couldnt be done i was proven wrong.

    I do a lot of comm work and generally if a comm port is open by another program a simple message stating the comm port is in use is all you can do.

    John Citizen
    Neocom IT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center