How to use a bat file to change plug-in control panel settings?

Hi,
The company I work at has old applications that rely on the MS JVM shipped with IE so we cannot activate the Sun Java plug-in for all users.
The applet we are developing has to write to disk and thus has to be signed. We do therefore need to run a modern Java version for our users. We have about 5000-7000 users so we would need to create a bat file that would automatically be run for our users. That bat would set that the Sun Java plug-in will be used for Intenet Explorer.
Does anyone know which (registry-?) setting it is that is changed when the Internet Explorer box is checked in the Java plug-in control panel?
All help is greatly apprechiated.
Best regards,
Helena

Try this one:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_06
Where the 1.5.0_06 might be a different version.
There is a value named UseJava2IExplorer. 1 is enabled (Sun's), 0 is disabled.

Similar Messages

  • How to use multiple video files??

    hi all,
    i am using flex 4 ...
    now i have designed video player..
    i used single flv file for execution..
    how to use more flv files in tis program???
    i have included program also..
    can any one reply for this...
    thanks in advance...
    regards,
    saran r
    video.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init()" height="700" >
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.core.UIComponent;
                import flash.events.NetStatusEvent;
                import flash.media.Video;
                import flash.net.NetConnection;
                import flash.net.NetStream;
                private var nc:NetConnection;
                private var stream:NetStream;
                public var videoDuration:Number;
                public var nsClient:Object = new Object();
                private var videoComp:Video = new Video();
                private var meta:Object = new Object();
                private var timer:Timer = new Timer(100);
                private var uiComp:UIComponent = new UIComponent();
                private function init():void
                    nc = new NetConnection();
                    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    nc.connect("rtmp://localhost/saran");                 
                    this.addElement(uiComp);
                    uiComp.addChild(videoComp);
                    timer.addEventListener(TimerEvent.TIMER,timerHandler);
                    timer.start();
                private function netStatusHandler(event:NetStatusEvent):void
                    trace("Code ===>>>    "+event.info.code);
                    if(event.info.code == "NetConnection.Connect.Success")
                        connectStream(nc);
                private function connectStream(nc:NetConnection):void {
                    stream = new NetStream(nc);
                    videoComp.attachNetStream(stream);
                    stream.play("Terminator")
                    // stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                    stream.client = nsClient//new CustomClient();
                    nsClient.onMetaData = metadataHandler;
                    trace("stream ===>>>    "+stream.currentFPS);
                    //responder = new Responder(onResult);
                    // nc.call("getStreamLength", responder, "bikes" );
                private function metadataHandler(metadataObj:Object):void
                    meta = metadataObj;
                    videoComp.width = metadataObj.width;
                    videoComp.height = metadataObj.height;
                    //positionBar.move(videoComp.x, ((videoComp.y + videoComp.height)+20));
                    //positionBar.width = videoComp.width;
                    trace("Duration ====>>>>   "+meta.duration);
                private function timerHandler(event:TimerEvent):void
                    //trace("Timer called.........."+stream.time);
                    //positionBar.setProgress(stream.time, meta.duration);
            ]]>
        </fx:Script>
    </s:Application>

    I have the same question but I am using two pc's

  • How to call a .bat file from java code?

    How to call a .bat file from java code? and how can i pass parameters to that .bat file?
    Thanks in advance

    thanks for ur reply
    but still i am getting the same error.
    I am trying to run a .bat file of together tool, my code looks like below
    import java.lang.Runtime;
    import java.lang.Process;
    import java.io.File;
    class SysCall{
         public static void main(String args[]){
              String cmd="D://Borland//Together6.2//bin//Together.bat -script:com.togethersoft.modules.qa.QA -metrics out:D://MySamples//Metrics// -fmt:html D://Borland//Together6.2//samples//java//CashSales//CashSales.tpr";
              //String path="D://Borland//Together6.2//bin//Together.bat ";
              Runtime r= Runtime.getRuntime(); //Declare the system call
              try{
                   System.out.println("Before batch is called");
                   Process p=r.exec(cmd);
                   System.out.println(" Exit value =" + p.exitValue());
                   System.out.println("After batch is called");
              /*can produce errors which must be caught*/
              catch(Exception e) {
                   e.printStackTrace();
                   System.out.println (e.toString());
    I am getting the below exception
    Before batch is called
    java.lang.IllegalThreadStateException: process has not exited
    at java.lang.Win32Process.exitValue(Native Method)
    at SysCall.main(SysCall.java:17)
    java.lang.IllegalThreadStateException: process has not exited

  • How to use a key file in the FTP Task using and SSL connection

    In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
    Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site?  If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
    from an SSL FTP site?  Thank you for any help offered.
    public void Main()
    ConnectionManager FTPConn;
    FTPConn = Dts.Connections["FTPServer"];
    FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
    Dts.TaskResult = (int)ScriptResults.Success;
    Antonio

    You can use SFTP for this.
    This is a way of implementing SFTP in SSIS using standard tasks 
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    also see
    http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to use my as3 file in flex

    hi, I am new in flex and want to divert into flex. How to  use my as3 file into flex. Is there any sample tutor . so, that I could learn fast.

    Please clarify. Is this .as file a class you previously used as a complonentcomponent you now wish to use as the main application?
    If the .as file just has variables and functions you wish to access from your Flex app, use:
    include "subfolder1/subfolder2/etc/MyASFile.as";
    If you want to use classes from the file, do this:
    import subfolder1.subfolder2.etc.MyClassName;
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • How: Using the same control panel for multiple vi and propogatin​g changes to the control panel.

    I have created a labview project that contains about 40 vi.  Each vi has a control panel in common that is a group of ip address, or port address, and settings that are passed from high level vi to low level vi for the purposes of controlling and accessing our daq cards.  As this control panel exist in all vi's and is required to be identical there is a problem when needing make a change or update the controls during development.  The problem is how much time it takes to go and change every single vi's control panel.  I wish to have a way of propogating a change in the control panel across all vi simultaneously.
    All control in the control panel are in a bundle, so all values are passed in 1 wire. 
    I tried turning the control panel into a sub vi, and this way I can just "create control" and have outputs of the vi maniuplate settings, however if I update the vi, I still have to go back and create a new control for each vi as the control has changed.
    I have tried using the subpanel and creating the control panel in a sub vi that is displayed in the subpanel, but this gives the unwanted consequence of not being able to view or change settings on the control panel if the program is not running, as subpanels blank out when the program is not running.
    Is there another way to dispaly a subvi's front panel beside using a sub panel?  Is there a better way to propogate changes in a bundle throughout a series of vi? 
    JW
    Solved!
    Go to Solution.
    Attachments:
    Labjack Comm Settings.vi ‏15 KB

    Yes a type def would help you out and I'd take the next step to make it a strict type def if you want the appearence to be the same across all of its instances. You can also review this Nugget on Type definitions for more idea on this topic.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to write run.bat files

    Can anyone tell me how to write run.bat files to run java classes. Currently my run.bat file has the following two lines,
    c:\j2sdk1.4.1_02\bin\javac.exe *.java
    c:\j2sdk1.4.1_02\bin\java.exe questionnair
    But the class is not executed. Thanks in advance.

    you'll have to provide more details.
    Firstly, which package is the class a part of? and secondly, where on the filesystem is the root of the package?
    You might also benifit from placing the c:\j2sdk1.4.1_02\bin\ into the classpath.
    On a rainy day, check out the ANT tool, it will take care of all that crapola for you.
    newio

  • How to create a bat file by abap?

    hi~
    i ask a elementary question.how to create a bat file in my local pc?how to write some message in this bat file ?thank you !

    execute bat-files
    Reward Points if it is helpful
    Thanks
    Seshu

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How to use a CSS file  in a jspx page..

    I'm using JDev 10.1.3.4.
    I would like to know how can i use a CSS file in a JSPX page..
    there is this file: public_html\WEB-INF\temp\adf\styles\cache\oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css
    How do I make use of this is my jspx page?
    Also how do i use the style class in property inspector?
    What should be the path of "oracle-desktop-10_1_3_4_0-en-ie-6-windows-s.css"?
    Also please tell me what changes I have to make in all the other files like web.xml or adf-faces-config.xml.
    Im using web application template using (EJB,Toplink and JSF)
    Please suggest the detailed steps as I'm new to JSF.
    Thanks ,
    Shri

    under view put a new tag
    <f:view>
    <ui:script url="page.js"/>
    and thats it

  • Using a .bat file to use Values in Registry from another Registry

    I recently starting working in an IT Department and for years my superiors/co-workers have always had a piece of software called "cyt.exe".
    When ever I logged in someones computer as Admin, this software allowed me to log out with their username still in the log in text box. We recently upgraded a large quantity of systems to Wins7 and WinEmbedded7 and that program no longer works due to the
    registry change.
    Currently the best I could to for replicating that software function as .bat file is:
    call reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnSAMUser /t REG_SZ /d "domain/username" /f
    call reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v LastLoggedOnUser /t REG_SZ /d "doamain/username" /f
    pause
    When I log out, it leaves the user name and password blank which is OK but I need to take it one step further. I need the values of:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
    "LastLoggedOnSAMUser"="domain\username"
    "LastLoggedOnUser"="domain\username"
    to match the values that are in
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData\1
    "LoggedOnSAMUser"="domain\username"
    "LoggedOnUser"="domain\username"
    Any suggestions on what I need to change in my code to manipulate the registry to match those values without having to manually input them?

    - Vegan Fanatic
    "can you fix the cyt.exe program, that would be the best option long term"
    Well the cyt.exe program hasn't been updated since 2000 (version 2.3 and 2.5 were the latest versions) so I can only assume the developer has abandoned the project. The reason why it doesn't work anymore is because of the registry change going from XP to
    Vista/Win7/Win8.
    Once I have my own batch file, it will be easier to tweak it as needed when an operating system changes then it is to rely/wait on someone else to update a very specific piece of software that only has one small purpose that has most likely been forgotten.
    As much as I would like to modify the existing program, I don't have any software I can use to re-program it and I doubt I have enough knowledge or experience to tweak it correctly.
    - Frederik Long
    "You need to experiment either with reg query / reg add or reg export / reg import. Each of these commands has inbuilt help, e.g. reg import /?."
    From what I tested, the export/import copies the file and its values and placed them where I asked it too. That is not what I need. I need the values ONLY and placed within the file I need which has a different name from the file I exported from.

  • How to use the .aliases file to resolve a host's address?

    I am trying to setup a communication between a
    RT PXI system and a windows computer using network shared variables
    (shortened to "shared variables" in the further text). Both of the
    computers shall run compiled executables. The documentation concerning
    this topic has been spread over several places and this is what I ended
    up with.
    There are three different possible setups.
    1.
    I am using shared variable nodes both on the RT PXI and on the windows
    computer. The shared variables on the RT PXI are defined as "target
    absolute" and are residing in a library on the RT PXI. The shared
    variables on the windows computer will be set to "target relative" and
    are residing in a library on the windows computer. The variables used
    on the windows computer will be bound to the corresponding variables on
    the RT PXI. If I run the applications on computers different from the
    ones I used during development, I have only to change the .aliases file
    for the windows computer and set there the correct IP for the RT PXI.
    Additionally,
    I have to deploy the library both on the RT PXI and on the windows
    computer. This can be done from the windows computer, as the RT PXI
    target does not support the invoke node that has to be used for this
    purpose. Running the invoke node twice, once for localhost with the
    client library and once for the IP of the RT PXI system and the host
    library, I can deploy the libraries containing the shared variables
    programmatically. At this point, the magic of the .aliases file will
    fail and I have to find the IP of the RT PXI either by user input or
    maybe by running the RT ping controllers.vi. The "Target IPAddress"
    property of the "Deploy Library" invoke node makes sense in this
    combination as we can deploy libraries also to other computers or
    platforms.
    See attached Shared Setup 1.png.
    2. I am
    using shared variable nodes both on the RT PXI and on the
    windows computer. The shared variables on the RT PXI are defined as
    "target absolute" and are residing in a library on the RT PXI. The
    shared variables on the windows computer will also be set to "target
    absolute" and will be taken from the library that resides on the RT
    PXI. If I run the applications on
    computers different from the ones I used during development, I have
    only to change the .aliases file for the windows computer and set there
    the correct IP for the RT PXI.
    Additionally, I have to deploy
    the library only on the RT PXI. Again, this can done by a helper
    application on windows when the IP of the RT PXI is known or found by
    using RT ping controllers.vi.
    See attached Shared Setup 2.png.
    3. I am using
    shared variable nodes only on the RT PXI. The shared variables on the
    RT PXI are defined as
    "target absolute" and are residing in a library on the RT PXI. On the
    windows side, I use direct access to the PSP by using DataSocket
    functions. I can address a variable by using a DataSocket Open function
    and inputting psp://IP_or_Hostname_of_RT_PXI/LibraryName/VariableName.
    The magic of the .aliases files will fail already at this step. So I
    have to find the correct IP or hostname by user input, setting a DNS
    server to point to the correct IP or using the RT ping controllers.vi.
    As
    always, I have to deploy the library containing the shared variables to
    the RT PXI. Again, this can done by a helper application on windows
    when the IP of
    the RT PXI is known or found by using RT ping controllers.vi.
    As
    I can use this approach to setup an array of valid variable names and
    process the array by one single DataSocket read function inside of a
    for loop more conveniently than using a case selector inside of a
    for-loop and reading from different shared variable nodes, I prefer
    this approach over the others.
    See attached Shared Setup 3.png.
    For approaches 2 and 3, at least the deploy process can be run by an
    installer application independently of the main application as the
    library will remain on the PXI until I manually undeploy it, even if I
    reboot the PXI controller.
    My questions are:
    1. Did I describe the possible setups regarding the use of the shared variables correctly?
    2.
    Is there any means to get the IP address mapping from the .aliases
    file, needed for deploying and for approach 3, other than opening and
    reading the file itself?
    Attachments:
    Shared Setup 3.png ‏52 KB
    Shared Setup 1.png ‏42 KB
    Shared Setup 2.png ‏51 KB

    Thank you for the reply... I am using a hardcoded filename for the
    connection manager. How do I take the variable and change the filename in the connection manager?
    Also there will be multiple filename and I would like to take the latest file and not just check if the same file has been updated.
    UPDATE: I added the dynamic filename to the expression of the connection
    manager and it worked.
    You can use Foreach loop with file enumerator for that. It will iterate through files in folder and you can retrieve filenames using a variable created. Then pass variable as a parameter to script task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to use a excel file to create a service component?

    Dear all,
       I want to use a excel file to create a service to be my data source. I used the wizard to do that but i always got a message. "The data format is not valid, fields in each record must be delimited by tab charactors, and each record seperated by new line charactors". How should I reformat my excel file to fit the requirements? I have already chang the field`s format into 'text' type. Thx ^^

    Hi Louis,
    [Here|http://img125.imageshack.us/my.php?image=exceltestlo7.jpg] is the result of your data.  I downloaded your excel sheet and created a simulated service in 7.1.1 and it works fine.
    Below are the steps:
    1. Go to Tools -> service component wizard
    2. The popup opens : Step1 :  Enter the name of your service component
    3. Go to Excel spreadsheet Copy the data for which the service needs to be created.
    4. Step 2 : Paste the copied Excel data in the popup
    5. Step 3 : Define Input -> just click next
    6. Step 4: Define Conditions -> just click finish.
    Let me know if it helps.
    Good Luck,
    Dharmi

  • Setting Oracle environment variable using batch (.bat) file in windows

    Hi,
    Oracle 9i db
    Windows OS
    I am in process to create the database (Considered that Oracle9i software is already installed) by running one batch file which consist of all the scripts for the database creation.
    But i also want to set the environment variables at MyComputer(right click)>properties>advance>environment, permenently by running the batch (.bat) file
    ORACLE_HOME
    ORACLE_BASE
    ORACLE_SID
    So, how can it be done ?
    With Regards

    Hi,
    *@echo off*
    set ORACLE_SID=iprsdb
    set ORACLE_BASE=C:\oracle
    set ORACLE_HOME=C:\oracle\ora92     
    call C:\install_bkp\test_env_var.bat
    echo Test Successfull.
    Above mentioned is the code written in the batch (.bat) file
    In that i have also called another .bat file which test the env. variable values which is as below:
    c:\>test_env.bat
    ===================
    Testing oracle sid
    ===================
    iprsdb
    =====================
    Testing oracle base
    ===================
    C:\oracle
    =====================
    Testing oracle home
    =====================
    C:\oracle\ora92
    Test Successfull.
    But when i checked at MyComputer(right click)>properties>advance>environment variables
    there, I saw none of the entries from the above, why so ?
    how to set env. variables permanently using the DOS commands. ?
    With Regards

  • How to use DTRshell.bat

    Hi Experts,
    I need to use DTRShell.bat. When I try to execute it from command line, i get the following error :
    C:\Program Files\SAP\IDE\IDE70\eclipse\tools\dtr\dtrshell.bat"
    'setvars.bat' is not recognized as an internal or external command,
    operable program or batch file.
    The system cannot find the path specified.
    Thanks for your help.
    Regards,
    Yomesh

    Yomesh,
    Looks like the DTRshell.bat file is calling another bat file that doesn't exist.  I suggest opening DTRshell.bat and do a search for setvars.bat.  You may just have to change the path to that file inside of the DTRshell.bat script.
    Regards,
    Zach Shay

Maybe you are looking for