So wait...

you only get a 216 error if you use the web-browser and then exit the window with the x right? But closing out using OK or CANCEL everything is okay. And if you close via the x without using the web-browser everything is okay too.

If that is what's happening, let me know. I'll look into it. I used to program VB for 5-6 years at my previous job (the hell that is was).



P.S. What version of VB are you using?

P.P.S. Are you destroying the dynamically created web-browser upon exit?