How to run applet after open an IE vit in labview?

Dear all,
In my application, I open IE using labview vit to run an html page which contains an applet.
But the problem is at my computer at home, when I run the JVM automatically shows up and run the applet, but at the office, this JVM does not show up show it can not run (although if I open it using standalone IE, it runs fine)
I did check for the IE settings, windows Xp (sp2), JVM 1.5, and others but still not solved.
Is there anything to do with labview to make sure that the JVM run the applet?
Thanks.

Thanks,
I did as you advise, but still not work.
For a more clear explaination:
I attach 4 files (in zip file called esco.vip, pls change back to .zip and open it): one is labview file to open the IE, one is the html file, the other is the .class file of java applet, the last one is the source code of this java applet (for you to recompile and check the safety in case you doubt my .class file about security). Pls put all of them in the same folder
So, if your computer has the JVM, you open the html file using an IE, you will be able to see scroll text runing.
if you open the labview vi, key in the file name, and run it, my home computer can see, but my office computers is not allowed to see (it will appear the grey line). I'm not sure you computer will experience the same (hope you do )
So my question is: how to make it running in labview?
I had check the setting and configuration, they are quite similar:
-win XP, SP2
-IE 6
Attachments:
esco.zip ‏70 KB

Similar Messages

  • HOw to run Applet in browser.

    Hi guys. I've got 2 problems.
    1. In Window, I've got Java installed (and using NetBean IDE as Java editor), so of course I've got j2sdk_nb-1.4.2 installed as well. But I couldn't run any applet in IE, for example, in games.yahoo.com, I couldn't join any game because applet always failed to load. But yesterday, I've got a pop up asking to install jre1.4.2 and after install this JRE, everything works fine. My point here is, when I have SDK1.4.2 which contains JRE, why should I have to install new JRE to run applets ?
    2. Could anyone tell me how to run applet in Mozilla, Linux. I'm using Linux RedHat 9 as well. And in Redhat, I've got J2sdk_nb-1.4.2 installed with NetBeans IDE. It said that I need appropriate Plugs-in, but in my Java directory, I also found Plugsin directory. So how to configure Mozilla to run applet.
    Thanks for reading.

    Just to let you guys know that I sorted it out already. Well, the problem lies in I'm confused between two directory /usr/lib/Mozilla and /usr/lib/Mozilla and two Java plugs-in available in nsc60 and nsc60-gcc (don't remember exactly)
    For my Linux (Red Hat 9), I've got to create symbol link from nsc60 directory to /usr/lib/Mozilla, not any other way.
    Thanks

  • Urgent: how to run applet which connected to the servlet?

    hi frends:
    i have written an applet on the server side and it supposed to pass parameters to my servlet and retrieve some info from the servlet.
    i put both applet and servlet under tomcat../WEB-INF/classes. but when i run the applet from the web browser, there is no response from the servlet.
    could anyone help me to solve this problem?
    one more thing is i know that applet is able to connect to servlet, but how about java application? is it able to do so? if yes, is it also using URLconnection as applet? and how to run it?
    i will be very appreciate if anyone can help me... thanx a million.

    You can connect to the servlet from an application.There's a URL class in java.net that has an openConnection method. Then cast the return to an HttpURLConnection and use setMethod to set up as a post request.This may be the default if you call setDoOutput(true) on the URLConnection. Then you'll need to get an OutputStream and write properly formatted form POST data to it. It's also possible to encode your data on the URL, even when using the POST method, and this may be easier when doing it programmatically from an application. To send a get request you can append the name-value pair at the end of the url.

  • How to run applet in a browser

    I know already how to jar files but my only problem is how to attached my applet in an html.. how to run this in a browser.. please help..

    http://java.sun.com/docs/books/tutorial/deployment/applet/deployindex.html

  • How to run executable after installation?

    Hi everyone,
    I created an installer from one labview program with the application builder
    of Labview7.1 for my customer, and this installer will be burned
    on a CD. There are several configuration files which should be always
    modified, so I want to give the customer a possibility that he can
    change them by himself without creation of a new installer , I think the
    "run executable after installation" is the way to do it, but I don't know
    how to implement such an executable command to copy some files from CD to
    the destination directory which the program should be installed, could
    anyone give me some tips? Thans a lot!
    Le

    When you setup your build file, add the files using SourceFile Tab>>add support files, then click on custom destination, here you can add support files during installation. Hope this is what you are looking for.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to run Applet programe in IE

    I' am beginner in java & i want to run applet in IE.But when i tried to do it in IE,"page can not displayed" error is shown.
    why this is so?
    which steps to follow?

    which JVM is used by IE? The 1.1.8JVM from IE is very old so you should use a Java2 JVM or a Swing-Plugin for IE

  • RUNNING SLOW AFTER OPENING KASPERSKY ON PARALLELS

    RUNNING SLOW AFTER INSTALLING KASPERSKY ON PARALLELS

    AV software is well-known for requiring large CPU and memory resources. You're running it in a virtual machine, which may have limitations on what CPU and RAM resources are allocated to it.
    So, software that makes things run slowly makes things run extra slowly when a layer of virtualization is added.

  • Not able to run Applet after calling JSP with a Servlet

    Dear Java-Community :)
    At first I want to say, that my English isn't the best.. so I hope you'll understand my problem ;)
    I'm running a J2EE-Application, packed in a EAR-File, on my JBoss with following directory-structur:
    /jaw6c/bin
    /jaw6c/build
    /jaw6c/common
    /jaw6c/ejb
    /jaw6c/sql
    /jaw6c/src
    /jaw6c/webapp
    /jaw6c/webapp/build
    /jaw6c/webapp/build/classes
    /jaw6c/webapp/build/classes/com
    /jaw6c/webapp/build/classes/com/jbossatwork
    /jaw6c/webapp/build/classes/com/jbossatwork/ControllerServlet.class<<<<<<<<
    /jaw6c/webapp/build/distribution
    /jaw6c/webapp/build/distribution/webapp.war
    /jaw6c/webapp/build/gensrc
    /jaw6c/webapp/compile-lib
    /jaw6c/webapp/lib
    /jaw6c/webapp/src
    /jaw6c/webapp/src/com
    /jaw6c/webapp/src/com/jbossatwork
    /jaw6c/webapp/src/com/jbossatwork/ControllerServlet.java
    /jaw6c/webapp/web
    /jaw6c/webapp/web/WEB-INF
    /jaw6c/webapp/web/WEB-INF/classes
    /jaw6c/webapp/web/buyCarForm.jsp
    /jaw6c/webapp/web/carForm.jsp
    /jaw6c/webapp/web/carList.jsp
    /jaw6c/webapp/web/copy_darstellungErgebnisse.jsp
    /jaw6c/webapp/web/darstellungErgebnisse.jsp<<<<<<<<<<<<<<
    /jaw6c/webapp/web/default.css
    /jaw6c/webapp/web/diag.jar
    /jaw6c/webapp/web/diagram.class<<<<<<<<<<<<<<<<<<<<<<<<
    /jaw6c/webapp/web/error.jsp
    /jaw6c/webapp/web/index.jsp
    /jaw6c/webapp/web/selectBewertungslaeufeList.jsp
    /jaw6c/webapp/build.xml
    /jaw6c/build.xmlThe applet should be loaded in my "darstellungErgebnisse.jsp"-File.
    Now the strange situation:
    When I access "darstellungErgebnisse.jsp" DIRECTLY by entering a URL like "localhost:8080/jaw/darstellungErgebnisse.jsp" , the applet is loading perfectly !
    But when my server is forwarding me to the JSP-Site with
    RequestDispatcher dispatcher =  getServletContext().getRequestDispatcher(destinationPage);
    dispatcher.forward(request, response);
    . . . . . . . ..I'll get a ""java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file diagram
    " -Error what means (referenced on the articles I've read here), that the diagram.class Is not found !
    I have tried to put the class file in a JAR, in different locations... using the codebase and archive tag but NOTHING solved my problem.
    So my question:
    Why I'm able to access the JSP-File directly and seeing the applet but after forwarding to the JSP-File via the Servlet, I'm not able to see anything.
    Would appreciate your help
    Thank you and best regards
    Edit:
    1) I'm able to download the diag.jar and diagram.class file from different locations
    2)I recognized, that after using the servlet, my url is changing from
    localhost:8080/jaw
    to
    localhost:8080/jaw/controller
    I tried added the class file to the position, where the controller-class file is, but without sucess.
    3)Opening the class-file with a hex-editor shows me, that
    the first bytes are
    "CAFEBABE0000002E02B9070002010007"
    (http://forum.java.sun.com/thread.jspa?threadID=648990&messageID=3820701)
    Message was edited by:
    Khaled01

    Hello everybody,
    I finaly have found the solution (after 16 hours).
    Like I mentioned before, I recognized (maybe a little to late), that my path is changing when I'm using the servlet :
    localhost:8080/jaw
    to
    localhost:8080/jaw/controller
    (made by url-pattern in my web.xml).
    So when my JSP tries to acces the class file, It's looking at:
    localhost:8080/jaw/controller/applet/diagram.class
    but the file is in:
    localhost:8080/jaw/applet/diagram.class
    So the solution is, to but a codebase-tag in my applet-declaration with following delcaration "basedir="../applet"
    I hope I'll help somebody with the same problems. It took me a day to find out, that the solution was two points and a slash..... lol
    Regards to everybody

  • How to run code after each other?

    Hi there, a little question.
    I call a function that returns the path of a new saved image as a string.
    In that function I  use a loader to load the image. After the image is loaded I set the url of the saved image and return it.
    Next = id of the new saved image
    Imageurl = the url of the image to load.
    thumborfull = an indication to see if the thumb needs to be saved or the full image, so the thumb can be saved in a different folder than the full image.
    My problem: when I call this function.. the return goes first, and then the loader complete. In the loader complete I set the new path of the image which i want to return.
    So, my code runs synchronal, and not synchronic.. How do you get it to run synchronic?
    Please some help.
    code:
         public var myimageurl:String;
         public function saveImageFromInternet(next:Number, imageurl:String, thumborfull:String):String
              var imgClass:Class;
              //the second way
              var loader:Loader;
              //source code of the second way
              loader = new Loader();
              //notice: NOT _loader.addEventListener,is  _loader.contentLoaderInfo.addEventListener
              loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(event:Event):void
                    var loader:Loader = Loader(event.target.loader);
                        // width and heigt of selected image
                   var originalimgwidth:Number=event.target.width;
                   var originalimgheight:Number=event.target.height;
                   //put original image into bitmapdata
                   var bitmapje:BitmapData;
                   bitmapje=new BitmapData(originalimgwidth, originalimgheight, false, 0xFFFFFFFF );
                   bitmapje.draw(loader.content,null,null,null,null,true);          
                   var newimagefile:File=new File();
                   if(thumborfull=="thumb")
                        newimagefile=docsDir.resolvePath("Tmtp/I"+next+".mtp"); //image path
                        myimageurl=newimagefile.nativePath;
                   else
                        newimagefile=docsDir.resolvePath("Fmtp/I"+next+".mtp"); //image path
                        myimageurl=newimagefile.nativePath;               
                   var stream:FileStream = new FileStream;          // create new filestream
                   stream.open(newimagefile, FileMode.WRITE);     // open filestream
                   var data:ByteArray = encodeToJpg(bitmapje);     // convert bitmapdata to a jpg bytearry
                   stream.writeBytes(data, 0, data.length);     // writing the image
                   stream.close();
              loader.load(new URLRequest(encodeURI(imageurl)));
              return myimageurl;

    If you are concerned that you are losing the url as it is not available from the complete event, you could use a custom event, which allows you to pass your own data into the custom event. Then in your custom complete event object you will still have the url.
    http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_1.html

  • Can't run applet after mac os x upgrade

    hello,
    I have trouble running a simple java applet on my mac os X laptop .ie:double click on jar file, opens up but nothing happens
    The problem started when I upgraded my laptop to 10.2.5
    [c18339:~] fred% java -version
    java version "1.4.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-39)
    Java HotSpot(TM) Client VM (build 1.4.1_01-14, mixed mode)
    The error message when i try to run the applet:
    fred% java -jar mindterm.jar
    2003-05-18 08:57:57.295 java[898] Font 04b-20: descent is 0.
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.mindbright.application.MindTerm.initGUI(Unknown Source)
    at com.mindbright.application.MindTerm.run(Unknown Source)
    at com.mindbright.application.MindTerm.main(Unknown Source)
    Caused by: java.lang.NullPointerException
    at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:327)
    at sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(SunGraphicsEnvironment.java:359)
    at apple.awt.CToolkit.getFontList(CToolkit.java:901)
    at com.mindbright.terminal.o.a(Unknown Source)
    at com.mindbright.terminal.o.do(Unknown Source)
    at com.mindbright.terminal.o.<clinit>(Unknown Source)
    ... 3 more
    Is there something wrong with Java shipped with 10.2.5, it was working
    great on 10.1
    regards
    frederic
    http://www.dab.uts.edu.au

    Just a guess, but did the applet come with any fonts?

  • How to run applet within packages in tomcat

    I have servlet packages and applet packages in my application. I can successfully called my servlet packages by using:
    http://localhost/servlet/mypackage1.mypackage2.myServlet
    However, I can't call my applet packages by using:
    http://localhost/myapplet.html
    <Applet
    CODE = "myApplet.class"
    BASECODE = "mypackage1.mypackage2/"
    </Applet>
    I am currently using tomcat default web services directory structure as follows:
    webapps\ROOT\WEB-INF\classes\mypackage1\mypackage2\myServlet.class
    webapps\ROOT\mypackage1\mypackage2\myApplet.class
    I received the following error:
    noClassDefFoundError:myApplet (wrongname: mypackage1\mypackage2\myApplet)
    Thanks in advance for any helps.

    This doesn't have anything do with servlets. Your
    problem, as you said, is how to write the HTML to run
    an applet. Whatever is trying to load that HTML
    doesn't know anything about your servlets and doesn't
    care. I think it is complaining because you did or
    didn't put your applet in the (badly-named) package
    mypackage1.mypackage2.The package names I used was just an example. My real package names were really long and 10 levels deep so I didn't want to use it. I finally figured out how to tell the browser to find my applet class package. Using my original example (with the bad package names):
    <Applet
    CODE = "mypackage1.mypackage2/myApplet.class"
    </Applet>
    I removed the codebase and just put the package class file in the root directory.
    I am sure there are more than one way to make this thing work but this is how I got my to work. Thanks.

  • How to run applet program in browser

    I am new in the field. I have begun with some basic programming. I wish to know how do you run a java programme in browser. I have added the html tag in the .java file. can anyone kindly let me know. thanks

    You don't add the tag to the .java file. You need a separate HTML document (such as a .html file, or a .jsp, etc.) that has the <applet> tag in it. (Also there's some stuff you can do with <object> and/or <embed>, apparently.) The applet tag tells the browser to load your applet.
    http://java.sun.com/docs/books/tutorial/deployment/applet/index.html

  • How to run Applet silently?

    Hello,
    I have a script saved in StartUp folder as an Applet. At the startup, user will prompt to click Run to run the applet. Is there a way to run it silently without user's input?
    I am running OS9.2.
    Thanks.

    If you mean an AppleScript, open the Script Editor in the Applications (Mac OS 9):Apple Extras:AppleScript folder, choose Save As from the File menu, and then save it as an application with the option to show the startup screen disabled. This cannot be done if the script was saved as run only, but another method may work in this case.
    (19601)

  • How to run applet inside a browser coz my applet runs outside the browser

    I would like to run the Java Applet viewer in-line inside a Browser Window. Presently, when launched through an html page, the applet opens another main window outside the browser. Can't seem to find any applet parameter tags for it. If there is a way to do that please let me know. Thanks in advance - m.a.

    public class mainGIS extends JApplet {
    public void init() {
    GISEditor tempGISEditor = new GISEditor();
    public mainGIS(){
         GISEditor tempGISEditor = new GISEditor();
         tempGISEditor.setTitle("Franchise Viewer");
         tempGISEditor.setSize(1000,600);
    and..
    <Html>
    <Head>
    <Title></Title>
    </Head>
    <Body>
    <APPLET CODE="mainGIS.class" archive="aaa.jar" WIDTH="800" HEIGHT="600">
    </APPLET>
    </Body>
    </Html>
    it opens outside a web browser!(it pops out) I mean, I want to display my application in-line with the browser

  • How to run applets on the internet?

    I want my applet class run on the Internet but not in the Internet browser but instead maybe in appletviewer or something else...For example in java.sun.com the chatroom is an applet and it doesn't run in browser as I understand.because when I clicked on the exit button on the right most side, it understands that I clicked on it which means that it has got window events(e.g. windowclosing) which belongs to appletviewers.But I think internet browsers doesn't have such a capability to understand these windowevents.So the question is: how can I run my applet over the Internet without running it on the browser? or how I can make the browser understand that the windowclosing event occured on it?
    thanks for your attention??

    what chatroom are you talking about ?

Maybe you are looking for

  • Removing default selected format

    Hi all, When I run the report FBL1N, and click on List - Export - Spreadsheet,  I get a selection box to choose the format. When I choose a particular format and check the box "Always use selected format", the system always uses the same format to sa

  • My elements 7 editor has stopped working...Help

    When i open my program it says " adobe photoshop elements editor has stopped working " and it closes but i will let me uses my organizer. What do i do

  • Missing calendar entries when syncing

    Using windows xp, ms outlook 2007 and iTunes 1.1.3, I am missing calendar entries on my computer after syncing. The calendar entries are shown on the iPhone, but many do not make it onto Outlook on my computer. The sync seems to push onto the iPhone

  • How to get rid of widescreen

    I use a miniDV camcorder in a 4:3 format. It has a widescreen feature, but all it does is to crop top and the bottom of the picture and replace them with letterbox. It is not a natural widescreen. Any clip I import into iMovie gets stretched out into

  • Ability to log activities against Partners

    Is it possible for our sales users to log their activities directly against partners?  We have a requirement to log phone calls, tasks, emails, and appointments against our partner list / partner contact list. Thank you, Kelly