launch

How to check JRE version prior to launch?

What's the best way to determine if the version of the JRE installed on a machine is high enough for the application which the user wants to run? Is there a way of doing it using java-only stuff? I'd like the solution to work on Windows/Linux/MacOSX - if the JRE version is too low a message should be displayed. Currently I'm getting an e...

Launching a ClickOnce Deployed Windows application using VBScript

I have a ClickOnce deployed application I want to launch from VBScript, similar to launching Microsoft Word in the following example: Dim word Set word = CreateObject("Word.Application") word.Visible = True The problem is I don't know what parameter to pass into the CreateObject function to launch my application. Where would I find th...

launch app, capture stdout and stderr in c++

How do I launch an app and capture the output via stdout and maybe stderr? I am writing an automated build system and I need to capture the output to analyze. I'd like to update the svn repo and grab the revision number so I can move the files in autobuild/revNumber/ if successful. I also would like to build using make and upload the co...

How to launch multiple Java programs with one configuration on separate consoles (with Eclipse)

I'm working with a Java program that has multiple components (with Eclipse & Ant at the moment). Is there some way to start multiple programs with one launch configuration? I have an Ant target that does the job (launches multiple programs) but there are things I would like to do: I would like to debug the programs with Eclipse, hen...

how do i start a program (say calc.exe) based on existence of some file (1.htm) via scheduler?

Hi, I need to start a program based on existence of some file (1.htm) on the same machine using scheduler. I don't want to write any extra code. is it possibele by using that is already on windows for e.g listener etc. 1.html sometimes exist and doesnt' exist sometimes. So strictly I need to run (calc.exe) only when 1.htm exists. Basi...

where are the external tools launch configurations in Eclipse

I usually install and uninstall different versions of Eclipse for fun. I don't want to install many plugins. I prefer to start with fresh install to test the IDE. The problems comes when I have to config all the external tools that I always use (E.g. run jconsole). Also I want to backup my launch configurations. Do you know where Ecli...

Launch JVM process from a Java application use Runtime.exec ?

I want to be able to launch a Java server process from an existing java application and monitor the stdoutput and stderror and redirect that output to a file. Is the best approach to use 'Runtime.exec' and treat the app like any other OS process or is there something more suited for new JVMs. This is on Java 1.5 ...

Android Respond To URL in Intent

I want my intent to be launched when the user goes to a certain url: for example, the android market does this with http://market.android.com/ urls. so does youtube. I want mine to do that too. If anybody could explain this, thank you very much. Isaac Waller ...

How to detect whether an OS X application is already launched

Normally an application bundle on OS X can only be started once, however by simply copying the bundle the same application can be launched twice. What's the best strategy to detect and stop this possibility? On Windows this effect can simply be achieved by the application creating a named resource at launch and then exit if the named r...

sql profiler 2008 does not accept template name in command line launch

I am trying to launch sql profiler 2008 from the command line launch. the syntax I used : C:\Program Files\Microsoft SQL Server\100\Tools\Binn>profiler90 /S server /D dbname /U sa /P password /T "C:\Documents and Settings\template.tdf" actual result: profiler opens, successful login happens but still I am forced to select a template. ...

launch safari from iphone app

This might be a rather obvious question, but can you launch the Safari browser from an iphone app? all the best. ...

Launch file from Java

I want to launch a file(a document) from a Java program and phase the following requirements: Method must be applicabale on Mac, Win and Linux systems I am not allowed to use "Runtime.getRuntime().exec("cmd.exe /C +"filename"); The file I am launching needs to be either of .doc / .docx / .rtf The file is created runtime, a result fro...

Programmatically execute app in Vista...

Hello, I have an application that executes an upgrader application automatically whien it starts. However, when the first app laucnches and sees that an upgrade is needed it launches the upgrader and fails becuase of security in Vista. If i launch the upgrader manually as an Administrator then it functions correctly. 1) How can i do...

How do I launch application one from another in C#?

I have two desktop applications. After closing the first application, the first application will start the second application. How do I start the second application after finishing first application? My first application creates a separate desktop. ...

Launchd Relaunch App on Quit

Hi Everyone: I am wondering how to set Launchd to relaunch my app if the user has not chosen to choose "Quit" from the top bar. There are cases where something may happen to the app, and it may force quit, and if a preference is selected I want it to relaunch automatically. I have looked into it before posting here, and I have heard t...

Is there a non-java, cross platform way to launch the associated application for a certain file type?

First, I found a couple of java specific questions and answers for this. I am looking for more "native", but cross platform solution, using C, C++, some kind of shell scripts, or, in my case, Qt. So the question is, are there standard, cross platform, ways to programmatically open the associated application for certain file types. Or a...

iPhone Dev - Is it possible to load an app's mainWindow conditionally?

Is it possible to code this sequence of events once an iPhone app has been launched? User launches application. AppDelegate.m checks if data is present in internal database. If yes, MainWindow.xib loads. If no, AnotherViewController.xib loads. I've only seen app examples that load the MainWindow.xib without conditions. If it is possib...

Eclipse : How to terminate all applications at once?

Hi, is there some way to terminate all (Java) applications launched with Eclipse at once? br, Touko ...

Create a Mac Application Installer and Passing Arguments on Launch

Couple questions on creating a mac installer. 1) Should any frameworks from /Developer/SDKs/ be included/packaged into the application file? 2) When we normally launch the executable we pass it an argument to point it at our servers, is there a way to encode this information into the Unix Executable File found in Contents/MacOS/? Than...

how to load and launch .app file in iPhone?

hello, How to load and launch .app executable of other project in my project without URL based? ...