IE automation. dialog watcher
http://msdn.microsoft.com/en-us/magazine/gg309183.aspx public class Form1 : Form { [ DllImport ( "user32.dll" , EntryPoint = "FindWindow" , CharSet = CharSet . Auto )] static extern IntPtr FindWindow ( string lpClassName , string lpWindowName ); [ DllImport ( "user32.dll" , EntryPoint = "FindWindowEx" , CharSet = CharSet . Auto )] static extern IntPtr FindWindowEx (IntPtr hwndParent , IntPtr hwndChildAfter , string lpszClass , string lpszWindow ); [ DllImport ( "user32.dll" , EntryPoint = "PostMessage" , CharSet = CharSet . Auto )] static extern bool PostMessage1 (IntPtr hWnd , uint Msg , int wParam , int ...