Forums Register Login

load ActiveX object in Applet

+Pie Number of slices to send: Send
Hi,

I have a web application that processes events and audio received from a specialised microphone. The audio is processed by a Java applet that runs in the web page, but other events (microphone connected, microphone disconnected, microphone button pressed) are handled by an ActiveX object.

The ActiveX object traps these events and calls JavaScript code to handle them

Of course a problem with this approach is that it's completely IE dependent. I would prefer to load the ActiveX object within the applet, trap the events there and handle the events either within the applet, or JavaScript code called from the applet. This should then enable me to run the app in any browser that supports applets.

I'm not entirely sure how to go about implementing the solution I've proposed above - I guess I'll need some sort of Java-ActiveX bridge? If anyone can suggest how I might implement this, or propose an alternative solution, I'd be very grateful.

Thanks in advance,
Dan
+Pie Number of slices to send: Send
You'd still be relying on a Windows (maybe WINE) client.

Are you sure it's even worth the trouble?

+Pie Number of slices to send: Send
 

John Kimball wrote:You'd still be relying on a Windows (maybe WINE) client.


That's fine, my objective is to be browser-independent, not OS-independent
+Pie Number of slices to send: Send
I'd start here.

http://danadler.com/jacob/

I'm not familiar terribly familiar with applets, but if JNI is sandbox-restricted you'll also need to sign the applet.

+Pie Number of slices to send: Send
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2559 times.
Similar Threads
jsp - java plugin - applet.
applet refresh event
Controlling applet from html code
quick question
How to know the type of request coming from the form
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:32:56.