How can I shutdown the external application?

Hi
I excuted an external application with "Runtime.getRuntime.exec".
How can I shutdown the external applicaiton(calc.exe..) which is called by me?
Younghwan

That's down to the web site. If "Contact Us" links to a page with details, fine, but as you say, some sites make the link a mailto: link, which automatically opens your default Mail app.
I don't think there's a setting to change this, but TinkerTool (free) allows you to change some "under the hood" settings, and might help

Similar Messages

  • How can we control the external application

    Hi Friends
    I have an GUI Application. There is a JFrame in which if i press the HOME key then it'll launch the new application suppose the notepad.exe using the Robot class. then whatever the user right in the notepad that event should fetch in the application. i mean if user press any key then it should fetch in my application(JFrame).At that time my Swing JFrame is in background.
    So i want to fetch the key event or mouse event when my application is in background and other application is in front.

    yes its like a Macro.
    i had done project which will run the external exe file. for exapmle its notepad.exe
    when ever notepad.exe run from my program that time my program go into background and notepad screen come in to front.
    So what ever u write into notepad it will not available into my application becoz its in background.
    i want to fetch the keys which is pressed for notepad (for writing purpose and may be ENTER,DEL,HOME,END PAGE UP,etc.) so i want that keypressed event in my project (application).
    i hope now u can understand.

  • The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    Thanks a lot for the response. Yes, I am checking my C: drive data thoroughly now, including the hidden folders, to ascertain if something else can be moved, as per your suggestion.

  • How can i share the pages application with another computer?

    How can U share the pages application with another computer?

    Just make sure it is for you or your family.
    If you purchased Pages through the Mac App Store, then just login on the other computer using the same Apple I.D. and you can install it at no extra charge.
    Peter

  • How can i change the default application to vlc player for playing any videos on my macbook?

    How can i change the default application to vlc player for playing any videos on my macbook?

    1. Control click the file you want to open.
    2. Click Get Info.
    3. Under open with, pick the App you want to be default.
    4. Click Change All Button.
    5. Confirm your decision.
    You have to do this with every file that has a different extension. You can't change the default for every file with a different extension in a single operation.

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

  • How can I change the external editor in iphoto?

    When I go to Preferences, the only option that pops up in General Edit is Graphic Converter (formerly used). How can I change the external editor to Photoshop Elements 6? Also, can I drag and drop a photo from iPhoto onto the Photoshop elements 6 icon in the dock and do some editing and saving without corrupting my iPhoto library?

    I do not remember how (if) iPhoto 6 handles PSE6 as an external editor - in iPhoto '08 you can set any program as one - try going to the preference that has graphic converter in it and selecting it - you probably will get a select dialogue that will let you choose a new external editor
    It is not recommend that you ever save any files directly into the iPhoto library - if you can not get PSE6 set as the external editor then you should export your photos, edit them and save and then import the new photo into iPhoto
    But I believe you will be able to set PSE6
    LN

  • HT201412 If the on/off button at the top of my iphone stopped working, how can i shutdown the phone and rebot?

    If the on/off button at the top of my iphone stopped working, how can i shutdown the phone and rebot?

    Use Assistive Touch. Settings App > General > Accessibility > Assistive Touch > Device > Lock Screen. To turn OFF, hold down on the lock screen until slide to power off appears. To turn ON, connect iPhone to power, charger or USB port of computer.

  • How can i secure the mail application against my friends

    Hi, how can i secure the mail application against my friends, when they use the ipad for surfing ?
    I want to block the mailapplication with the number code, the ipad already provides for some app´s, but for mail, it doesnt work :-(

    thank you for the answer, i cant understand, why apple wont make this possible for the build in apps. For some it is working (Safari, Appstore, etc.... ) but for mail not. Why ?  This cant be a technical problem.....
    how solve other people this problem, when their ipad is walking around the table for surfing ?

  • How can i change the default application that Lion uses to open a document?

    how can i change the default application that Lion uses to open a document?

    Right-click on the document, select Get Info... In the lower half of the tall window that opens is a section labeled Open With (you may need to click on the disclosure triangle to see detail). Select from the pop-up list which app should open this document. If you want that to become the default condition, click on the Change All... button.

  • How can I make the external hard drive my default to save everything on it?

    Hi everyone,
    I have a new Macbook with retina but I had to buy the one with lower Flash Disk space and faster processor,
    but when I realized that I could buy external hard drives I bought one, so I was wondering if I could change the default Flash Drive to the external one so apps and all my files, music and content save in this one instead of the one inside the mac
    thank you for your time

    wolkerbw wrote:
    And how can you clone the internal......and then boot it from the external
    what does SSD mean???
    SSD is the internal flash memory.
    Use SuperDuper! or Carbon Copy Cloner to "clone" (exact copy) the SSD to the external.
    Then go to System Preferences > Startup Disk and select the external HD as the startup disk.

  • How can i get the external Sql result return data to abap?

    Dear All
             I have a problem to how to get the select  result data return abap.
    I used abap to run external SQL server. below is my code:
    ***in above ,abap has already connected external SQL.
    Sql = u2018select * from user01u2019
          CALL METHOD OF rec 'Open'
            EXPORTING #1 = sql
            #2 = con
            #3 = '1'.
          IF NOT sy-subrc = 0.
            MESSAGE e000 WITH 'run external sql error!'.
          ENDIF.
    ***now ,below code how can I get the select result to abap code?
    I know I can use native_sql  such as u2018OPEN CUR1 FOR SELECT * FROM user01 AND FETCH NEXT CUR1 INTO :WAu2019.
        Thanks for all
    Sun

    Thanks.
    it is okay now by myself.
    con_str = 'Provider=SQLOLEDB.1;Password=pwd;Persist Security Info=True;User ID=name;Initial Catalog=VTL_DEMO;Data Source=192.168.21.50'.
      CREATE OBJECT o_conn 'ADODB.Connection'.
      CREATE OBJECT o_rec 'ADODB.Recordset'.
      SET PROPERTY OF o_conn 'Provider' = provider.
      SET PROPERTY OF o_conn 'ConnectionString' = con_str.
      CALL METHOD OF o_conn 'Open'.
      sql_str = 'select *  from userh'.
      CALL METHOD OF o_conn 'Execute' = o_recordset
        EXPORTING
        #1 = sql_str.
       #2 = o_conn.
      GET PROPERTY OF o_recordset 'EOF' = rs_eof.
      REFRESH itab.
      WHILE rs_eof NE 1.
        CALL METHOD OF o_recordset 'fields' = o_field
          EXPORTING
          #1 = 0.
        GET PROPERTY OF o_field 'Value' = itab-name.
        CALL METHOD OF o_recordset 'fields' = o_field
          EXPORTING
          #1 = 1.
        GET PROPERTY OF o_field 'Value' =  itab-cid.
        APPEND itab.
        CALL METHOD OF o_recordset 'MoveNext'.
        GET PROPERTY OF o_recordset 'EOF' = rs_eof.
      ENDWHILE.

  • How can I change the default application for a content type?

    Running a version of Linux, the default application for PDF files is "Use Document Viewer (default)", which appears to be /usr/bin/evince. I'd much prefer to use /usr/bin/okular; how can I change the default. This question is NOT about how to change the function that is automatically applied when I access a link, in this case "Preview in Firefox", but rather to the default application that I can select when I download a file being viewed in Firefox's previewer.

    This is real progress, a solution to the problem as posted. The command:
    xdg-mime default okularApplication_pdf.desktop application/pdf
    makes okular the default.
    However when I added okular to the choices for applications in:
    * Edit>Preferences>Applications>PDF
    the popup box that appears when I click Download on the preview page changed. The pulldown menu that appears next to "Open with" used to have 3 entries:
    # Document Viewer (default)
    # Acroread
    # Other
    Now it has only 2:
    # Okular (Default)
    # Other
    I'd like it to read
    # Okular (Default)
    # Acroread
    # Other
    How can I control the entries in this pulldown list?
    Also, how can I make the default choice in the popup box be
    * Open With <whatever> , rather than
    * Save File ?

  • How can I get the web application's context root?

    I have a web application, which is defined in Tomcat's server.xml:
    <Context path="/cbes" docBase="e:\work\GM\code\CBESCurrency" debug="0"
    reloadable="true" crossContext="false"/>
    And I hava a servlet in this web application.
    How can I get the context root of the web application?
    in this example: reture should be "cbes" or "/cbes"
    how?
    thanks alot.

    getContextPath() in javax.servlet.http.HttpServletRequest

  • Nokia E6-00: How can I use the external speaker du...

    Anyone knows how I can get the external speakers to work in lock mode during a call, say during driving? I know the external speaker works but not when the screen is locked. This is what happens to me whenever I’m driving. My Nokia E6-00 is mounted on to the dashboard when I’m driving. -Phone rings while I’m driving - I press the phone accept call button - I receive the call successfully but I can’t hear the other party as I can’t activate the external speaker. All I see is a big red phone sign which is for hanging up the call. *Please note that I cannot disable the 5 number pin that is enforced by Microsoft Exchange 2007 server that locks the screen. I’m using the latest firmware version 0.22.014

    Dear Nokia,
    I am also facing this issue on my E6-00 BELE, the only difference is that I have phone auto-lock turned ON (every 2 min).
    Is there a solution for this ?
    Also, I found that Nokia CARMODE app is not available for E6-00 BELE, which I thought could have been a work around.
    Regards, Sachin

Maybe you are looking for

  • JAXB 1.0 Throws Exception and WebLogic Server Goes Mad !

    Hi, I've currently got JAXB Running within a standalone application running on Tomcat/Apache. When I try and Jar it up and run it on Weblogic 7.0 I get the following error being shown. The JAXB is being called from the onMessage event in a MessageDri

  • Two Sections in One Report

    Hello All,             I have a req wherein a Report Will Contain Two Different Sections. Section A                                               |       Section B Customer      Col1  Col2   Col3                 |      Customer  Col1 Col2 Col3 All th

  • Application.cfc and invoking by url a cfc

    hi all! i have to invoke by url a cfc. like this... http://domain/cfcByUrl.cfc?method=get now, if i add application.cfc to root of my application, my cfc invoked by url not works! it return only a white page! what happen? where do i wrong? cfmx7.0.2

  • Install-WindowsFeature with -source doesn't work

    I use MDT (2012 U1) to create my servers. I use a task to capture and another to deploy my capture. Basics tasks ! It works fine. But when I want to install a removed feature, like XPS-Viewer, it failed. It failed only if I use the WSUS tasks or if I

  • Download Temse file-HR_F_MMREF_1_GA.

    Hello All, The Magnetic Media file that is generated during W2 processing for State of Georgia is named HR_F_MMREF_1_GA.  Starting this year, Georgia is requiring us to upload the file to their website.  We have attempted to do this but are receiving