I've got a script that load an ActiveX explorer on a GUI.
That script goes into a website, checks certain elements in the code to see if website is available, logs into a page, and after checking more stuff on the logged in section, it logs out and restarts the process.

Try to set WB := "" at the end, before repeating your task.
If that doesn't work change that for ObjRelease(WB). (Which actually I'm not sure that is a proper use.)

I had a similar problem a while ago and I don't remember how I solved it but it was one of this 2 ways.
So, I'd be interested to know if the first option fixes the problem without having to rely on the second.

Yes, but in that way, i have to recreate the gui over and over again to reload the WB.
The program is a GUI with the browser in it, and it tests elements of a website.
So, i have to keep the GUI working.

I just want to clean the ActiveX object, if that makes any sense.. Like, restart it, without changing the GUI.

if destroying the gui does solve this, then you can perhaps just put the activeX control in a child window within a parent and just destroy the child.

You monster...

I used to have that, creating the Explorer as a external window, even hidden.
But the visual verification that the process gives on the GUI is also a way of verification, to make sure everything is going ok..
Can i have it on the GUI but as a child process? Is that even possible?