VB: How-to: Launch an App and wait until it’s loaded

If you have a need to launch an application from your VB.Net app, but need to wait till the application has completed loading before you continue processing then check out the snippet below.

I have seen many ways of doing this, mainly based around wait timers or CPU levels.. However, so far I have found this one to be the most reliable..

 

Mike Hudson

Mike Hudson is a Lead Cyber Security Analyst living and working in Kingston Upon Hull. With extensive experience in Microsoft and Apple technologies, ranging from desktop OS’s to Server OS’s and hardware. By day working as part of an infrastructure team, and by night ridding the world of IT issues through blog posts..

%d bloggers like this: