473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Urgent.... Smooth Refresh

I am trying to smoothly refresh a page on an interval. I am using
setInterval to set this up. When the interval expires, I do a
document.form.submit(). When this line of code runs, Internet Explorer
crashed with exception code 0xc0000005 mshtml.dll at address
0x000000007d55833f. This is IE 6 SP2 on Windows XP with all the latest
patches installed. The same thing happens on Windows 2003 Server. See
sample code below. Any ideas?

Bryan Young
bd***@yahoo.com
<HTML>
<HEAD>
<TITLE>monitor</TITLE>
<BASE TARGET="main">
<META CONTENT="Microsoft Visual Studio .NET 7.1" NAME="GENERATOR">
<META CONTENT="Visual Basic .NET 7.1" NAME="CODE_LANGUAGE">
<META CONTENT="JavaScript" NAME="vs_defaultClientScript">
<META CONTENT="http://schemas.microsoft.com/intellisense/ie5"
NAME="vs_targetSchema">
<LINK HREF="Styles.css" TYPE="text/css" REL="stylesheet">
</HEAD>
<BODY MS_POSITIONING="FlowLayout">
<script language="javascript">
var timer;
function setupinterval()
{
timer = window.setInterval('reload()', 5000);
}
function reload()
{
document.frmMonitor.submit();
}
</script>
<FORM ID="frmMonitor" METHOD="post" RUNAT="server">
<INPUT type="button" value="Button" language="javascript"
onclick="setupinterval()">
</FORM>
</BODY>
</HTML>


Nov 19 '05 #1
5 2698
You won't be able to smoothly update the page in this manner. You need
to use remote scripting.

Try out our new product, it was created to perform what you want.

Try a demo
http://www.dart.com/livetutorial/display.aspx (see the "Streaming Live
Data" page)

or just download the product and try it yourself. Probably the control
you want is LiveTimer
http://www.dart.com/powerweb/livecontrols.asp

Nov 19 '05 #2
Thanks for the sales pitch.... Anyone else have any suggestions why IE is
crashing?
"Jeff @ Dart" <th********@gmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
You won't be able to smoothly update the page in this manner. You need
to use remote scripting.

Try out our new product, it was created to perform what you want.

Try a demo
http://www.dart.com/livetutorial/display.aspx (see the "Streaming Live
Data" page)

or just download the product and try it yourself. Probably the control
you want is LiveTimer
http://www.dart.com/powerweb/livecontrols.asp

Nov 19 '05 #3
Your code works fine for me (IE 6 SP2).

Have you checked out the many KB articles on MSDN when you search for
"0xc0000005" AND "mshtml.dll"?

But, again, your approach will not produce a smooth refresh. If you
aren't interested in our product, Google "remote scripting" as an
alternative approach.

Nov 19 '05 #4
Your code works fine for me.

Search for "0xc0000005 mshtml.dll" on MSDN, there are several bugs
listed which are probably applicable to your problem.

But again, it will not be the smooth refresh you requested. If you
aren't interested in our product, search for "remote scripting" on
Google.

Nov 19 '05 #5
Sorry about the double post....google groups crashed on first attempt.

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Nick | last post by:
Hi I am a little stuck. I have a web app which uses cookieless session management. I would like to inform a user when their session has ended but cannot work out how to implement. I thought...
17
by: jensen bredal | last post by:
Hello, i'm struggling with a somehow badly understood session scenario. I provide acces to my pages based on form authentication using Session cookies. Som of my pages are supposed to be...
3
by: scorpion53061 | last post by:
I have little hope of resolving this as I have had to contact outside help. But I thought I would post it here to see if anyone could add an idea or solution. 1. I have a form in a Class...
2
by: Geoff Jones | last post by:
Hi I have been using a smooth progress control using the following link: http://support.microsoft.com/default.aspx?scid=kb;en-us;323088#2 It works well, however I can't seem to get it to...
3
by: amstelburger | last post by:
Hello everyone, Is there any way to refresh a calculated control in a smooth fashion, that is without having the control "empty" for - if only - just a split second? I use a lot of them on my...
2
by: Harfin | last post by:
Hi I am putting together a website to inform all my friends about our group holiday. At present I am using the following code <!--begin automatic page changer script--> <META...
2
by: JD | last post by:
Hello, I have webcams, and I want to display the images (jpg) from the cameras on a webpage, refreshed continuously. For a smooth transition I found a script that utilises double buffering....
7
by: active | last post by:
In control panel/Display/Appearance/Effects if : 'Use the following method to smooth edges of screen fonts' is checked and ClearType is selected in the combobox (no problem if Standard is...
0
by: lksath | last post by:
This is the code i am using now.But i want to autosize the grid size according to the datasize..Anyone plz help... DataGridTableStyle tabstyle=new DataGridTableStyle(); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.