Home All Groups Group Topic Archive Search About

Opening and closing a window

Author
12 Oct 2005 5:35 PM
Peter Newman
Running vb6 (sp 6 ) 

I want to run a vb procedure that will open an internet window as a stay on
top window  and allow a user to browse web pages, etc, but when that internet
window is closed then carry on with the vb procedure and report that the
internet window has been closed

can anybody give an example of this ?

Author
12 Oct 2005 6:18 PM
Ken Halter
"Peter Newman" <PeterNew***@discussions.microsoft.com> wrote in message
news:BAE92A9D-F2CC-4700-9362-6A1ADD6CFA7C@microsoft.com...
> Running vb6 (sp 6 )
>
> I want to run a vb procedure that will open an internet window as a stay
> on
> top window  and allow a user to browse web pages, etc, but when that
> internet
> window is closed then carry on with the vb procedure and report that the
> internet window has been closed
>
> can anybody give an example of this ?

Have you already decided against using the Web Browser control? It would
take some work to get it to work "just like IE" but it's very easy to setup
and allow people to browse anywhere they want. You can even control exactly
where the user's allowed to browse (keep them locked into your web site for
example <g>)

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..