How to Create a windows xp service

I have several java routines that I currently call from a bat file via the the windows task scheduler. Prob #1: the bat file always causes a dos window to open which if someone closes it, terminates the rest of the routines. Prob #2: solution would be to create a windows service routine which would call all the above, however I don't have a clue as how to do that. Help??

However you can't run a batch script as a service in Windows. I think you are looking in the wrong place for a solution.

Similar Messages

  • How to create a Weblogic Duplex Service?

    How to create a Weblogic Duplex Service?
    Like this in WCF:
    http://msdn.microsoft.com/en-us/library/ms731184.aspx

    However you can't run a batch script as a service in Windows. I think you are looking in the wrong place for a solution.

  • How to create Dynamic Window in Smartforms

    Hi all,
    Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
    Thanks in Advance.
    Vinay.

    hi,
    Hi,
    1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
    company -code = '2201'.
    2.Then that window can trigger ofr that condition.
    3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
    reward me if helpful.

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • How to create dynamic window in smartform

    <i>HI Floks</i>
    my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
    any body knows reply me fast
    thanks in advance ,
    suresh

    Hi suresh,
        You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
    Dont forget to reward points if helpful.
    regards,
    Chandra.

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • How to create popup window with radio buttons and a input field

    Hi Guys,
    Can somebody give some directions to create a stand alone program to create a window popup with 2 radio button and an input field for getting text value. I need to update the text value in a custom table.
    I will call this stand alone program from an user exit. 
    Please give me the guidance how go about it or please give any tutorial you have.
    Thanks,
    Mini

    Hi,
    There are multiple aspects of your requirements. So let's take them one at a time.
    You can achieve it in the report program or you can use a combination of the both along.
    You can create a standalone report program using the ABAP Editor (SE38). In the report program you can call the SAP Module pool program by CALL Screen <screen number>. And then in the module pool program you an create a subscreen and can handle the window popup with 2 radio button and an input field for getting the text.
    For help - Module Pool programs you can search in ABAP Editor with DEMODYNPRO* and you will ge the entire demo code for all dialog related code.
    For Report and other Module pool help you can have a look at the following:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/a1ff9b8d0c0986e10000000a42189c/frameset.htm
    Hope this helps. Let me know if you need any more details.
    Thanks,
    Samantak.

  • How do i get windows xp service pack 2 or later?

    When trying to install itunes, it says i need windows xp service pack 2 or later. How do i get tis i have never had this problem before

    Hey menel77,
    Click Start> All Programs> Windows Update, this will take you to the Microsoft update page.
    Jason

  • How to create a Generic Object Services for a standard tcode.

    Hi,
    We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this audit train we have been asked to use "Generic Object Services" in transaction code ABAA.
    Unfortunately, Generic object services are not available in this transaction code. Can you please suggest me how to create "Generic Object Services" for a particular standard transaction code. Also, we have show the details of custom workflow that follows the approval process in order to depreciate the asset. how to show this workflow details using Generic Services. This is a very critical issue, any help will be very help ful.
    Please let me know should you require more information on this topic.
    Thanks,
    Ashish

    Instead of copyg the std fm to z, do the following,
    1. Go to se37 open FM VIEW_KURGV in display mode.
    2. Click on the spiral icon on the top.
    3. Then in menu go edit->enhancment options -> show implicit enhancement
    4. """""""""""""""""""""" kind of lines will appear in the cde, just rt click on the line at the place u want to insert the code and select
         enhancement implementation create.
    5. Give apropriate name for thi , it will inset a n place to write your code.
    This is an std sap methodology and is supported in upgradde also.

  • How to Create a Windows 7 USB install disk

    If you want to install Windows from a USB drive, you'll need the Boot Camp Assistant (version 4.0.1) and a MacBook Air. I don't know why it won't let you do it on other Macs and MacBooks (the option still shows up, only it's greyed out) - if you made it work on anything other than a MacBook Air, let me know how you did it. So, besides that, you also need an empty USB drive and a genuine Windows ISO file.
    However, if in your case the Windows USB creation option is greyed out, this is what you can do:
    You create the Windows installation USB, using one of these two ways (I used the first one):
    http://technet.microsoft.com/en-us/magazine/dd535816.aspx
    http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool
    You create the Windows partition with BCA.
    In System Settings, you choose the newly created BOOTCAMP partition as the startup disk and restart your Mac.
    Have your Windows USB inserted before your Mac restarts.
    As soon as your Mac boots from the BOOTCAMP partition, it should start loading Windows Setup from the USB drive.
    I have an early 2009 MacBook and these steps worked for me. It's a workaround... but it works. Let me know if it worked for you.
    * If none of this works for you, there is another workaround, using 3rd party software (rEFIt). However, I don't recommend using it, unless you know what you're doing.
    * Disclaimer - This info comes as is and I do not guarantee that it will work for you. Nor do I guarantee that it will not cause any malfunction to occur on your Mac computer.

    you restart your mac and as soon as it boots up (usually you hear the dvd making a noise, or the gong sound), you hold down the Alt key until you see a screen that shows you all the partitions/drives you can boot from. you select the boot camp one, while the windows usb installation disk is inserted and it should boot up from the usb. it worked for me, but I can't guarantee it will work for you too... depending on your model. mine is an early-2009 macbook.

  • How to create a 'window' in AE CS3

    Hello,
         I have a video of a LED scroll sign and I am making it look like my own text scrolls across. I have text I created in Photoshop, saved as a ' .tiff ' , and imported into After Effects. I have put the text in the video and gave it a starting position keyframe (off the sign) and an ending position keyframe (past the sign) and it moves from point to point 'cause of the keyframes. I tried to put a 'mask' on the layer (using the pen tool) around where the sign is (kind of acting like a 'window') so the text would only appear on where the sign is , but the mask moved with the text. How do I create a 'window' type thing for what I'm talking about?
    Sorry if I didnt explain it well, I did the best I could. If you have any questions please ask and I will try to answer.
    All help would be appreciated,
    Nicholas

    When Mylenium refers to the 'Help', he means this document. Actually, for After Effects CS3, this document.
    I strongly recommend that you start here:
    http://blogs.adobe.com/toddkopriva/2010/01/getting-started-with-after-eff.html
    Even though it mentions CS4 and CS5, the basic information is the same for CS3, so it's still a good place to start.

  • How to create document/literal web services with WLS7

    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried this yet
    - Is there another mechanism?

    That would be the <web-service> element in the web-services.xml file, of course.
    "Michael Wooten" <[email protected]> wrote:
    >
    Hi Rich,
    Try adding a style="document" attribute to the starting <web-service>
    element.
    The might be a way to get <servicegen> to do this for you, but I haven't
    found
    it yet :-)
    Regards,
    Mike Wooten
    "Rich Muth" <[email protected]> wrote:
    How do you create document/literal web services with WLS7 ( not workshop)
    - Is it possible with servicegen and stateless EJBs as the backend component?
    The default is RPC/Soap-encoded is there anyway to craft the web-services.xml
    to make it document/literal
    - Is it possible with the JMS-implemented web services - have not tried
    this yet
    - Is there another mechanism?

  • How to create Query (Sq01) fro service contract

    hi,
    How to create Query for Service contracts , where i need to take a report for sub line items of that particular Service contract.
    Ex: we maintain short text - services in the initial screen ,
           in the next screen we maintain the sub line items for that short text (Activity numbers).
    Please guide me on this.
    Regards,

    Hi Sowmya,
    1 Create User Group (SQ03)
    Specify the users who should be authorized to run the query.
    2.
    Create Infoset (SQ02)
    Indicates from which part of the SAP database the data is going to be retrieved and how the data is to be retrieved by the query.
    3.
    Create Queries (SQ01)
    Create the query and arrange the layout
    for joining the two tables there should be common field should be available in both the tables then only we can able to join the table and run the query
    or use this below link
    http://www.sap-img.com/abap/step-for-using-query-sq01-sq02-sq03.htm
    Regards,
    Pramod

  • How to creat new window?

    Hello, got a question, is it possible to creat new window in nokia lumia 800 (check the pic what i mean).
    Solved!
    Go to Solution.
    Attachments:
    nokia-lumia-800-2.jpg ‏33 KB

    Unfortunately no. 

  • How to "Create a Windows 7 install disk" on Mountian Lion w/Bootcamp 5

    It's basically the same way you create one with previous Bootcamp & OS verisons.
    Finder -> Applications -> Utilities -> Select Bootcamp -> Show Package Contents
    Open "Info.plist"
    Scroll until you see whats listed below.
    <key>PreUSBBootSupportedModels</key>
              <array>
                        <string>MacBook7,1</string>
                        <string>MacBookAir3,2</string>
                        <string>MacBookPro8,3</string>
                        <string>MacPro5,1</string>
                        <string>Macmini4,1</string>
                        <string>iMac12,2</string>
                        <string>iMac11,2</string>
              </array>
    Remove the "Pre" in "PreUSBBootSupportedModels"
    Then it will ask if you want to make a copy of the file, click yes.
    Now in the new "plist" file cut out "MacBook7,1" in the top line and replace with your Model Identifier (Can be found in "System Information" under "Hardware Overview")
    Save this file as "Info.plist"
    After save the old "Info.plist" file as "Old.Info.plist" and move to the trash can (May as for log in info to do so)
    Then after that file is in the trash move the NEW "Info.plist" (The one you edited) to the Bootcamp Content folder in place of the other one.
    If everything is done right you should now be able to "select/disselect" the "Create a Windows 7 install disk" in bootcamp.
    You're welcome,
    Avery

    I recently bought my Mac MIni 2010 Model, yes i know, 2010 Model?! But that's what i can afford for now since i already have an Apple Cinema display, an Apple Wireless keyboard and a Magic Mouse.
    When i tried opening the Boot camp assistant, since my Mac has an optical drive, only two options were shown and the "Create Windows USB install disk" option wasn't there at all.
    So i searched the net for help and i found only one that answers my query (http://forums.atomicmpc.com.au/index.php?showtopic=51873), however, after following the tutorial, it didn't work and my Boot Camp assistant ended up crashing (quit unexpectedly). So i reverted the process and my Boot camp assistant went back, up and running but still no third option.
    So disappointed, i went back to the "info.plist" that i was working on (using Xcode) and tried to mess around with the contents.
    Then after over an hour of trial and error, i decided to just revert the changes that i did and quit. As i was clicking on the , and because i was a noob, i deleted by mistake the entire array of strings containing "Boot ROM Versions" that allows some mac models to boot windows using usb and when i click cmd+z, it just won't undo it.
    So i guess, i was screwd! So nervous that i thought i killed the app, i closed the "info.plist" and checked if the Boot Camp assistant would still launch.
    To my surprise, it actually opened! And to my astonishment, it even shows the third option! I guess, no one has ever did this, as we speak!
    So you can call me an Accidental Hacker LOL! To all of you who understands fully the function of "info.plist" - any thoughts?
    Mac Mini Mid 2010
    OS X Version 10.8.3 Mountain Lion
    2.4 Ghz Intel Core 2 Duo
    2 GB 1067 Mhz DDR3

Maybe you are looking for

  • PUSHBUTTON and AT SELECTION-SCREEN

    Hi, I don't understand why I'm not being able to catch the user command in the example below.  I tried in the CASE statement sscrfields-ucomm, sscrfields, sy-comm, but none of them work. Is the problem related with displaying a message ? Or am I inde

  • Database PreparationGuidelines for an Oracle E-Business SuiteRelease 12.1.1

    Hiii.., Im upgarding my apps version from 12.0.4 to 12.1.1 Im folowing the metalink document *Oracle E-Business Suite Release 12.1.1 Maintenance Pack Installation Instructions [ID 752619.1]* now i need to apply the patch in Section 2: Applying the Ma

  • CHiP BSSP_ATTACHMENTS store business document

    I added the CHiP BSSP_ATTACHMENTS to my custom web dynpro application.  I got it to work, but the attachments attach to the content server.  We want the attachments to go to the archive server (i.e. IXOS).  To do this manually, you would to the GOS m

  • Where is the letterbox option in iMovie?

    where is the letterbox option in imovie?

  • Little semi-transparent Finder window icons, tabs

    When I move a Finder window, I sometimes accidentally grab the tab (because there's very little visual distinction between the two, poor UI IMHO). When I release the mouse, it leaves a semi-transparent icon version of the Finder window. You can liter