about the message box problem, I don't think you can retrieve the text, but can't you do a screen capture of it with vb and send the capture back, then use send message to simulate the appropriate click based on a hyperlink in the webpage?

Basically, the server send a picture of the message box to the client, and has a link for button1 button2 button3 or button4.

You could also use sendmessage with wm_close to close msgboxes with OK buttons. I use that method with programs that have recuring nag screens.