473,790 Members | 2,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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>testin g</title>
<OBJECT ID="Banana"
CLASSID="CLSID: A8D33A3B-A53B-483B-9C62-3F0C8537743E"
CODEBASE="fruit .cab#version=1, 1,1,0">
</OBJECT>

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

Feb 1 '06 #1
1 1998
lu**********@ya hoo.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
2826
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) My code is below. I am getting the following error "MyForm.oNetwork.Value is Null or is not an object". I'm struggling to diagnose what to do next. I'd very much appreciate some help Many thanks <HTML><BODY><FORM NAME="MyForm"...
5
8547
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 want to load into a Microsoft.XMLHTTP ActiveX object and manipulate via javascript on the client side. Data is retreived from the server at the request of the javascript without having to reload the page. The Problem:
12
2596
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
8437
by: DartmanX | last post by:
Is there a simple way to determine if someone using Internet Explorer has completely disabled ActiveX controls? Jason
3
2098
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 the server... Quite handy :) It works fine on Firefox, Opera and IE 6 with ActiveX enabled and apparently IE7 with ActiveX disabled.
1
2234
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 disabled , but i tried this in Window based application, and it works great , but i need to do it in Web based applicaion , is there anything i need to add for making that to enable so that i can drag and place it in my web form ? waiting for...
0
3510
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 control using javascript and also want to get value from active x control to my javascript problem. I found the demo code which is doing exactly what i need but its in VC++ you can download that code from...
13
1338
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 would have do it using ActiveX, but now I know MS has a new philosophy about this, probably driven to more and more security. What I want to know is : What's the new thing now? Is "the new thing" working on Windows, Mac and Linux? What about IE,...
2
3230
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 anyone help me how to download activeX control in FireFox? Thanks in advance. Required activeX control will support both explorers(IE and FireFox).
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10413
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3707
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.