I'm referring to the browser that's on the tab I'm switching to (so it isn't displayed yet). That in itself shouldn't be a problem. There wouldn't be a problem with that alone except that I'm referring to the MozillaBrowser component's .Document property. It seems that sometimes when the browser is busy I get an access violation when referring to the .Document property. As a workaround I'm just handling the access violation with a try except on AccessViolation construct. Not too nice... If someone has a better approach I'd like to know. BTW, since the access violation reports address 00000000 there must simply be some bit of C++ code that is using a NULL pointer in the .Document property code...
Thanks,
Kevin.
Kevin wrote:
Any ideas what could be causing this?
