gd2141
asked on
Not null or object error with Quicken registration page - a DLL problem, really?
Not my programming, but I am curious if the explanation Intuit gives for this error is possible. My error is: "Line 19 Error: 'document.all[...].SnapSho t' is null or not an object. Intuit says this is an issue with DLLs (http://www.intuit.com/support/quicken/2003/win/6100.html). Does that make sense? How? Or is it problem in their code?
Here is the code:
<!-- 3F4E2394BAE6254C1E6A15C426 F4D31DEF53 0BF1449E94 B3CA25 -->
<!-- EF458210C6DB0868872409513C 0CB41C90BB 369B6380B8 4A1779 -->
<!-- 535A5424FCD23CA3308B50B5C9 CEBE9EAF11 7A323CB3BC 163297 -->
<!-- 0FBE78CEF0800975A016E19696 A5883DF1B1 7E8C790783 C2DA93 -->
<!-- 10CB7316C6A1939AB854BCE59A 3CBCB81A89 967E47C0A8 19A693 -->
<!-- DDBC93E3A87C9B241F674E84BC 2C1A011473 3B163E96D8 729ABC -->
<html>
<head>
<title>Quicken Product Registration</title>
<style>
<!--
.bb { font-family: MS Sans Serif; font-size: 8pt }
-->
</style>
</head>
<script>
function resize(snapshot)
{
var h = document.all[snapshot].Sna pShot.GetH eight();
var w = document.all[snapshot].Sna pShot.GetW idth();
if (h > 0)
{
document.all[snapshot].wid th = w;
document.all[snapshot].hei ght= h;
document.all[snapshot].Sna pShot.Size (0,0,w,h);
}
}
function size_zero(snapshot)
{
document.all[snapshot].wid th = 1;
document.all[snapshot].hei ght= 1;
document.all[snapshot].Sna pShot.Size (0,0,1,1);
}
function DoICSetup()
{
// Return code 0 cancels
qw.Command.EndModal( 0, "http://qw.exe/qw?menuid=6407" );
}
function DoHelp()
{
document.location = "http://qw.exe/qw?help=8511";
}
function DoCancel()
{
// Return code -1 continues whatever was being done prior to reg
qw.Command.EndModal( -1, 0 );
}
</script>
<SCRIPT LANGUAGE="JavaScript" FOR="uqw" EVENT="onSnapShotUpdate()" >
resize('uqw');
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" FOR="qw" EVENT="onQuickenEvent(szTy pe)">
if(szType == "Registration")
{
var nState = qw.Command.REG_GetState();
// Always turn the first two off
idDiv1.style.display = 'none';
idDiv2.style.display = 'none';
if (nState == 1)
{
idDiv1.style.display = '';
idDivUQW.style.display = '';
}
else if (nState == 2)
{
// Hide the third, just in case
idDiv3.style.display = 'none';
idDiv2.style.display = '';
idDivUQW.style.display = '';
location.href = qw.Command.REG_GetURL();
}
else if (nState == 3)
{
idDiv3.style.display = 'none';
idDivUQW.style.display = '';
}
else if (nState == 4)
{
// Registration already complete
var nType = qw.Command.REG_GetType();
if (nType == 2)
{
// Type 2 is an "upgrader"
document.location.href = "complete.htm";
}
else if (nType == 3)
{
// type 3 means skip the osu config
document.location.href = "later.htm";
}
else
{
// Otherwise treat as new user
document.location.href = "benefits.htm";
}
}
else
{
// Show the error page
// It's worth noting that hiding the snapshot by trying to change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the snapshot on the error pages
size_zero('uqw');
idDiv3.style.display = '';
}
}
</SCRIPT>
<OBJECT ID="qw" CLASSID=CLSID:C79C91A1-DB0 6-11D2-9E0 C-00105A26 F05D WIDTH=1 HEIGHT=1></OBJECT>
<script>
// Initialize
qw.Type="Data";
</script>
<body onload="resize('uqw');">
<center>
<table border="0" cellspacing="0" cellpadding="5" width="570">
<tr>
<td><b><font face="Arial" color="#336699"><br>
</font>
</b>
<table border="0" cellspacing="0" bgcolor="#336699" cellpadding="0">
<tr>
<td align="left" valign=top width="5"><img border="0" src="uplc2.gif" width="6" height="6"></td>
<td nowrap>
<table border="0" cellpadding="0" cellspacing="0" height="1">
<tr>
<td></td>
</tr>
</table>
<font color="#FFFFFF" face="Verdana" size="2"><b>Welcome to Quicken registration...</b></font>
<table border="0" cellpadding="0" cellspacing="0" height="2">
<tr>
<td></td>
</tr>
</table>
</td>
<td align="right" valign=top width="5"><img border="0" src="uprc2.gif" width="6" height="6"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#336699" height="1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<script>
function TryAgain( bRegPage, eDiv )
{
eDiv.style.display = 'none';
if (bRegPage)
{
location.href = qw.Command.REG_GetURL();
}
else
{
// Remove this call to resize if we don't hide the snapshot on the error pages
resize('uqw');
qw.Command.REG_NextState() ;
}
}
</script>
<div align="center" id="idDiv1" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Quicken needs to initiate product registration. This
may take a few minutes....</font>
</div>
<div align="center" id="idDiv2" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Going online to the registration pages...</font>
</div>
<div id="idDiv3" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">
Connection to registration is unsuccessful. Please check your
Quicken Internet Connection Settings and then
<a href="javascript:TryAgain( false, idDiv3 )" onMouseOver="window.status ='Try again'; return true;" onMouseOut=window.status=' '; return true;">
try again</a>. If this does not help, please visit the
<a href="http://qw.exe/qw?externalurl=http://qw2003.quicken.com/cgi-bin/qd.cgi/w/2003/reghelp" onMouseOver="window.status ='http://www.intuit.com/support/quicken/faqs/docs/w_onlinetroubleguide.html'; return true;" onMouseOut="window.status= ''; return true;">
Online Trouble Shooting Guide</a>, or click help below.
</font>
<p align="center"> <font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb" onclick="javascript:DoCanc el()">&nbs p;
<input type="button" value=" Help " name="B1" class="bb" onclick="javascript:DoHelp ()">
</font></p>
</div>
<div id="idDiv4" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Registration did not complete successfully.
<a href="javascript:TryAgain( false, idDiv3 )" onMouseOver="window.status ='Try again'; return true;" onMouseOut=window.status=' '; return true;">
Try again</a> or if you are still not successful, visit the
<a href="http://qw.exe/qw?externalurl=http://qw2003.quicken.com/cgi-bin/qd.cgi/w/2003/reghelp" onMouseOver="window.status ='http://www.intuit.com/support/quicken/faqs/docs/w_onlinetroubleguide.html'; return true;" onMouseOut="window.status= ''; return true;">
Online Trouble Shooting Guide</a> for more information, or click help below.
</font>
<p align="center"><font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb" onclick="javascript:DoCanc el()">&nbs p;
<input type="button" value=" Help " name="B1" class="bb" onclick="javascript:DoHelp ()">
</font></p>
</div>
<div align="center" id="idDivUQW" STYLE="display='none'" >
<OBJECT ID="uqw" CLASSID=CLSID:C79C91A1-DB0 6-11D2-9E0 C-00105A26 F05D WIDTH=400 HEIGHT=400>
</OBJECT>
<script language="JavaScript">
uqw.Type="SnapShot";
uqw.SnapShot.Init(168);
uqw.SnapShot.CreateView();
uqw.SnapShot.SetAreaDispla y(-1,1);
uqw.SnapShot.SetAreaDispla y(0,0);
</script>
</div>
</td>
</tr>
</table>
<table border="0" cellPadding="0" cellSpacing="0" width="570" bgcolor="#FFFFFF">
<tbody>
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="570" bgcolor="#336699" height="1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</center>
<script>
var n = qw.Command.REG_GetState();
if (n == 0)
{
qw.Command.REG_NextState() ;
}
else
{
// We're somewhere in the reg process, so go to the reg error page
// It's worth noting that hiding the snapshot by trying to change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the snapshot on the error pages
size_zero('uqw');
idDiv4.style.display = '';
}
</script>
</body>
</html>
Here is the code:
<!-- 3F4E2394BAE6254C1E6A15C426
<!-- EF458210C6DB0868872409513C
<!-- 535A5424FCD23CA3308B50B5C9
<!-- 0FBE78CEF0800975A016E19696
<!-- 10CB7316C6A1939AB854BCE59A
<!-- DDBC93E3A87C9B241F674E84BC
<html>
<head>
<title>Quicken Product Registration</title>
<style>
<!--
.bb { font-family: MS Sans Serif; font-size: 8pt }
-->
</style>
</head>
<script>
function resize(snapshot)
{
var h = document.all[snapshot].Sna
var w = document.all[snapshot].Sna
if (h > 0)
{
document.all[snapshot].wid
document.all[snapshot].hei
document.all[snapshot].Sna
}
}
function size_zero(snapshot)
{
document.all[snapshot].wid
document.all[snapshot].hei
document.all[snapshot].Sna
}
function DoICSetup()
{
// Return code 0 cancels
qw.Command.EndModal( 0, "http://qw.exe/qw?menuid=6407" );
}
function DoHelp()
{
document.location = "http://qw.exe/qw?help=8511";
}
function DoCancel()
{
// Return code -1 continues whatever was being done prior to reg
qw.Command.EndModal( -1, 0 );
}
</script>
<SCRIPT LANGUAGE="JavaScript" FOR="uqw" EVENT="onSnapShotUpdate()"
resize('uqw');
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" FOR="qw" EVENT="onQuickenEvent(szTy
if(szType == "Registration")
{
var nState = qw.Command.REG_GetState();
// Always turn the first two off
idDiv1.style.display = 'none';
idDiv2.style.display = 'none';
if (nState == 1)
{
idDiv1.style.display = '';
idDivUQW.style.display = '';
}
else if (nState == 2)
{
// Hide the third, just in case
idDiv3.style.display = 'none';
idDiv2.style.display = '';
idDivUQW.style.display = '';
location.href = qw.Command.REG_GetURL();
}
else if (nState == 3)
{
idDiv3.style.display = 'none';
idDivUQW.style.display = '';
}
else if (nState == 4)
{
// Registration already complete
var nType = qw.Command.REG_GetType();
if (nType == 2)
{
// Type 2 is an "upgrader"
document.location.href = "complete.htm";
}
else if (nType == 3)
{
// type 3 means skip the osu config
document.location.href = "later.htm";
}
else
{
// Otherwise treat as new user
document.location.href = "benefits.htm";
}
}
else
{
// Show the error page
// It's worth noting that hiding the snapshot by trying to change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the snapshot on the error pages
size_zero('uqw');
idDiv3.style.display = '';
}
}
</SCRIPT>
<OBJECT ID="qw" CLASSID=CLSID:C79C91A1-DB0
<script>
// Initialize
qw.Type="Data";
</script>
<body onload="resize('uqw');">
<center>
<table border="0" cellspacing="0" cellpadding="5" width="570">
<tr>
<td><b><font face="Arial" color="#336699"><br>
</font>
</b>
<table border="0" cellspacing="0" bgcolor="#336699" cellpadding="0">
<tr>
<td align="left" valign=top width="5"><img border="0" src="uplc2.gif" width="6" height="6"></td>
<td nowrap>
<table border="0" cellpadding="0" cellspacing="0" height="1">
<tr>
<td></td>
</tr>
</table>
<font color="#FFFFFF" face="Verdana" size="2"><b>Welcome to Quicken registration...</b></font>
<table border="0" cellpadding="0" cellspacing="0" height="2">
<tr>
<td></td>
</tr>
</table>
</td>
<td align="right" valign=top width="5"><img border="0" src="uprc2.gif" width="6" height="6"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#336699" height="1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<script>
function TryAgain( bRegPage, eDiv )
{
eDiv.style.display = 'none';
if (bRegPage)
{
location.href = qw.Command.REG_GetURL();
}
else
{
// Remove this call to resize if we don't hide the snapshot on the error pages
resize('uqw');
qw.Command.REG_NextState()
}
}
</script>
<div align="center" id="idDiv1" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Quicken needs to initiate product registration. This
may take a few minutes....</font>
</div>
<div align="center" id="idDiv2" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Going online to the registration pages...</font>
</div>
<div id="idDiv3" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">
Connection to registration is unsuccessful. Please check your
Quicken Internet Connection Settings and then
<a href="javascript:TryAgain(
try again</a>. If this does not help, please visit the
<a href="http://qw.exe/qw?externalurl=http://qw2003.quicken.com/cgi-bin/qd.cgi/w/2003/reghelp" onMouseOver="window.status
Online Trouble Shooting Guide</a>, or click help below.
</font>
<p align="center"> <font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb" onclick="javascript:DoCanc
<input type="button" value=" Help " name="B1" class="bb" onclick="javascript:DoHelp
</font></p>
</div>
<div id="idDiv4" STYLE="display='none'" >
<font face="MS Sans Serif" size="2">Registration did not complete successfully.
<a href="javascript:TryAgain(
Try again</a> or if you are still not successful, visit the
<a href="http://qw.exe/qw?externalurl=http://qw2003.quicken.com/cgi-bin/qd.cgi/w/2003/reghelp" onMouseOver="window.status
Online Trouble Shooting Guide</a> for more information, or click help below.
</font>
<p align="center"><font face="Arial">
<input type="button" value="Cancel" name="B1" class="bb" onclick="javascript:DoCanc
<input type="button" value=" Help " name="B1" class="bb" onclick="javascript:DoHelp
</font></p>
</div>
<div align="center" id="idDivUQW" STYLE="display='none'" >
<OBJECT ID="uqw" CLASSID=CLSID:C79C91A1-DB0
</OBJECT>
<script language="JavaScript">
uqw.Type="SnapShot";
uqw.SnapShot.Init(168);
uqw.SnapShot.CreateView();
uqw.SnapShot.SetAreaDispla
uqw.SnapShot.SetAreaDispla
</script>
</div>
</td>
</tr>
</table>
<table border="0" cellPadding="0" cellSpacing="0" width="570" bgcolor="#FFFFFF">
<tbody>
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="570" bgcolor="#336699" height="1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</center>
<script>
var n = qw.Command.REG_GetState();
if (n == 0)
{
qw.Command.REG_NextState()
}
else
{
// We're somewhere in the reg process, so go to the reg error page
// It's worth noting that hiding the snapshot by trying to change the display or visibility
// attribute causes qwin to crash
// Remove this call to size_zero if we don't hide the snapshot on the error pages
size_zero('uqw');
idDiv4.style.display = '';
}
</script>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: gator4life {http:#8232848}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jAy
EE Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: gator4life {http:#8232848}
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jAy
EE Cleanup Volunteer
ASKER