Web Hosting Talk







View Full Version : vb6 - refreshing an ie page


Nullified
03-10-2005, 09:35 PM
I am working on a project, and need to refresh an ie page that has a certain lpWindowName, but can't seem to find the function to hit that damn refresh button. Can someone help?

ChrisIsBored
03-11-2005, 01:52 PM
<script language="JavaScript1.2">
<!--
function refresh()
{
window.location.reload( false );
}
//-->
</script>


<a href="javascript:refresh()">blah</a>

Nullified
03-11-2005, 04:35 PM
I've already found what I need. Thanks anyways. Btw, I asked for a vb6 function, not a javascript or html code. I'm not stupid; I know how to refesh a page with javascript, php, and several ways with html.

fastduke
03-11-2005, 05:16 PM
Originally posted by Nullified
I've already found what I need. Thanks anyways. Btw, I asked for a vb6 function, not a javascript or html code. I'm not stupid; I know how to refesh a page with javascript, php, and several ways with html.

Stupid... nah, but greedy

Why don't you share with the rest of us?

Nullified
03-11-2005, 05:19 PM
How am I greedy? Instead of refreshing an internet explorer page I decided to load the page within my vb app and control it from within.

ChrisIsBored
03-11-2005, 05:22 PM
:uhh: Hostile, sorry I read your question without paying attention to the title.

Nullified
03-11-2005, 05:25 PM
No need to be sorry. I'm sorry for being kinda hostile.

fastduke
03-11-2005, 05:38 PM
Originally posted by Nullified
How am I greedy? Instead of refreshing an internet explorer page I decided to load the page within my vb app and control it from within.

That's what I was looking for. You said "I've already found what I need." but didn't enlighten us on what.

Nullified
03-11-2005, 05:42 PM
I didn't see the need to enlighten anyone else as I seem to have been the one requesting the answer, not anyone else.