The only problem with your suggestion is that its not actually my dialog box thats open. Its one from a website, im using the invoke click method in a webbrowser control to click a browse box in a form.