Java applet to ActiveX controls

is it possible to write an applet which internally talks to a
an activex control written in VB?. i have a requirement where
we have to write some components to be used with both IE and Netscape.
not sure how to go about it.

Yes, you can do this.
I worked on a similar requirement some years ago; MSDN has samples on how to do this. The basic idea is to use VBScript to access the "dom" and get hold of the applet object.
Try searching on MSDN with ActiveX and Java.
Hope this helps.
S

Similar Messages

  • Embedding the Applets inside an activeX control

    Hi there !
    We r trying to embedd an applet inside activeX control.Anybody has any idea how to do this?
    Thanks,
    swami

    There is a tool available from Microsoft to do this (comes in part Microsoft SDK for Java) called javareg, this allows you to embedd java inside ActiveX. a search at http://support.microsoft.com will provide more info.
    Be wary of subsequent releases of the code though as there are dependencies on the generated type library. I think it only worked if further versions were created using the original type library can't remember but lots of headaches at the time.
    I think Sun provide an equivilent - java bridge ????
    ood luck I found it a real pain

  • ActiveX control from Java

    Hi.
    I have few ActiveX components which I want to control from Java.
    I have googled for some solutions and found the following:
    1. Write a C code which will behave as a bridge between ActiveX component and Java (using JNI). But this seems to be rather very complicated :p
    2. I have found one very interesting paper at javaworld (http://www.javaworld.com/javaworld/jw-03-1997/jw-03-avb-tech.html?page=7). They compare ActiveX components and Java Beans there. There is also stated that (for example) it is possible to "develop an ActiveX control in Visual Basic that opens a window and adds a C++ AVI player (an ActiveX control), and then operate the player from a Java applet." However, I can't find any sources or samples which shows how to do such things in practise.
    Can anybody help me with this?
    Many thanks
    Miso

    See Tool at
    http://www.simtel.net/product.php[id]93010[SiteID]simtel.net

  • Java runtime enviroment 1.3.1_01 properties type activeX control

    can any one help please. i have a problem with java runtime enviroment
    1.3.1_01, in tools= internet options i have the following problem= in genral tab java runtime enviroment 1.3._01, type activeX control, createad, 29-6-03.8.43.p.m. last accessed 26-7-03. total size.0 bytes
    ( None ), ID CAFEEFAC-0013-0001-0001-ABCDEFFEDCBA. status, damaged. codebase http://java.sun.com/products/plugin/1.3.1/jinstall. i am running windows XP professional, when i got to a forum with applets i get the following message= java.lang.ClassNotFoundException.Forum.Class. loading java applet failed, any ideas greatly received many thanks mistylady.

    Hi,
    is this the only time you got this problem? If no then probably you should try installing the jre again or download the latest version from sun.
    http://galileo.spaceports.com/~ibidris/

  • Java Control Panel wont open at all and any Java Applets crash web browsers

    Hello,
    I recently installed a fresh fully updated copy of Windows 7 Home Premium 64 bit, and I have not for the life of me been able to get Java working at all. Java version is the latest JRE 6U31. I only have Internet Explorer 9 installed but I doubt it is a browser issue since I cannot even open the Java control panel. I have tried using the 32 bit version of Java, and the 64 bit. Anytime I try to open the Java control panel with either 32 bit or 64 bit, I get an error message (click link below to view error message):
    http://i65.photobucket.com/albums/h204/gobigjeff/Java%20Error/javaerror.png
    I can only bring up the Java Control Panel using the command “javaws –viewer” . Anytime I try to load a web page with a Java applet in either 64 bit or 32 bit, it freezes and crashes. I am running Internet Explorer 9 and have tried both the 32 bit and 64 bit browser versions. I saw Java’s recommendation to only use the 32 bit version so I have mainly been trying to get the 32 bit version working 1st, with no success. I have tried ALL of the following steps, and have done some exhaustive research on this problem. It seems others have had this issue as well, with no solution to be found:
    •     Uninstalled and reinstalled only Java 32 bit JRE 6u31 multiple times (Used Javara and reg cleaner to remove all old Java traces)
    •     Uninstalled and reinstalled only Java 64 bit JRE 6u31 (Used Javara and reg cleaner to remove all old Java traces)
    •     Uninstalled and reinstalled bit JRE 7 (Used Javara and reg cleaner to remove all old Java traces)
    •     Used SFC /scannow in safe mode to verify Windows files
    •     Ran spyware and virus scan with no issues detected
    •     Added all java processes to windows firewall
    I am out of solutions here. If anyone has had this problem with Java or knows what I need to do to fix the problem your advice would be greatly appreciated. I don’t think reinstalling windows is the solution because this is a fresh install.
    Edited by: 918650 on Mar 4, 2012 1:16 PM

    I figured it out. I changed the installation folder to C:/Java and it finally worked!

  • Does Firefox support java applets if the "Next generation plugin" is disabled via the Java plugin control panel.

    I'm still trying to get a definitive answer to this question.
    My applet is not "Next Generation compliant". When we run our applet in Internet Explorer it runs fine as long as we disable the "Next Generation Plugin" via the Java plugin control panel. However our applet does not run in Firefox if the "next generation applet" is disabled.
    Is it a requirement that if I want to run an applet in Firefox 3.6.x or higher that the "next generation plugin" be enabled via the Java plugin control panel.

    Current Firefox versions (3.6 and later) can only run Java applets via the Next Generation plugin.
    *http://java.com/en/download/help/new_plugin.xml

  • Running an ActiveX component wrapped as a Java Applet. How to do it?

    I have a legacy ActiveX/ocx plugin that the client wants to be run as a Java Applet. They think that will make things J2EE compliant.
    How would you wrap that? are there libraries to help?
    Thanks in advance

    thanks for trying to help since I wasn't able to find the appropriate category given the new change (discussions.apple.com/thread/6421739)

  • How to create ActiveX control in Java

    I know there are lots of experts in this forum
    thats y i'm putting this general question.
    Will all devices come with an Active X Control.
    "To capture a device's events we can use ActiveX Control."
    Hows this statement implemented.???
    Thanks for the Sample code

    I am new to this. I want to display the data from database like a grid control. Ok, what problems are you having. You been given a link to the tutorial which shows you how to build a table.
    There is also a tutorial on [url http://java.sun.com/docs/books/tutorial/]JDB Database Access here:
    http://java.sun.com/docs/books/tutorial/
    Start by creating your SQL statement and iterating throught the ResultSet. Once you know how to do that, instead of outputting the data you simply build a DefaultTableModel and create the JTable.

  • On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this?

    On certain web sites(with java applets embedded or rich content),sometimes browser hotkeys are beeing used with other functionality (eg.: youtube uses ctrl + tab for sliding between player controls).How can I prevent this ?

    Thanks for posting this!
    I would only mention that your definition is incomplete for this -
    Contextual selector A type of Style Sheet Selector that
    and that it's most often referred to now as a Descendent selector, not a contextual selector.  It's basically the same as the Compound selector that you have already defined....

  • NAC Agent/ActiveX/Java applet

    Hi,
    For L3 OOB deployment , does any one know how the NAC agent/ActiveX/Java applet refresh the IP address for the client??
    i know that In the Login Page configuration, two options need to be checked to use the ActiveX/Applet webclient to
    refresh the client’s IP address:
    - Use web client to detect client MAC address and Operating System
    - Use web client to release and renew IP address when necessary (OOB) .
    But what i need to know how the agent/ActiveX/Java applet refresh the IP address for the client???
    are these programs ( agent/ActiveX/Java applet ) triggers the client machine to do that???
    regards
    MAM

    MAM,
    You're right. The applets do indeed trigger a dhcp refresh on the machines. This is to avoid bouncing the port which can be problematic when you have IP phones.
    More info on this in the docs here: http://tinyurl.com/yhnskdf
    HTH,
    Faisal

  • How to extend the JVue applet class using ActiveX Control

    My SR recommendation was to post this here:
    ) How to Extend the JVue Applet class
    This is the preferred solution. However, when using the ActiveX control, my derived JVue class that is specified in autovue.properties is not being instantiated.
    Your ActiveX bridge looks like it's hard coding a "new JVue()" which means I have no integration hook using the ActiveX control.
    To reiterate, if I extend JVue to add functionality and specify it in the autovue.properties, it is picked up when I run it standalone but if I use the ActiveX component, it is not being picked up.
    I have already read all the documentation, have had web conferences with Mahmood and Jeff Chapman and the engineering staff who recommended this approach as the preferred option.

    We have a need to override certain VueBean/JVue method calls to meet our document handling(documents need to handle metadata information and hence change the document loading cycle, ie markup loading/XRef resolution is dynamic). Also the invokeAction/invokeSubAction do not allow parameter passing(which we have requirements for certain actions again due to metadata) so we would like to override the invokeAction method to include custom processing(we will encode the action with parameters).
    We are already using Custom VueActions for other simpler UI event handling that don't have parameter requirements.
    As I said above, these use cases were relayed to the engineering team and senior staff members in early December and we were told that we could proceed with overriding the main class in the autovue.properties file. I have SR(s) opened with a long thread detailing this so I really don't want to go through this again.
    A custom VueAction does not seem to work because it binds to late in the object call/event stream.

  • Can I insert ActiveX controls in Web Dynpro Java?

    We want to insert ActiveX controls in Web Dynpro 7.3.
    Is it possible?

    Using the WebWidget UI element you can insert any HTML and JavaScript code but this does not guarantee that your special ActiveX control will work correctly.

  • Referencing a "locally installed" Java applet from a server-based HTML page

    How does one reference a "locally installed" Java applet from a server-based HTML page (i.e. via the applet, object, or embed tags)? I have seen references in documentation that this is possible, but I have not seen any examples. I have tried a few things, but nothing seems to be working.
    Some background...
    I'm working on a web site that aggregates Internet video. For many users, I would like the site to work "without" requiring Java to be installed (or any prompts, etc.). This version of the site allows users to stream videos directly over the Internet and does not require any sort of access to the local system.
    However, in addition, I have a download manager that can be installed on the local system. Currently, it's a Windows-based "service" that is always running in the background, downloading files, etc. (with plans to later support other OSes).
    My dilemma is trying to communicate between my web site running in the local browser (executing JavaScript code) and the download manager. I call this component the "gateway". I need the gateway to be able to do the following:
    1) Pass user credentials from the web browser UI to the download manager (so it can communicate with my servers).
    2) Check the status of downloaded videos
    3) Launch a local media player (such as Windows Media, QuickTime, etc.) (or perhaps tell the download manager to launch the media player).
    Under Windows XP, I have an ActiveX control that can do these things. It communicates with the download manager via reading/writing to a shared XML configuration file.
    Unfortunately, under Vista and IE7 Protected Mode, ActiveX controls have become very restricted and my gateway no longer works. As such, I am looking at using Java for the gateway (also giving me the additional benefits of supporting additional browsers and OSes).
    From my understanding, I believe I can created a "face-less" Java applet, whose methods can be called from JavaScript. Ideally, I'm thinking I could install the applet onto the local system at the same time the download manager is installed. This would give the applet the security permissions it needs to communicate with the download manager.
    Thanks for any help and suggestions!

    Hi,
    Put the .jar file and the .class file in the path mentioned in one of the aliases in the plsql.conf file like /images or create
    a seperate directory and create an alias like /applets "path" in the plsql.conf file.
    <html>
    <body>
    <applet code=com.chartapplet.chart.BarChartApplet
    codebase=/applets/
    archive=/applets/chart.jar width=300 height=200>
    <param name=background value="white">
    </body>
    </html>
    Hope this helps.
    Thanks,
    Sharmila

  • Using Labview with Java Applets

    I want to use LabView instruments in my Java Applets. Is it possible to call virtual instruments from applets?

    Gaurav,
    Yes, it is possible, but it might be easier if you use Remote Panel (LabVIEW 6.1) or an ActiveX component (Application Builder). To have Java and LabVIEW communicate with your applet, I can only suggest using the Application Builder to build your VIs into a DLL and then use the JNI to talk to this DLL. This may work fine outside of a browser, but I don't know if it will work inside a browser or not because each user will need the DLL. The best way to do it would be to have the Applet redirect the user to a Remote Panel web page where they can control the VI from there.
    For more information on Java and NI Products, see the link.
    Randy Hoskin
    Applica
    tions Engineer
    National Instruments
    http://www.ni.com/ask

  • Access System Resources using Java Applet via Java Script

    Hello
    I can access my Applet public methods (and this methods access system resources) via Java Script if I do the following: System.setSecurityManager(null);However, I'm making this post because I don't like this solution.
    Supposedly, setting the SM to null is like making the Applet (which is signed and was accepted by the user via a prompt from the browser) behave like a normal Java program that has no restrictions. (http://java.sun.com/docs/books/tutorial/essential/environment/security.html, second paragraph)
    However, this feels like a workaround of something that is supposed to be there (the SM).
    Also, if I make the methods invocation from inside the applet (using swing buttons and textboxes for example) I can use the standard SM without no problems.
    From my readings, the problem regarding Java Script invocation, comes from the fact that the Java Script is not a secure (not signed) source (because you can invoke public methods the way you wish from it i guess) on the contrary to the applet methods invoked by the buttons.
    Possible solutions I found in the web range from using the public static Object doPrivileged(PrivilegedAction action) method or imaginative things like creating new threads on the public method that call the private methods that access the system resources (supposedly because the new thread runs under the safe environment of the applet)
    I almost got a glimpse of hope with this post http://forums.sun.com/thread.jspa?threadID=5325271&tstart=0
    However, none of these solutions worked, the only results were with the setResourceManager(null)So, any one can contribute with a solution for this? Should I keep trying to find a solution other then the one I already have?
    Regards
    Cad

    1. yes
    2. yes
    Note for 2. the converter will run the applet with SUN jre for sure if the user has IE.
    IE will use the ActiveX technology to run the applet (as with Macromedia Flash).
    For Netscape I am not sure, but I would think Netsape will use the plug in provided by
    SUN.
    Note for SUN jre 1.3. If this applet is to be used within a company that uses a proxy with
    ntlm authentication the 1.3 applet cannot connect (to the Internet) through this proxy since
    ntlm athentication is supported since j2re1.4.2_03. There is one version before that but
    that one will pop up a window asking for the user's domain account and password wich
    is both lame and crappy.
    As for the IE settings, IE has a default setting that askes users the "do you trust"
    queston for AciveX controls within the Internet securety zone (tools -> internet options
    -> security).
    Sincy anybody can make ActiveX controls (allso sign them) a user that has a problem
    to find the "no" button will sooner or later install a malicuous ActiveX control (spy ware
    or a virus).
    If this user's desktop is within your company's network it will cause serious harm.
    This is why most company's disable this by changing the default internet expolorer
    settings. Since I assume you are writhing this applet to be used by a company I allso
    assumed that company has someone to maintain the desktops. In that case I
    assume that person would want to control the security within the SUN jre instead of
    letting the user deside what to trust and what not.

Maybe you are looking for

  • N79 camera failur

    since some days (after connecting my mobile to the  ovi pc suit) both cameras of my N79 do not work anymore.  I still can start the camera menue with out problem but there is no picture and the background is dark. This problem concerns both cameras (

  • Kindle Fire HDX - Skype video calling, video is de...

    When I use Skype on my Kindle Fire HDX 7" I get really good calls when it comes to audio calls. When it comes to video calling though, the sound is excllent as well as the video quality, but the video is 3-4 seconds delayed in contrast to the sound r

  • BPC - EVDRE error - values on YEAR level do not appear

    Hi everyone. I have a Time dimension with YEAR, QUARTER and MONTH level. When I do an EVDRE report and I select an especific YEAR (ex. 2011) and I set the MemberSet Expansion to SELF, it didn´t bring any value. On the other hand, when I set SELF, DEP

  • Non-canonical format

    I am working on a non-canonical xml document, which needs to be moved to the database, does any one know any work arounds to move the non-canonical xml to the database.

  • Weblogic server version compatibility

    Hi everyone, We are developing adf applications with JDeveloper 11.1.2.3.0( integrated weblogic server 10.3.5.0) . If we deploy these applications to Oracle WebLogic Server 12c (12.1.1), will we have any problems ? Thanks ..