Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 10th, 2004, 10:36 AM
Registered User
 
Join Date: Mar 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Netscape and activex

Hi!!!

I would like to view in my Browser, Netscape or Mozilla, an activex control. I was triyin to do this but it hasn´t runned:
<OBJECT id=ss name="objSS" style="LEFT: 0px; WIDTH: 800px; TOP: 0px; HEIGHT: 226px" classid="clsid:41F841C1-AE16-11D5-8817-0050DA6EF5E5" VIEWASTEXT>
    <PARAM NAME="_Version" VALUE="196613">
    <PARAM NAME="_ExtentX" VALUE="13309">
    <PARAM NAME="_ExtentY" VALUE="5980">
    <PARAM NAME="_StockProps" VALUE="64">
    <PARAM NAME="Enabled" VALUE="-1">
    <PARAM NAME="AllowCellOverflow" VALUE="0">
    <PARAM NAME="AllowDragDrop" VALUE="0">
    <PARAM NAME="AllowMultiBlocks" VALUE="0">
    <PARAM NAME="AllowUserFormulas" VALUE="0">
    <PARAM NAME="ArrowsExitEditMode" VALUE="0">
    <PARAM NAME="AutoCalc" VALUE="-1">
    <PARAM NAME="AutoClipboard" VALUE="-1">
    <PARAM NAME="AutoSize" VALUE="0">
    <PARAM NAME="BackColorStyle" VALUE="0">
    <PARAM NAME="BorderStyle" VALUE="1">
    <PARAM NAME="ButtonDrawMode" VALUE="0">
    <PARAM NAME="ColHeaderDisplay" VALUE="2">
    <PARAM NAME="ColsFrozen" VALUE="0">
    <PARAM NAME="DAutoCellTypes" VALUE="1">
    <PARAM NAME="DAutoFill" VALUE="1">
    <PARAM NAME="DAutoHeadings" VALUE="1">
    <PARAM NAME="DAutoSave" VALUE="1">
    <PARAM NAME="DAutoSizeCols" VALUE="2">
    <PARAM NAME="DInformActiveRowChange" VALUE="1">
    <PARAM NAME="DisplayColHeaders" VALUE="1">
    <PARAM NAME="DisplayRowHeaders" VALUE="1">
    <PARAM NAME="EditEnterAction" VALUE="0">
    <PARAM NAME="EditModePermanent" VALUE="0">
    <PARAM NAME="EditModeReplace" VALUE="0">
    <PARAM NAME="FormulaSync" VALUE="-1">
    <PARAM NAME="GrayAreaBackColor" VALUE="12632256">
    <PARAM NAME="GridColor" VALUE="12632256">
    <PARAM NAME="GridShowHoriz" VALUE="1">
    <PARAM NAME="GridShowVert" VALUE="1">
    <PARAM NAME="GridSolid" VALUE="1">
    <PARAM NAME="MaxCols" VALUE="500">
    <PARAM NAME="MaxRows" VALUE="500">
    <PARAM NAME="MoveActiveOnFocus" VALUE="-1">
    <PARAM NAME="NoBeep" VALUE="0">
    <PARAM NAME="NoBorder" VALUE="0">
    <PARAM NAME="OperationMode" VALUE="0">
    <PARAM NAME="Position" VALUE="0">
    <PARAM NAME="ProcessTab" VALUE="0">
    <PARAM NAME="Protect" VALUE="-1">
    <PARAM NAME="ReDraw" VALUE="1">
    <PARAM NAME="RestrictCols" VALUE="0">
    <PARAM NAME="RestrictRows" VALUE="0">
    <PARAM NAME="RetainSelBlock" VALUE="-1">
    <PARAM NAME="RowHeaderDisplay" VALUE="1">
    <PARAM NAME="RowsFrozen" VALUE="0">
    <PARAM NAME="ScrollBarExtMode" VALUE="0">
    <PARAM NAME="ScrollBarMaxAlign" VALUE="-1">
    <PARAM NAME="ScrollBars" VALUE="3">
    <PARAM NAME="ScrollBarShowMax" VALUE="-1">
    <PARAM NAME="SelectBlockOptions" VALUE="15">
    <PARAM NAME="ShadowColor" VALUE="-2147483633">
    <PARAM NAME="ShadowDark" VALUE="-2147483632">
    <PARAM NAME="ShadowText" VALUE="-2147483630">
    <PARAM NAME="StartingColNumber" VALUE="1">
    <PARAM NAME="StartingRowNumber" VALUE="1">
    <PARAM NAME="UnitType" VALUE="1">
    <PARAM NAME="UserResize" VALUE="3">
    <PARAM NAME="VirtualMaxRows" VALUE="-1">
    <PARAM NAME="VirtualMode" VALUE="0">
    <PARAM NAME="VirtualOverlap" VALUE="0">
    <PARAM NAME="VirtualRows" VALUE="0">
    <PARAM NAME="VirtualScrollBuffer" VALUE="0">
    <PARAM NAME="VisibleCols" VALUE="0">
    <PARAM NAME="VisibleRows" VALUE="0">
    <PARAM NAME="VScrollSpecial" VALUE="0">
    <PARAM NAME="VScrollSpecialType" VALUE="0">
    <PARAM NAME="Appearance" VALUE="0">
    <PARAM NAME="TextTip" VALUE="0">
    <PARAM NAME="TextTipDelay" VALUE="500">
    <PARAM NAME="ScrollBarTrack" VALUE="0">
    <PARAM NAME="ClipboardOptions" VALUE="15">
    <PARAM NAME="CellNoteIndicator" VALUE="0">
    <PARAM NAME="ShowScrollTips" VALUE="0">
    <PARAM NAME="DataMember" VALUE="">
    <PARAM NAME="OLEDropMode" VALUE="0">
    <PARAM NAME="Click" VALUE="MiEvento()">
    <embed src="fpSpr60.ocx" type="application/oleobject" name="ss" enablejavascript="true" style="LEFT: 0px; WIDTH: 800px; TOP: 0px; HEIGHT: 226px"></embed></OBJECT>
</center>


Thanks.Sergio!



 
Old March 11th, 2004, 04:34 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

There used to be a plug-in for Netscape that allowed you to run ActiveX but I doubt if it's available any more.You have a number of options:
* Rewrite as a Java applet, downside to this is Windows does not come with Java Virtual Machine now so the user would need to install this in some cases.
* Rewrite using JavaScript. Depends on the functionality you need, in a few cases this won't be possible. Your control looks like some sort of datagrid, the ones produced by ASP.NET are very impressive, they are a combination of client side JavaScript and server side processing.
* Write a plug-in for Mozilla.




--

Joe





Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX : getting PARAM value in activeX src smaraux Visual Studio 2005 1 March 4th, 2008 12:31 PM
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
javascript+netscape sasidhar79 Javascript How-To 1 October 19th, 2004 05:52 AM
Netscape stu9820 HTML Code Clinic 24 May 19th, 2004 01:56 AM
redirect netscape 4.7 to netscape 7.1 trangd Beginning PHP 10 January 15th, 2004 04:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.