Use FindWindow API. You can pass the classname and/or window caption. If you dont know what the caption will be then passing the classname along with vbNullstring will get the first window handle that matches. Then using GetWindowText passing the handle will get the caption.