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?
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.
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