p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

vb_howto thread: How can I locate the first port available and open it


Message #1 by rgallegos@v... on Fri, 18 May 2001 15:37:15
Hi

The 8002 error code appear when the ports are not found.
What number error appear when the port it?s locate it, but it cannot open 
it.

I know how open the port with MsComm component.
(I attempt use the API Code, but it's more complicate to me)

For example,

The port available its comm2(and I can dial to other modem) , but I find 
comm1 first (I can not dial and can not use it, but no error appears when 
I locate it and I try to open it). Others ports are not detected and I 
capture the code error with Debug.Print


How can I locate the first port available and open it ?

Thank in advance.

RGH

  Return to Index