DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    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
    Posts
    43,023

    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

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links