Click to See Complete Forum and Search --> : WebBrowser In The BackGround?
Angelus
Apr 23rd, 2001, 12:52 PM
I'd like to know if there is a way where I can make the WebBrowser access the page in the background.
I'm making a program that can refresh a web page (i.e a hit counter - so it looks like they've got more hits than usual) but i want to be able to do it in the background, without making lots of mini-WebBrowsers.
Is there a way?
Xenonic_Rob
Apr 23rd, 2001, 01:27 PM
Isn't there a "Refresh" method to the Webbrowser control?
If not, there's a couple of ways u can do it...
U can put the page to be refreshed into a 100% frame, and then add the following vbscript to the frameset page:
<script language="vbscript">
window.refresh
</script>
Or something like that.
Angelus
Apr 23rd, 2001, 01:35 PM
Well yeah:
WebBrowser1.Refresh
but i want the program to refresh the web page without the WebBrowser being shown. In the background so it doesn't slow down slower computers.
Is this possible... or is it me explaining it wrong? Btw, i've made a Web Browser myself as my very first program!
http://www.32trent.fsnet.co.uk
if anyone wants to check it out. But i would also like to know how to print (actually from the printer) the page thats being displayed in WeBrowser1
Any suggestions to any of the above? :confused:
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.