Hi everyone, this is my first post to the forum, but I've been reading it for a while. I'm fairly new using VB, compared with some other people, and having some trouble with something which I'm sure is quite basic.

I've designed an Active X Document DLL embedded into a webpage. When the command button is clicked on, my code is processed and the output is an html file. Once the code has finished processing I want the browser to go to the location of this generated html file. Does anyone know how I can do this?

I've tried using a combination of the Inet component, with Inet1.OpenURL in my code, but it doesn't seem to work. As the Active X is embedded into an html page already, I don't want the system to open a new instance of the program, just load the new html page into the current window.

Thanks in advance for any replies,

Paul