Linking an exe file thru JEditorPane

Hi All,
I would like to link an exe file thru a JEditor Pane...
I have constructed a gui for an application using Swing and want to link a local exe file
thru it ie i would like the exe file to execute when i click on the link provided in the JEditorPane.
How should i go about it?
Thanx...

Are you talking about linking to your EXE in terms of a compiler link or just a communication link so your EXE takes care of the functionality and your java program provides the GUI only ?
I do not know if a compiler link is possible. I've never seen anything that allows you to do it.
If you just want your EXE to provide functionality then it is possible, but would take a fair amount of work. You can open sockets in both the EXE and Java programs and send messages back and forth. The GUI could request work to be done by the EXE and the EXE passes the results back to the GUI for display. An interesting note about this is that the EXE and GUI do not have to reside on the same machine.
Good luck,
Peter

Similar Messages

  • 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.

  • How to link a exe file in labview

    hlo
    I am using labview 7, is it possible to link a .exe file to labview,
    i am using a stepper motor controller i have their software to control & set & change settings etc.. & that is a exe file which is a dos based programme, is it possible to link that exe to labview, & i should open & run that programe (motor controller) from labview.
    thanks
    sasi

    Try to launch it with "system exec.vi." This function can execute command line commands and should be able to launch any executable.
    aartjan

  • Link external .exe file to director buttons

    I want to create a CD menu that has buttons link to differents .exe file (application) When click on the button, the application will run directly on window so I can turn it to full screen.
    However I've encountered the problems when try to link external files (exe) into cast. I got this -1 errors. I've checked previous topic and try the 'open()' command that link to the .exe file but it didn't work either. Well, I've just study Director not so long ago, so I'll appriciate your help to archive the right result.
    Thank you.

    Don't import your exe in the cast. Just put it next to the projector or in a subfolder.
    Then give the full path to open().
    Example:
    open(_movie.path & "filename.exe")

  • Linking an exe-file

    i wrote a c++ prog that invokes the jvm. than i registered some (wrapper)-functions and called some java methods. inside the javamethods were native-calls.
    all worked fine if i do that within the c++/exe.
    trying to load the exe-file into the jvm (System.load("pathToExe") ) and than calling an init-funcion (namemangled on the native side) also work, b u t an simple printf() say's access violation java exit with return-code 128.
    -> is it impossible to use an exe file like an dll ?

    should i explain my problem more ?
    perhaps you want my source-code

  • Link local exe file into URL iview

    Hi,
    I am trying to integrate an VB application ( basically it is a .exe file installed in local path ) through a url iview . The exe will reside on every client machines and the path I have given is like 'file://c:/Program Files/myfolder/test.exe'
    But when I access this application , I am getting an error icon in the left bottom of the IE and when I clicked that icon , it is giving an 'Access Denied Error 'message
    It might be some IE security settings which we need to do. I am not able to find what it is.
    Pls help.
    Ramana

    I dont know if SAP provides any iview that support this. However you can do it with javascript and shell commands by follow this tutorial.
    http://www.itjungle.com/mpo/mpo052302-story01.html
    Good luck :0}
    Best Regards
    Rasmus

  • Need link to .exe file to re-install/update Muse

    Never works when launching app in Win 8, always have to uninstall application, then come her to get a link to re-install.  Please help.
    TX!

    You can find the links here: http://helpx.adobe.com/muse/kb/installer-file-damaged.html
    Cheers,
    Justin

  • Accessing KM Document Iview which contain .exe file from Portal logon page.

    Dear All,
    I was trying to access the KM document ivew(where I uploaded an .exe file in KM and created an ivew for that) in my portal logon page which is customized.
    I am calling the ivew through an html command "href".
    Now my issue is, while clicking on that link, that exe file is opening with the full portal ivew path name without any extension.
    But the actual exe file of same size which is uploaded is getting downloaded and saved with out any extension. I always have to change the name and give .exe extension for that to open properly.
    So, can some one suggest me how to open the actual exe file with the extension?
    Cheers,
    Anu.

    Sorry Tom!
    Your problem seems to be different, I've no idea.
    But we already fixed our problem, I forgot to post. Here's our solution:
    The solution was to create a KM Docs iView with anonymous authentication schema pointing to the download file. Then we created an URL iView pointing to this KM Doc with appending the filename AGAIN to the URL (because otherwise the iView ID will appear as filename). In the page a hyperlink now is pointing to the URL iView and after clicking it, the download starts with the correct filename.

  • "Exe" run thru java

    How do i execute an exe file thru a java program.can someone please show me a sample code to do this?

    this is what i normally use:
    * Exec.java
    * Created on October 22, 2001, 1:14 PM
    package moss.rt;
    import java.lang.*;
    import java.io.*;
    /** Sends a string to the console for execution if you send a DOS command make sure is in this format:
    * <code>cmd /c yourapp.exe</code>
    * otherwise just the executable will do
    * @author dmoss
    * @version 1.0
    public class Exec
        /** Sends a command to the console for execution and then returns to the
         * main frame. Does NOT wait for an exit code.
         * @param cmd the command sent to the console
         * @throws IOException For an invalid command
        public void run(String cmd) throws IOException
            Process proc = Runtime.getRuntime().exec(cmd);
    }

  • Cannot open exe files?

    I think I heard that this was the idea behind the update, but I want to be able to open an exe file when I click on it, how do I do this?
    Thanks
    Pazmush

    The new version I think? 9.3.4?.............................. Yes 9.3.4.
    Some one wrote a pdf in Latex and within it there are links to exe files. I guess the actual file must be somewhere I guess I'll go have a look. But the problem still exists. It tells me that I don't have administrative authority or something along those lines.
    Thanks

  • Creating a link on exported exe files

    I have 9 separate projects I need to burn to a CD. I have
    created an html menu. I am exporting each of the 9 projects as
    stand alone exe files, each one automatically opening the next one.
    But at any given time I would like the viewer to be able to exit to
    the main menu. Should I just put a button linking to the main menu
    on every single screen of a single project, to allow the user to
    exit to the menu if they want?
    FYI, I had initially created the 9 projects as html files,
    linking to one another. I posted a message about that earlier. But
    I am running into browser issues and don't want to run that risk
    with the completed CD. Help! :)

    Hello Captiv8r and others,
    This thread is pretty interesting. I have been struggling
    with creating a project using Captivate 3 that will
    reside fully on a CD. I am looking at maybe three workflows
    for this, one using exe files, one using swf files and an html page
    which serves as a "menu page" (the Captivate Menu builder just does
    not have enough options, in terms
    of graphic display, buttons, etc.), and the last one (which
    is the hardest), using some sort of Flash container, a Flash
    loader, and some menu buttons built in Flash, that call up
    Captivate created swf files, etc. So far we have not had to track
    state. I am trying to develop a training course on MS Excel, and am
    using audio and Captivate for screen shots, mouse movements, etc.
    After all the BS above, I do have a question. Is there a
    reason to publish to an exe file in Captivate? Or what is the
    reason(s) to publish a Captivate project to an exe file in the
    first place. I have searched around for the answer on this, but
    have found no good answer on this. Perhaps those of you more "sage"
    Captivate users can provide some insight.
    Thanks again for a very helpful forum,
    eholz1

  • Trouble linking exe files

    Yet another dilemma with my CD project. I published the first
    project file (of 9 separate projects) as a standalone .exe file
    with an autostart file to burn to cd. I set the END to open another
    .exe file. When I view output, it fails to open the second .exe
    file. It opens a browser window and says it can't find the .exe
    file. All project file names are only 8 characters, so that isn't
    an issue. But it shouldn't try to open the .exe file in a browser
    window, should it? Is there any reason I can't publish all the 9
    projects as standalone .exe files and link them to one
    another?

    Hi again
    Here's the way I would think it would work.
    You have a menu and perhaps ten movies. They are all in .EXE
    format. The menu.exe would run via autorun.inf as long as nothing
    has impeded it. So you have a Menu.EXE running. Your user clicks a
    movie link and POOF! The selected movie.EXE plays. But here's the
    trick. The movie opens in a new instance of the Flash player. The
    Menu.exe is still running. It's simply covered by the new movie. If
    the user closes the new movie, the Menu.exe is uncovered. This
    allows him/her to open other movies from the menu.
    Sorry, no way I'm aware of to speed things along. For one
    thing, accessing anything off a CD will be slower to react than off
    a hard drive. For another, maybe the movie is simply very large and
    would take an inordinate amount of time to open even on a fast hard
    drive. Hard to say.
    Hope this helps a smidge... Rick

  • Captivate 4 link between 2 .exe files

    I work with adobe captivate 4 and i developped a lot of presentations that i want to link i published each of them in the .exe format but the thing is that when i passes from one .exe file to another one, there is a delay and we can see the first .exe file closing and the second one opening. I wish to have a continious presentation. 

    Hi there
    Sorry, but there isn't a way past that to my knowledge. The reason is because the exe has to close and the new one has to load up and open. You are wanting a behavior similar to what you have with SWF playing in the browser. In the browser setup, it appears pretty seamless because the next SWF simply loads into the browser client area and plays.
    Perhaps consider submitting a Wish Form to Adobe and who knows, maybe they will come up with some clever workaround in a future release.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Linking swfs or exe files?

    I need help with a Flash AS3 project that includes about 30 videos. I needed to break it in smaller pieces because it is a large file (over 300 mb) and every time I wanted to publish the entire project flash crashed.
    Here is my test:
    I have two exe files that should link back and forth.
    Intro_YIM.exe, which has a button that links to Videos_FrontPage_YIM.exe
    Here is my code, which is in Intro (button name= nav_4).
    nav_4.addEventListener(MouseEvent.CLICK, gotoVideoFront);
    function gotoVideoFront(event:MouseEvent):void {
      var url:String = "Videos_FrontPage_YIM.exe";
      var request:URLRequest = new URLRequest(url);
      try {
        navigateToURL(request, '_self');
      } catch (e:Error) {
        trace("Error occurred!");
    Problem:
    The link seems to work, but there is a message that says save or run. When I click run, there is another message that says the file can't be open.
    Questions:
    1. Is there a better way to handle links using executable files using Flash CS5 and AS3?
    2. If swfs were used, how can I have a main page displaying all other swfs as they are linked?

    Kglad:
    Yes, initially I thought that exe files was the way to go. However, I've been searching for options and found that by using the class Loader, I can load swfs files instead of exe files.
    Here is what seems to work with only swf file:
    var my_loader:Loader = new Loader();
    nav_4.addEventListener(MouseEvent.CLICK, startLoading);
    function startLoading(e:MouseEvent):void {
        my_loader.load(new URLRequest("Videos_FrontPage_YIM.swf"));
        addChild(my_loader);
    Problem: I have a interface, which loads all other files by way of buttons. For instance, nav_4 button loads the file Videos_FrontPage.swf. When this movie loaded, the interface was also gone.
    How can I keep the same interface and still be able to load all other movies?
    Your help is appreciated.

  • EXE files no longer link

    Hi,
    Were are creating a director file and have used buttons with
    the "jump to movie behaviour" in order to link between several
    different movies and, although though it works with the .dir files,
    when we publish the movie to .exe files, the links no longer work.
    does anyone know how we can rectify this please?

    Hi,
    Mike has answered the question but just to expand somewhat.
    As Mike said, make your EXE from the start movie and then all
    the remaining ones
    can be either DIR, DXR or DCR. You'd typically go with DXR
    (protected) for an
    executable. You can go with DCR (Shockwave) if you want to
    compress your content.
    Generally, you'd create a stub projector. Here's a tutorial
    on this:
    http://www.fbe.unsw.edu.au/learning/director/publishing/projector.asp
    If you wanted to have a single EXE with all your movies, you
    can do that but it is
    not recommended as from a speed and memory management point
    of view, it's not very
    good.
    Just one correction of Mike's message. - Once you create a
    EXE, it embeds that
    movie into the projector. You can rename the EXE to whatever
    you like but the
    original movie is still locked in there with its original
    name. So, you can link to
    that original movie inside the EXE without the need to have
    the DIR/DXR/DCR
    version.
    For example say you have:
    opening.dir
    movie1.dir
    movie2.dir
    and say they link to each other.
    You could create the following for your final delivery and
    put them in a new
    location:
    start.exe
    movie1.dxr
    movie2.dxr
    start.exe is made from opening and the other 2 movies have
    been protected.
    If you have a behavior inside 'opening' that links to
    'movie1', the start.exe will
    jump to that movie through the projector. So, you may not
    even notice there was a
    change. Same thing would happen if you now jumped to
    'movie2'. If you now jump back
    to 'opening', it will still work even though you don't have
    that file. It's because
    it can be found inside the EXE.
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

Maybe you are looking for

  • Won't let me copy to hard drive post power surge

    Ok, to make a long story short, I hope, I had an electrical fire (everyone's ok) that involved and destroyed my laptop's power cord and as part of that fun I seem to have had a power surge that has reset some of the defaults on my computer but not al

  • How can I retrieve a forgotten Game Center account?

    I have a Clash of Clans account and I'm playing it for about 2 years. It was level 97 and it's currently in town hall 9. I'm afraid that I will lost my game if my phone gets broken. That's why I want my account to be linked to a different device, but

  • Adobe Photoshop Express for iPad

    the free mobile phone application called adobe photoshop express just support iphone before, now it can also support ipad platform and also the name changed as express, now users can use ps on ipad now. it maybe a really good news i got today.

  • Itunes does not open automatically when I plug in iphone?

    ITunes does not open automatically when I put my device via the USB cord into my computer.  Even though I checked that box in I tunes

  • Load balancing in ODI

    Guys, How can we load balance inODI?We have a weblogic server with 2 nodes. question is how many agents we need to install on weblogic server? and how to configure them in odi topology? Any suggestions and help will be great. Cheers