Problems executing exe file outside vignette(HAL)

Hi, when trying to execute my exe file generated with vignette I'm getting an error:
C:\WINDOWS\system32\cmd.exe - cas33.bat
The NTVDM CPU has encountered an illegal instruction
CS:05a7IP:016b OP:63 65 64 20 77 Chose 'Close' to terminate the application.
The thing is that I've executed it before in other computer and it was working. But now I've to execute it in other computer where I have to specify other parameters in my .ini file ( as server, user, password, filename...)
Any idea??
Thank you

Hi,
No I just write them in the ini file(replacing the old values with the new ones).
I don't have dll in the folder. It was working in the other computer by just executing the .bat file...I don't know what is happening know.
Thank you so much

Similar Messages

  • How to execute ".exe" files using java

    Hi,
      This is guruvulu,
         I have a problem in executing ".exe" files.For Example InternetExplorer.

    Hi,
    You can execute .exe files in JAVA using the following code.
    Runtime rt1 = Runtime.getRuntime();
    Process pc = rt1.exec("someexe.exe");
    you can get the output of the executed exe file in
    in = pc.getInputStream(); //this returns a InputStream
    hope this solves your problem.
    regards,
    P.Venkat

  • Reg : Executing .exe file from application server

    Dear Experts,
                        i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
    anyone kindly clarify to execute .exe file from application server?
    Thanks in advance,
    Sujay

    Hi,
    Did you search before posting?
    Re: Execute a .exe file present in the Application Server
    Vikranth

  • Executing exe files from java program

    Hi,
    I need to execute exe files and pass arguments to them from my java code.
    Can you give me guidelines to do that as i haven't done that before.
    Thanks.

    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    getRuntime() method.
    exec() method.

  • Problem with executing .exe file

    I am executing a .exe file in sun studio (Web Project) .... but it generate Control Access Exception, File Permission <<ALL FILES>> Denied . But the same command execute with simple java file and in DOS command....
    kindly someone give me help
    Thanks

    You have posted your message on the Sun Java Studio Creator forum. I believe you need to repost your message on a Sun Studio forum. Please see http://developers.sun.com/prodtech/cc/community/index.jsp.

  • Problem With EXE File In WAR

              Hi,
              I have a web application packaged as a war file which contains a EXE file. I also
              have several JSP pages within the same WAR that point to the EXE file. When using
              basic authentication, there is no problem. The client can click on the link and
              gets prompted to save the EXE file.
              The problem happens when I use form-based login. When the user gets prompted to
              save the EXE file, the '.exe' extension is lost, and the file is therefore saved
              without the .exe extension.
              Does anyone know what's going on, nad how I can correct this?
              Thanks very much.
              Dan
              

    This application is purely doing analysis of data taken by a different system. The data is input to this code by using dialog to identify the path to a stored data file and then this code does some pulse analysis. But there is no GPIB, serial port or anything (?) that I know of hardware wise is involved. Nor do I think there is any NI-VISA involvement.
    The numeric value is a time (in seconds) between two events in the data file. The value should be close to 12.5 usec or 12.5E-6 as read out by the numeric indicator. On all the machines where this code works ok, that is what you get but on this one laptop we consistently get 0.00E+0. If it wasn't for the E+0 telling me that at least this indicator is reading in scientific notation, then I
    would think somehow this indicator just had the wrong format or precision but since the E+0 is there, it seems to say that zero is being fed into this point in the code.. ??
    Also, I had the owner of the laptop tell me how many folders he found in his C:\Program Files\National Instruments. His answer was three, Data Socket, Measurement Studio and Shared. And inside Shared he has at least the 6.1 Run Time Engine as he would have to have to run these executables. But he DID NOT have NI-VISA. Does anyone think it would need to be there??
    Also, we tried the .ini file approach that was suggested in another post but that didn't help... Any thoughts?? thanks... paris1

  • Problem executing .bat file from within Java class

    I'm stumped: I have no problem executing a .bat file that sets classpaths and executes a Java jar, but when I try to execute other executables first and then the .jar, my application hangs and since the DOS box doesn't come up over my GUI, I can't see what's going on.
    This works:
    public void execute() throws Exception {
    String s = "c:\\cs47auxs\\omnijar\\omni.bat";
    Process p = Runtime.getRuntime().exec("\"" + s + "\"");
    p.waitFor();
    JOptionPane.showMessageDialog(frame,
    "The Database Has Been Successfully Reloaded.",
    "Information Message",
    JOptionPane.INFORMATION_MESSAGE);
    Here's the .bat 'omni.bat'
    set JAVA_HOME=c:\j2sdk1.4.2_04\bin
    %JAVA_HOME%\java -jar C:\CS47AUXS\OMNILOADJAR\OmniLoad.jar
    This doesn't work:
    public void execute() throws Exception {
    String s = "c:\\cs47auxs\\omnijar\\jobomni.bat";
    Process p = Runtime.getRuntime().exec("\"" + s + "\"");
    p.waitFor();
    JOptionPane.showMessageDialog(frame,
    "The Database Has Been Successfully Reloaded.",
    "Information Message",
    JOptionPane.INFORMATION_MESSAGE);
    Here's the .bat file 'jobomni.bat'
    SET NETX_HOME=C:\CS47AUXS
    SET COBOL_HOME=C:\CS47AUXS\OFFLINE
    CD %NETX_HOME%
    CALL SET-NETX.CMD
    CD %COBOL_HOME%
    SSBPPC10 JOBOMNI X
    SET JH=C:\J2SDK1.4.2_04\BIN
    SET OMNI_HOME=C:\CS47AUXS\OMNILOADJAR
    CD %OMNI_HOME%
    %JH%\java -jar omniload.jar
    Can anyone shed some light here? Even when I execute the application from the command line the new DOS box doesn't become visible nor can I see any errors. If I could just get that visibility, I could probably figure out what is going wrong.

    Same problem with me as well.... Badly looking for a solution...
    I predict the following:
    - If your batch file has pretty less number of dos/shell commands then it gets executed fine with exec() and proc.waitFor();
    - If you increase the number of dos/shell commands in the bat file then try executing it then it definately hangs at proc.waitFor();
    Even "cmd.exe /C C:\\test.bat" hangs... if the commands are more...
    Is this some sort of bug? or am i doing anything wrong? I tried searching for solution on the net and search forums... but couldnt find a solution for the same.. not sure where i missed, what i missed...
    Incase some one finds a solution.. do post it here...
    Message was edited by:
    amadas

  • PL/SQL to execute exe file with parameters from DB

    Hi all,
    I have a bit of a problem.
    I am in need to write all Logon, Logoff and Logon fail data onto the Windows Application Log. To do this I already tried various solutions but with my configuration (Oracle EE 10.2.0.4 and Windows Server 2003 R2 X64) the only possible solution (apparently) is the following.
    I create a Table with the info I need:
    CREATE TABLE logonaudittable
    event VARCHAR2(15),
    sid NUMBER,
    serial# NUMBER,
    orario DATE,
    username VARCHAR2(30),
    osuserid VARCHAR2(30),
    machinename VARCHAR2(64)
    I create a trigger for Logon Data, one for Logoff and one for Logon Fail:
    LOGON trigger.
    CREATE OR REPLACE TRIGGER logonauditing AFTER LOGON ON database
    DECLARE
    machinename VARCHAR2(64);
    osuserid VARCHAR2(30);
    v_sid NUMBER(10);
    v_serial NUMBER(10);
    CURSOR c1 IS
    SELECT sid, serial#, osuser, machine
    FROM v$session WHERE audsid = userenv('sessionid');
    BEGIN
    OPEN c1;
    FETCH c1 INTO v_sid, v_serial, osuserid, machinename;
    INSERT INTO logonaudittable VALUES ( 'LOGON', v_sid, v_serial, sysdate,
    user, osuserid, machinename );
    CLOSE c1;
    END;
    LOGOFF trigger
    CREATE OR REPLACE TRIGGER logoffauditing
    BEFORE LOGOFF ON database
    DECLARE
    machinename VARCHAR2(64);
    osuserid VARCHAR2(30);
    v_sid NUMBER(10);
    v_serial NUMBER(10);
    CURSOR c1 IS
    SELECT sid, serial#, osuser, machine
    FROM v$session WHERE audsid = userenv('sessionid');
    BEGIN
    OPEN c1;
    FETCH c1 INTO v_sid, v_serial, osuserid, machinename;
    INSERT INTO logonaudittable VALUES ( 'LOGOFF', v_sid, v_serial, sysdate,
    user, osuserid, machinename );
    CLOSE c1;
    END;
    LOGON FAIL trigger
    CREATE OR REPLACE TRIGGER logonfailauditing
    AFTER SERVERERROR ON database
    DECLARE
    machinename VARCHAR2(64);
    osuserid VARCHAR2(30);
    v_sid NUMBER(10);
    v_serial NUMBER(10);
    CURSOR c1 IS
    SELECT sid, serial#, osuser, machine
    FROM v$session WHERE audsid = userenv('sessionid');
    BEGIN
    IF (IS_SERVERERROR(1017)) THEN
    OPEN c1;
    FETCH c1 INTO v_sid, v_serial, osuserid, machinename;
    INSERT INTO logonaudittable VALUES ( 'FAILLOGON', v_sid, v_serial, sysdate,
    user, osuserid, machinename );
    CLOSE c1;
    END IF;
    END;
    The I create a trigger that starts every time something is written on the table.
    This trigger needs to start an EXE file that writes the latest data written on the table into the Windows Application Log.
    So I need a trigger that executes my WRITELOG.EXE file adding the parameters. For example:
    Execute WRITELOG.EXE event sid orario username
    So my program will write a Log in Windows with this data:
    Event: LOGON
    Sid: 2938473
    Orario: 12/12/2011 11:45:32
    Username: Scott
    And so on.
    I already have the program that does this, I need to execute the program with the right data directly from trigger or from a procedure executed by my trigger.
    Hope I've been clear and REALLY hope someone can help me!!!
    Thank you all!

    The java and PL/SQL you need to set up is in the very first response in the link. (I don't have a windows Oracle DB DBMS_JAVA to try it myself). Change the UNIX command '/usr/bin/ls' to your Windows command 'c:\yourdirectory\FILE.EXE'. Assuming you created everything and set permissions as Tom describes (later in the thread), your PL/SQL call in your trigger might look something like this:
    CREATE OR REPLACE TRIGGER logonauditing AFTER LOGON ON database
    DECLARE
    machinename VARCHAR2(64);
    osuserid VARCHAR2(30);
    v_sid NUMBER(10);
    v_serial NUMBER(10);
    CURSOR c1 IS
    SELECT sid, serial#, osuser, machine
    FROM v$session WHERE audsid = userenv('sessionid');
    BEGIN
    OPEN c1;
    FETCH c1 INTO v_sid, v_serial, osuserid, machinename;
    INSERT INTO logonaudittable VALUES ( 'LOGON', v_sid, v_serial, sysdate,
    user, osuserid, machinename );
    RUN_CMD('c:\yourdirectory\FILE.EXE LOGON '||v_sid||' '||v_serial||' '||to_char(sysdate,'MM/DD/YYYY')||' '||user||' '||osuserid||' '||machinename);
    CLOSE c1;
    END;
    Since you want to log what the trigger is writing to the table, you can call the executable with the same information you are writing, instead of writing then reading it back out again.

  • Problem running .exe files

    I cannot run .exe files on Windows 10. A pop-up window shows a message that the .exe file I am trying to run is missing. What can I do to solve this problem ?

    Keep in mind that the Win 10 build "refresh" operations are clearing parts of the registry back to default values, so some things you've installed might end up uninstalled or only half installed after an upgrade to a new TP build.
    What EXACTLY is going wrong?  In other words, exactly what are you trying to do, and what is the exact content of the message(s) you're seeing.
    Details matter.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options

  • Execute .exe file thru oracle pl/sql

    Hello Everyone,
    Actually I had to execute a .exe file thru pl/sql..............Can you all plz tell me how to do so??????
    Thanx in Advance

    Good Morning Paritosh
    I have solution for u..
    just try following link , it will work for u.
    http://orafaq.com/scripts/plsql/oscmd.txt
    and post ur feedback
    regards,
    Abhijit.

  • Does LCDS permit executing .exe files

    hi
    Let me explain what I want to do...Actually I'm working on an
    AIR app which is a GUI for ffmpeg(a video converter which uses
    command prompt). A user can upload files to the FMS using this AIR
    app... When the user uploads a video, I want my flex app to
    automatically invoke the video converter and convert it to .flv
    format.. (After the upload) ...So I'm using LCDS... What I'm asking
    is can I invoke a .exe file from an AIR app..??? I read about some
    security issues with this..So I wrote a Java code to invoke the
    .exe....The Java code executes fine when run separately...But when
    I used Remote object in the flex code, although the java code
    executes....The .exe doesnt get invoked...How do I manage???

    If it is an exe file and your running osx, it's not going to work.
    You can try crossover office (http://codeweavers.com), but that may or may not work.

  • How to execute exe file from pl/sql

    How to execute an exe file or an operating system command from pl/sql in oracle 9i.

    If it is part of a pl/sql block, use the java suggestion. If you are not in a blck, you can use the "HOST" command. see
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a82950/ch2.htm#1001697

  • Create executable(*.exe) file

    I was able to create and executable file(*.exe) but it didn't include all neccessary libraries(*.dll), i.e NIVIsSVc.dll, imaq1349.dll .... So just wondering if some one could guide me to create an executable file with all neccessary libraries to run one different machine? I have LabView 8.2.1 and XP OS. My *.exe file is to capture an images from the camera(FirWire 1394) and save to a file on hardrive.
    Thanks,
    Shaun
    Solved!
    Go to Solution.

    I would start the build process over.  First create an executable that includes all of the neccesary files (dll's and user made subVI's).  Also, select the supported languages that you will need.
    Next we can build an installer.   When you build and installer, select the LabVIEW Run-Time and any drivers (IMAQ)that you need from the Additional Installers category.  When building this installer, you will be promted to find the location that you installed the drivers from.  It looks like from your previous post that this will be from a CD.  This installer should let you take your project to computers that do not have any NI software them.  I have provided a couple of links to tutorials on building executables and installers.
    http://zone.ni.com/devzone/cda/tut/p/id/3303
    http://zone.ni.com/devzone/cda/tut/p/id/5406
    The second link is for DAQmx but it could be helpful.
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • Opening a file with any executable .exe files

    plz tell me if u have ne idea abt the opening any given file or the information contained in it with
    another application i.e .exe file for example the text document has to be opened with a textpad..
    it is very urgent..plz
    neha

    See if this is useful.
    what made you ask this question in Swing Forum ?
    Process P=Runtime.getRuntime().exec("notepad "+"C:\\A.txt");        
    //Process P=Runtime.getRuntime().exec("D:\\j2sdk1.4.2_05\\bin\\javac.exe  "+"Demo.java");
    InputStream err = P.getErrorStream();
    InputStreamReader in = new InputStreamReader(err);
    BufferedReader buff = new BufferedReader(in);
    String line = null;
    while ( (line = buff.readLine()) != null)
    System.out.println(line);
    int exitVal = P.waitFor();
    System.out.println("Process exitValue: " + exitVal);

  • Execute .exe File With Arguments From CaptiveRuntime Air Application

    Hello,
    We have an AIR application compiled as a Captive Runtime app. We need to launch a Native Process (an exe file) on application startup and pass some arguments to that exe. Are there any examples on how to do this? Any resources we can look at for guidence?
    Thanks!

    Hi,
    You need to use Integration technology like BlazeDS or LCDS.

Maybe you are looking for

  • Flash lite support for i5700 or S5620

    Hi All, very much interested in developing games using Flash lite. Not able find whether Samsung i5700 or S5620 supports Flash lite or not? if it's supporting which version it does? Thanks, Vinoth

  • Hacked product photos when online shopping in safari

    This morning, when shopping online via Safari on my iPhone 4S, a very weird thing happened. On several sites (bestbuy.com, jcpenney.com and oldnavy.com) some of the product photos were replaced by random candid shots unrelated to the product. They ar

  • Memory leak in IMAQ Write PNG File

    Hi, I have a labview program that I'm using to do Speckle Patter Interferometry - it takes an image, takes a second image after some time, then subtracts the original image from the first and saves the subtraction.  The process reveals fringes on an

  • HOW TO: Import iPhone contacts to Mac Address Book

    Hi, Has anyone tried importing or copying his/her iPhone 4 contacts into the Mac's Address Book? Is there a link that you can share that can refer me an existing topic in this discussions group? Thank you in advance.

  • IPhone 4 financing (Australia)

    Hey guys the iPhone 4 is being sold on the Australian apple store for 859. I'm thinking of buyingnit on finance which works out to about $54.42/month or $1090 over 24 months. My question is, if I go on this financing plan and say pay it off in about