Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Class not registered


Message #1 by "rbristol" <rbristol@e...> on Sun, 3 Jun 2001 15:07:01 -0400
Craig, et al.  I tried it at work.  Works great.  Ran a program 
called "Modules" which identifies all the Dlls in memory that a program is 
using.  Cann't see any differences.  Does anyone know specifically which 
dll actually intreprets the filter and provides the functions to 
accomplish this movement?  That might give me a lead.  My machine is a Win 
NT4 sp6a and the only thing recently new is Office 2000.

Thanks
Roger

> Thanks Craig.  
> 
> I copied the entire code from the Filters Demo into a .htm file.  While 
I 
> did not get the Class not registered error, I also did not get 
> any "effects" either.  I think some .dll on my machine is either hosed 
or 
> wrong version or what.  I will take this demo code to work today and 
test 
> it on a machine there and see if it acts differently.
> 
> Roger
> 
> 
> > Try this site for a fuller representation of the code you are trying to
> > parse down:
> > 
> > http://www.webreference.com/js/column69/index.html
> > 
> > Regards,
> > 
> > Craig
> > 
> > ----------------------------------------------------------------------
> > 
> > Subject: Class not registered
> > From: "rbristol" <rbristol@e...>
> > Date: Sun, 3 Jun 2001 15:07:01 -0400
> > X-Message-Number: 1
> > 
> > when running the following simple page, I keep getting the following 
> error:
> > 
> > "class not registered"
> > and it showed up on the first line of the function doTrans.
> > 
> > Does anyone know what "is not registered" that is being referened here.
> > Most of my dhtml is failing on this machine.
> > 
> > Thanks
> > 
> > Roger Bristol
> > 
> > <HEAD>
> > <SCRIPT>
> > var startImage ="fruit.gif";
> > var endImage="mouse.gif";
> > function doTrans() {
> > 
> >         imgObj.filters[0].apply();
> >         if (oImg.src.indexOf(startImage)!=-1) {
> >             oImg.src = endImage;
> >             imgObj.style.backgroundColor = "gold";
> >             imgObjText.innerHTML =             "<BR><B>Second
> > Page</B><BR><BR>Using the <B>play</B> method reveals the changes in 
the 
> SPAN
> > element content."        }
> >         else {
> >             oImg.src = startImage;
> >             imgObj.style.backgroundColor = "skyblue";
> >             imgObjText.innerHTML =             "<BR><b>First
> > Page</b><BR><BR>Using the <B>apply</B> method prepares this SPAN 
element 
> for
> > content changes."        }
> >         imgObj.filters[0].play();
> > }
> > </SCRIPT>
> > </HEAD>
> > <BODY>
> > <SPAN id=imgObj style="PADDING-RIGHT: 10px; PADDING-LEFT: 13px; FILTER:
> > progid:DXImageTransform.Microsoft.Barn( 
motion=out,orientation=vertical);
> > FONT: bold 9pt/1.3 verdana; WIDTH: 305px; COLOR: darkred; HEIGHT: 
150px;
> > BACKGROUND-COLOR: skyblue"><IMG id=oImg style="MARGIN: 8px" 
> src="fruit.gif"
> > align=left>
> > <DIV id=imgObjText><BR><B>First Page</B><BR><BR>Using the <B>apply</B>
> > method prepares this SPAN element for content 
> changes.</DIV></SPAN><BR><BR>
> > <BUTTON onclick="doTrans()">Play Transition</BUTTON>
> > </BODY>

  Return to Index