I run a .exe from my code and I can tell that it is still initializing because there as an hour glass. I mean Win2000 must know that it has not finished or else it wouldn't show the hour glass until done.
What I want to do is to be able to tell when it is done initializing before I go on with my code. The .exe stays open and running during the entire life of my VB app. I just want to wait for it to finish initializing before I start communicating with it.
I have been using a timer loop where I check if the exe is available and if not I keep looping.
But I want to know if there is a more clean and for sure way of telling.
Is there a Win API that I can use?