How to run a programm without dos-box

hello everybody,
if have got a "simple" question:
How to run a java-programm under windows without an dos-box?
Whenever I start an programm from a batch-file a console is opend, I dont need that console and want it to disapear!
can anyboby help me? are there special tool or anx tricks?

... and remember to call exit in the batch file, otherwise it may stay visible.

Similar Messages

  • How to run the form without logon?

    sir:
    I want to create the application without logon,but before the
    form appear,I must logon, I want to know how to run the form
    without logon(comment:I don't connect to database!);
    null

    steve (guest) wrote:
    : Create trigger ON-LOGON. Supply alternative logon code
    : or NULL; if you want to do nothing. Form will execute
    : but will not produce logon window.
    : gang lee (guest) wrote:
    : : sir:
    : : I want to create the application without logon,but before
    the
    : : form appear,I must logon, I want to know how to run the form
    : : without logon(comment:I don't connect to database!);
    Mr steve,thanks for your help!
    null

  • How to run java servlet without using Web.xml?

    How to run servlet without using Web.xml? From a book, I know that web.xml descriptor is optional, but the book doesn't tell us how to run java servelet without web.xm descriptor. So how to do that? Thanks a lot.

    How to run servlet without using Web.xml?But Tomcat now uses a web.xml for its global server-wide configuration.
    If you'd like to invoke a servlet with:
    http://host/servlet/ServletName
    you have to enable the invoker servlet.
    [from an HTML]
      <FORM METHOD="POST" ACTION="/servlet/HGrepSearchSJ">
    [from resin.conf of Resin Web Server 2.1.12]
      <!--
         - The "invoker" servlet invokes servlet classes from the URL.
         - /examples/basic/servlet/HelloServlet will start the HelloServlet
         - class.  In general, the invoker should only be used
         - for development, not on a deployment server, because it might
         - leave open security holes.
        -->
      <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
    [from TOMCAT5.0.19/conf/web.xml, a global server-wide web.xml file]
      <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
      <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
      <!-- servlet is mapped to URL pattern "/servlet/*", but you can map it    -->
      <!-- to other patterns as well.  The extra path info portion of such a    -->
      <!-- request must be the fully qualified class name of a Java class that  -->
      <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
      <!-- of an existing servlet definition.     This servlet supports the     -->
      <!-- following initialization parameters (default values are in square    -->
      <!-- brackets):                                                           -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>
    ---comment out below----------------------------------------------------------
        <!-- The mapping for the invoker servlet -->
    <!--
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>
    -->

  • HOw to run the Applet in dos mode

    how to run the applet in Command Prompt(DOS).
    I have save this in directory D/vijay/javap/A.java and my JDK is in C drive.
    Plz send me reply as soon as possible.
    My code is :-
    import java.applet.*;
    import java.awt.*;
    public class A extends Applet
    private int w, h;
    public void init( )
         w = 45;
         h = 50;
    public void paint(Graphics g)
         g.drawRect(w, h, 20, 80);
    }

    import java.applet.*;
    import java.awt.*;
    public class A extends Applet
    private int w, h;
    public void init( )
    w = 45;
    h = 50;
    public void paint(Graphics g)
    g.drawRect(w, h, 20, 80);
    <applet class="A" height="200" width="200" code="A.class">
    </applet>
    */And in command prompt
    javac A.java
    appletviewer A.java
    Message was edited by:
    passion_for_java

  • How to run a Plugin, without opening Adobe indesign

    Hi,
    Does anyone know how to run a plugin as a service or something like that...
    What i want to do is,
        I have written a plugin that can read texts from indd files & save them as .txt files.
    now i want to put indd files in to a folder & once a new file comes to the folder, read that new file automatically  and save as txt.
    for that I want to run the plugin, without opening the indd file.
    I hope CS6 SDK support to do that.
    Please let me know if anyone has any idea...
    Thanks.

    Hi Menan,
    Thank you very much for your reply...
    I'll explain you what my requirement is,
    My final goal is to run the Indesign application(including my plugin) in a server &  put all indd files in to a location(ex.folder) &
    once an indd file comes to that folder it'll be automatically read by Indesign application & save the extracted data in a separate location(ex.another folder) as tex files. then human interaction is not needed...
    My precsent problem is,
           Can I read an indd file, without opening indd file in Indesign application (may be giving a path to a indd files included folder or some way like that).
    Currently,
      first i open the Indesign Application -> Open the indd file(intended to be read) -> Run my plugin.
    Now I Get the document with,
    IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
    But what I want is,
    while the Indesign application is running on a PC, if an indd file comes to a given location(folder) it to be read automaticaly without opening my pluging.
    To do that My idea is,
      * Any time when the Indesign apllication is opend my plugin should automatically start running,
    * once a new file comes to a given location(folder) plugin shoud be automatically triggered & read the file.
    Please help me with your ideas..
    Thanks.

  • How to run java application in Unix Box

    Hi,
    Would anybody show me how to run my server application in unix box?
    Thank you very much.
    Hung

    Your application should have a main class. Suppose it's called MyMain.class. I'll assume it's in the anonymous package. So you cd to the directory containing the class, and type java MyMainIf it's not in the default package, or is a jar file, say so.

  • How to run java application without having java environment in  a machine

    can i run java application without having java environment(JVM) in a machine.I mean i dont have installed j2se or jdk in my machine.And i have an j2ee application running on another host which is built in swings.I want to access that application in my machine
    can any one help regarding my problem

    If you only need to access the program from one machine and you are running a Unix-like operating system (e.g., Linux, Solaris), you can use the remote display capabilities of X11. In this case you have to choose the host where the app will be displayed when you start it:
    $ DISPLAY=<hostname>:0.0
    $ export DISPLAY
    $ java ...
    If you want to be able to display it on both machines at the same time, or if you are using windows, then try something like VNC (http;//www.realvnc.com). Or if you are running windows and your version supports it, you can use windows remote desktop.

  • How to run stored procedure in DOS command line????

    Hi,
    I want to run a stored procedure in DOS command line?
    (My_Stored_Procedure is the stored procedure that I want to run )
    This is what I did in DOS prompt
    C:\>sqlplus scott/tiger exec lMy_Stored_Procedure <Return>
    Obviously it is NOT working. Please send me the correct way to fix this.
    Thanks so much in advance for helping.
    Cuong

    Billy  Verreynne  wrote:
    BluShadow wrote:
    True Billy, but even Windows hasn't completely got away from using the "DOS" word...Yeah - the command line/shell environment is based on that of the old DOS command interpreter. But Microsoft does not make the mistake of call it DOS.
    In fact, with earlier versions of Windows NT, a 16bit DOS real-mode virtual machine was supported. This was very kewl.
    Running a large BBS with multiple nodes back then required a DOS machine per node, an IPX network, and a Novell file server.Novell Netwars. ;)
    Ahhhh! good old DOS... so many good programs written at that low level, outside the Windoze environment.Yeah.. cut my teeth on writing code for DOS. Still have all my old BIOS and assembler manuals for it. Wrote my own screen s/w (write to a buffer and then move it into the video buffer, instead of writing char wise to the video buffer via interrupts), mucking about with my own concurrent threading model (using very simplistic cooperative multitasking) and so on. Heck, wrote tons of s/w on DOS... :-)Yeah I've still got a copy of my old machine code programs for writing to buffers and screen memory switching for smooth animation. Run them nowadays and they run like sh!t off a shovel. And all my old coursework including writing an interpreted language and multi-window (dos based windows) editor, parser and the code to execute the language and display the output. Oooo, and so much other stuff.
    Awesome back then as you got really intimate with the o/s and hardware. This is sorely lacking today in environments like Java. And I think the reason why so much code written today is less than optimal - to put it kindly.Exactly. Started for me on the Sinclair zx81 (writing Basic), then the Sinclair Spectrum (Basic and Assembly), then Sinclair QL (yes I really had one!) and then the BBC Master 128K (where I got to writing my own rom filing system and creating my own eproms, to integrate with the word processor for additional printing features etc. as well as storing games on rom for speedy loading - and I still have it and it still works!)
    It's that level of working with the underlying memory and assembly language that gives you the understanding of how values are passed between code using the stack and registers, and how memory allocation and referencing is done etc. As you say... it's missed in a lot of todays teaching, which just seems too high level and misses the basic concepts of things such as datatypes and why they are different. I bet half the modern programmers wouldn't have a clue how to do multiplication or division of binary numbers using the carry flag.

  • How to run all slides without stop?

    I´m watching an online course made with Flash.The course consists
    of several chapters/slides. After every slide I have to press the play button
    to start the next slide, which is a huge interference
    How do I make all slides run without me having to start all of them manually??

    There are plenty of folks that design things that don't do what others expect they should.  These forums themselves are a grim example of that.  I, personally, wouldn't bother getting so worked up about it--there are far greater woes in life than presentations that don't play thru without using controls.

  • How to run a subVI without poping up normally, but when clicking a button, popup the front panel?

    I know pop-up the front panel of a subVi when called by selecting VI Properties>>Windows apperence.
    But what I need to do is: always run the SubVI inside the parent VI as the nornal subVI do without poping up. But when I click a button"show front panel", the SubVI popup the front panel.
    Is there anyway to do this?
    Thanks,

    ossoo,
             You can use a static VI reference to the subVI and then use the Front Panel Open invoke method to show the front panel when you want. I have attached two VIs that show this. I saved these VIs for LabVIEW 2009 so you should be able to open them up and run them in 2009 or later. Add.VI is the subVI that you are calling. The Caller.VI is just a While Loop that contiually calls the Add subVI. Inside of the While Loop is also a Case Structure with a Static VI Reference (you might need to change the path this is pointing to after downloading the VIs to your computer for this to work) and the Front Panel Open invoke method. You can run the Caller.VI and interact with the main Front Panel as normal and see the subVI but then you can click the Open subVI? boolean button and it will open the subVI's front panel. You can continue to interact with the main front panel and see the values update on the subVI's front panel as well. You can just close the subVI's front panel when you are done viewing it. Does this help?
    Grant H.
    National Instruments
    LabVIEW Product Marketing Manager
    Attachments:
    Caller.vi ‏19 KB
    Add.vi ‏23 KB

  • How to run a script without Photoshop's GUI or...

    within GUI, but without animation of every command in the script?
    I need to process huge number of pictures - animation makes serious impact on performance...
    Thanx all.

    In VB/VB.Net you can use the visible property and make Photoshop invisible. I don't think it appreciably speeds up the processing but it does seem to help some.
    The downside is if your application has some kind of issue and doesn't make Photoshop visible again before quitting. At least in older versions (pre CS3) I experienced Photoshop not showing itself even after stopping and restarting, including re-booting etc. You had to run a program that made it visible again. At least that was my experience.
    I don't know if that is still true in CS2/CS3/CS4 however and may not be.
    While I haven't done any highly controlled bench marking, I have found that in CS4 (at least the original public release of it), VB.net seemed to outperform java script doing the same thing by about 33%. I did my best to make both as efficient as possible and I just couldn't get the java script stuff to operate as fast. I was surprised. Again, it wasn't as controlled as it should have been, but it was at least consistent.
    Another thing that should make the execution more efficient is to make sure the layers palette is either not shown or is collapsed. That actually seems to speed things up quite a bit. The program doesn't have to show all the changes happening in that palette. Of course all pallets that change upon execution of commands should also be closed or collapsed. This should be done even if you are going to minimize and/or hide photoshop too. I'm of the opinion (via observation) that the program knows when these palettes don't need to be updated and so they must avoid doing the code behind the display of the change.
    Regards
    George Smith

  • How to run the servlet without getting message window?

    while running servlet,i got a message window that 'Do you want to save:val?'how to rectify this problem while running servlet.
    Actually i saved the servlet files as HTTP and Generic.java respectively.
    In web.xml file,the content is as follows
    <servlet>
    <init-param>
         <param-name>title</param-name>
         <param-value>GenericServlet Example</param-value>
         </init-param>
         <init-param>
    <param-name>heading</param-name>
    <param-value>Servlet Program</param-value>
    </init-param>
    <servlet-name>G</servlet-name>
    <servlet-class>Generic</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>H</servlet-name>
    <servlet-class>HTTP</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>G</servlet-name>
    <url-pattern>/generic</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>H</servlet-name>
    <url-pattern>/http</url-pattern>
    </servlet-mapping>
    ======================================================
    The html file is as follows
    <html>
    <body>
    <form action="generic" method="get">
    User Name<input type=text name=t1><br>
    Password<input type=password name=t2><br>
    <input type="submit" value="GenericServlet Output">
    </form>
    <form action="val" method="get">
    User Name<input type=text name=t3><br>
    Password<input type=password name=t4><br>
    <input type="submit" value="HttpServlet Output">
    </form>
    </body>
    </html>
    ======================================================
    I executed the servlet as http://localhost:8080/stalin/sample.html
    and clicked the sumit button in the html page.
    During that time i got a problem but not getting the output.The problem is I got a message window?
    can anyone help me clarify my doubt plz

    That would occur if either the content type in the header is wrong (e.g. it is not text nor image, those content types with which the useragent used is associated), or if you have set content disposition in the header to attachment instead of inline.
    So, doublecheck the headers.

  • How to run my class without SDK

    hi,
    I wrote a swing application. I created myclass.class
    Now I want to send it to my friend so they will be able to run this and use it.
    I tried to test this on computer that doesn't have SDK but has only JRE (latest version).
    I put the class is in folder c:\test
    when I run the cmd:
    java -cp c:\temp myclass
    or
    javaw -cp c:\temp myclass
    (I tried also
    "C:\Program Files\Java\j2re1.4.2_06\bin\java.exe" -cp c:\temp myclass
    again - nothing happens!!!)
    nothing happens!!!!
    my question:
    How can I run my application on computers that has only JRE?
    Please help.
    Thanks

    OK - problem solved.
    due to path ver - it used the wrong class.
    Thanks any way - and have a nice weekend.

  • As of yesterday I cannot download pdf files. Instead I get a pop up box that says CONVERT and gives me dozens of programs. How do I just download without this box stopping me?

    i click on any pdf file and instead of it just downloading and opening automatically as it has always done - instead it shows the download box and then another pops up titled CONVERT and then gives me a million different options - word / excel / every version of every one! DOS. even if i pick one it comes up in computer language. As of 2 days ago it worked properly and in Safari or another program I can open the pdf. What's happening? HELP

    You can try "Reset Download Actions"
    * http://kb.mozillazine.org/File_types_and_download_actions

  • I have purchased a new computer I have Lightroom 3 disc however I purchased an upgrade to lightroom 4 online so i don't have the disc. I have the serial number for lightroom 4 but don't know how to download the programme without the dics

    I have just purchased a new computer. Some time age I purchased Adobe Photoshop Lightroom 3 package which includes the disc. Since them I upgraded to 4 online without the disc .How do I upload without the dosc, I have the serial number for version 4 and have been using it on my old computer.

    You will need both License Keys the Lightroom 4 upgrade key and the Lightroom 3 key. You can download the latest LR 4.4.1 from the site below. Just make sure you get the appropriate one for your operating system.
    Adobe - Lightroom : For Macintosh
    Adobe - Lightroom : For Windows
    Install then you first enter the LR 4 upgrade serial number and then the LR 3 serial number when prompted.

