This should be a fairly easy one, but I don't have any info on Directcc.exe or the relevant Windows API that may be involved. WHat I want to do is have the program load Directcc.exe (which I have done via shell), and automatically "listen" or "talk" dependent on how directcc.exe has been setup on the machine (at the moment all it does is SendKeys "{Enter}" to click on the talk/listen button). Now it needs to wait until a connection is made, and then proceed with the rest of the code (which is working). Your help will be very welcome!

Matt