running

How to generate running time graph for my Java program

Hi I want to generate running time graphs on my java program. Is there any program which makes it? ...

How do I do a running year for a calendar report?

Here is the Query I am using: SELECT * FROM ra_ProjectCalendar WHERE MonthNumber between @Month and @Month + 12 and FullYear = @Year It works great for this year, but, stops at December of this year. How do I get it to show a running year? ...

Renaming A Running Process' File Image On Windows

I have a Windows service application on Vista SP1 and I've found that users are renaming its executable file (while it's running) and then rebooting, thus causing it to fail to start on next bootup because the service manager can no longer find the exe file since it's been renamed. I seem to recall that with older versions of Windows yo...

Install Shield 2009 Premier Custom Action problem in Vista Home/Premium/Ultimate

Environment: Install Shield 2009 Premier, Vista (Home/Premium, Ultimate) I have a custom action in Install Shield 2009 that would fire during installation. If setup.exe is run its fine, but when run the MyApplication.msi in Vista(please note in other OS the custom actions work just fine) it shows exception running the custom action. Cus...

Run NetBeans project just with ant

I have a sample code that was built with Netbeans. It has a build.xml file so I downloaded ant and try to run it. I've got this error message: ...... nbproject\build-impl.xml:76: Platform is not correctly set up For what I can see, this is fixed by "simply" downloading Netbeans and running the sample from there, but... I don't want...

c# get running process given process handle

Hi, can someone tell me how i can capture a running process in c# using the process class if i already know the handle? Id rather not have not have to enumerate the getrunning processes method either. pInvoke is ok if possible. ...

Checking if multiple processes are running

I have a listbox that lists windows processes by their handle title, e.g. "Untitled - Notepad". What I would like to do is regularly check (using a timer?) if those processes are still open. I have stumbled across some code below, but that only takes one argument "string". I assume it would have to be an array of all items in the listbox...

Check if a specific exe file is running

I want to know how i can check a program in a specific location if it is running. For example there are two locations for test.exe in c:\loc1\test.exe and c:\loc2\test.exe. I only wanted to know if c:\loc1\test.exe is running and not all instances of test.exe. ...

Kill Running PHP Script via Process ID?

Hello all, I make lots of GET requests to several PHP scripts via AJAX. I want to ask for implementation advice on how to kill a PHP script that is currently running (in the background). Is there some way to get the PHP scripts process ID when it runs and then I can probably kill that process via shell/cmd etc? Is there a better way? ...

php check what server the application is running on?

How can I check in a PHP script if it's running in a windows or unix environment? ...

Selenium - "Firefox is already running" error

We are running some tests using selenium. We have dedicated Windows XP VM's for that, with one selenium RC server on each VM, and no other process running on that VM. We open and close a selenium session for each test. The tests always call selenium.stop() when they finish. A lot of times (1 in 30 I would say) one test hangs, and when I ...

On android system.I want to get the status of running apps,how to do?

On android system.I want to get the status of running apps,how to do? ex. foreground / background! ...

how to check already running exe in c#.net?

what is the procedure to know that when Everytime the user starts the application it will check if an instance is already running. If its not running it will launch it otherwise it will focus to the current one.i have already tried the code for singleton application but its giving lots of errors. its not running properly. can u provide m...

How to arrange long (time consuming) actions on Android?

For instance, we are in SomeActivity and the activity has a button that invokes moving files from one dir to another (let's call it job). On BlackBerry I would: push a non-cancellable popup (Dialog screen) saying "Please wait..." start a thread that fulfills the job on thread completion close the popup This approach 99.99% can guara...

Detect when other process is shutdown OSX

I need a way to determine from a Cocoa app if a given process name is running. One idea I had was to use NSTask and poll using ps aux | grep processName. Is there a better solution? ...

Running form application created in Visual Studio on the other computer

Hi i create my form application in VS 2008. I write in C#. I'm trying to run my app on the other computer (without VS). I moved all project files, i go to project folder\bin\Debug\my_app.exe and it doesn't work. System automatically close application. Why? What can i do to fix that problem? / sorry for my english ...

How to tell axis2 to use an existing object as a service?

I am trying to expose some methods of a running application as a webservice. The core idea is to use an embedded web-server and send the soap messages to the apache axis2 framework in order to invoke the services. The problem is, that axis2's createService methods only accept Classes as parameter, not existing objects. So I believe that...

long running process in asp.net C#

Hello All, I have a web application that has a long running (resource intensive) process in the code behind and the end output is a pdf file (images to pdf conversion tool) It runs fine..and since I am on a dedicated server, it is not at all a problem with respect to resources right now. However, I wonder that the system would reach...

How can I compile and run a Java program?

How can I compile and run a Java program? ...

How to execute ant using java and captured the output?

Hi, I have an ant build file that contains JUnit test suite that I would like to execute. Currently I just right click and run the build file from Eclipse. I want to write a java code that can execute the ant build file automatically. So I just run the code and ant will be executed. Second is I want to capture the test result. Current...