Maybe you are looking for

  • How do i change my iCloud email from an old email to a new email?

    How do i change my iCloud email from an old email to a new email?

  • Error when processing dimension using XMLA script

    I am hopeful that someone has an answer for this... I am in the process of deploying SQLServer 2014 and have been running in parallel with my production environment for 2 weeks with no issues.  Yesterday morning, my primary data load job failed while

  • Bootcamp won't recognize Win7 dvd

    I have a late 2008 aluminum body Macbook (5,1), running OS X 10.7.4 and Bootcamp 4.0.3. I replaced the 160 GB Toshiba HDD with a Crucial M4 SSD and boot off that. The problem I'm having is that even though it allows me to create the partition, it won

  • Error exporting images from Lightroom

    I have LR v1.3.1, for Windows on Dell PC with Intel Core 2 2.4Ghz, 2GB RAM. I am having problems exporting images I did some minor editing on in LR. Editing included cropping to 8x10 aspect ratio, some tone adjustments, and a few red eye reduction. I

  • Green Screen Artifacts??

    I have a MacBook Pro: Model Name:    MacBook Pro Software  OS X 10.8.3 (12D78) Processor Name:    Intel Core i7 Processor Speed:    2 GHz Number of Processors:    1 Total Number of Cores:    4 Memory:    4 GB Display: 15-inch (1440 x 900) Intel HD Gr