I was able to get the Treeview control from the MSCOMCTL.CAB file running
properly in a web page.  I used a .LPK file, and things were great (even if
I had to use VBScript instead of Javascript).

Then, for no reason that I can see, the tree stopped loading, and I got the
infamous "Object Required" error.  I've checked my .LPK file (and recreated
it), and made sure any code that referenced the tree was placed after the
<object> tag for the tree.  I'm not understanding why it's not working
anymore, seeing as it was working fine, and I didn't make any changes to the
<object> code when it stopped.  

Anyone have any suggestions?  (I'm hoping that the expertise on this list
will yeild more than a google search has - web and groups).  Thanks in
advance.

Shawn Grover

Here's the offending code:

<!--- License Control --->
<OBJECT CLASSID = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" VIEWASTEXT>
   <PARAM NAME="LPKPath" VALUE="MyLicenseFile.lpk">
</OBJECT> 

<object 
        ID="tvwCategory"
        classid="CLSID:C74190B6-8589-11D1-B16A-00C0F0283628"
        width=200
        height=300>
</object>

<SCRIPT language="VBScript">
<!--
        'Set tree properites
        tvwCategory.Indentation = 10
        tvwCategory.Font.Name="sans-serif"
        tvwCategory.Font.Size="8.25"
        tvwCategory.Appearance = 0
        tvwCategory.BorderStyle = 1

..

Error occurs on the setting of the first property.


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to