473,320 Members | 1,977 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,320 software developers and data experts.

ActiveX - Javascript - Firefox

Hello to you all.

I am trying to use an already installed dll on a Windows machine. I use
javascript, and the
OBJECT tag. On Internet Explorer this works fine, but on Firefox
(v1.04) not.

This is obviously because FF does not support ActiveX.

There is the FF ActiveX extension:
http://www.iol.ie/~locka/mozilla/plugin.htm
I try to install the FF ActiveX extension, but I cannot seem to get it
configured to this use. (Using a COM object from an already installed
dll)

My code is as follows (tested in iE), the fruit.cab is also in place
with inside the required dlls.

What can I do to solve this?

<html>
<head>
<title>testing</title>
<OBJECT ID="Banana"
CLASSID="CLSID:A8D33A3B-A53B-483B-9C62-3F0C8537743E"
CODEBASE="fruit.cab#version=1,1,1,0">
</OBJECT>

<script language="javascript">
function doit() {
Banana.Show("azerty","");
}
</script>
<body>
<form id="a">
<input type="button" value="Show me" onclick="doit();">
</form>
</body></html>

Feb 1 '06 #1
1 1972
lu**********@yahoo.com wrote:

I am trying to use an already installed dll on a Windows machine. [snip]

My code is as follows (tested in iE), the fruit.cab is also in place
with inside the required dlls.

What can I do to solve this?

What springs to mind is "give up". Why use a Windows DLL with a
non-Windows-specific package? And if you do, why do it from inside a CAB
file? But, if you must, then start by decompressing the CAB file and see
if it works then.
Feb 3 '06 #2

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

Similar topics

7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
5
by: mikeyjudkins | last post by:
Ive been banging my head on the wall for hours with this one, hopefully someone will know what Im doing wrong here :\ The Goal: I have an xml file that is generated on the fly via JSP which I...
12
by: A.M. | last post by:
Hi at all, how can I do to insert into a HTML page a file .txt stored in the same directory of the server where is the html file that must display the text file.txt? Thank you very much P.Pietro
18
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
3
by: shypen42 | last post by:
Hi everybody, I'm pretty new to Javascript (I'm more on the server-side usually :) I've been doing some XMLHttp request lately, communicating in an "Ajax" style (to be buzzword compliant) with...
1
by: Jayender | last post by:
Hi, I have an ActiveX control (to display the Images),I have added the reference of that in my web based applicaton .and added the ocx in my tool bar , but the viewer (activex component- ocx ) is...
0
by: neeteshbhatiaalld | last post by:
Hi all Well my problem is i have created a active x control its ocx and registered it successfully. Now when i m inserting it in my web page (index.htm) i want to pass values to that activex...
13
by: ThunderMusic | last post by:
Hi, I need to do some graphics work from my ASP.NET 2.0 Website (can upgrade to 3.0 if really needed). Actually, I need the user to be able to draw some things in a rectangle. Some years ago I...
2
by: kiranmate | last post by:
I am created a activeX control in VB 6 and created .cab file from that project which download my activeX control on client computers using Internet explorer but not on the FireFox browser. Can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.