run

How to batch execute php script from one php script?

I have a series of php scripts that I want to run in a particular order. I tried using: <?php exec('file1.php'); exec('file2.php'); exec('file3.php'); ?> to accomplish this, but just got a series of errors. If I run them from the command line, they all work fine... I'm not sure how to do this... if someone can help, that'd be gre...

Run EXE FROM CLIENT SIDE

Hi I need run an exe file from client side. The Exe file exist in my C:\ Directory. I need run this exe file from my WEB site. How Can I Do This? ...

How to prevent SQL Compact DB to be erased?

Hi, I'm developing an applciation using SQL Compact database in Visual Studio 2008. When I start the application and run the process, the data is being loaded into database for few hours worth of few tens of megabytes. However, when I quite debugging, change something in code (not in DB structure), run the project again, the database is...

run application after installshield patch

Hi! Anyone with installshield experience. I have this quick patch that will replace my recently installed exe. It works fine, no problem. However, what I need right now is to automatically run the exe after patch. How can I do this? Please let me know if you don't understand my question. :) ...

How to silent run an installer of another program(PostgreSQL) during the installation in WIX?

Hello All, My company is developing an application that has a dependency on PostgreSQL, we are developping the installer by using WIX. How can we make the PostgreSQL installer (which is also a msi file) run automatically when installing our application? What do we need to set in Wix? If you happen to know any webpage explains this, plea...

emacs windows run python program in current buffer and display the output on output window

I use the Python-mode (not the default one comes with emacs 23). I could not execute the python program currently loaded in emacs. I am getting "Symbol's function definition is void: smart-operator-mode-on" error. Any clue or any tips makes a python program and it can be run on emacs and show the result output window? Here the emacs...

Cocoa: int main function

I'm curious, what role does the int main function play in a Cocoa program? Virtually all of the sample code I've been looking at has only the following code in main.m: #import <Cocoa/Cocoa.h> int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **) argv); } What exactly is this doing, and where does t...

Google app engine to run executable files

Hi, Is it possible to run executable files in google app engine? Like by using Runtime.exec? There is whitelist on google app engine documentation which list classes that can be used but functions/ inside the classes are not specified. Thanks! ...

how to run code compiled by JavaCompiler ?

Hi, Is there any way to run program compiled by JavaCompiler? [javax.tools.JavaCompiler] My code: JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); DiagnosticCollector<JavaFileObject> diagnostics = new DiagnosticCollector<JavaFileObject>(); CompilationTask task = compiler.getTask(null, null, diagnostics, null, n...

Writing XML Exactly as XML Literals are Written

I'm transforming some XML from DrawingML to XAML. Unfortunately, the XAML one is not working as expected with white spaces, but I have found a work around. Here's the problem: Problem Statment I want to write the following in a TextBlock: Hi John, what did Sushi A say to Sushi B? So I would write: <TextBlock> <Run>Hey</Run> ...

to run an exe file in the panel of c#.net application

thanks..im searching for the right answer but still not got it.. my question: i want to run an exe file on my winform .net application within the panel using c# code im able to run exe file on the button click with System.Diagnostics.ProcessStartInfo and Process p = Process.Start("notepad.exe"); but what is the code to run this notepa...

Adobe Batch Sequence

How do I invoke an Adobe Batch Sequence (.sequ file extension) from a command prompt or desktop icon? ...

how to run process in background in .net using c#

i have to run process in background using thread and background worker. this process do the task of retrieve data from database,it retrieve successfully by i can not display that data into datagridview, there is give some data error event. so,pls help me for this. thanks . ...

XCODE auto save code when build and run?

How to tell Xcode to save the source code automatically without prompting, each time I hit on the build and run? thanks in advance ...

How to create a Java application which can be run by a click?

I would like to have a Java application which can be easily started. So far I have managed to create a jar file but I do not see any advantages yet. Before I run my application by "java HelloWorldSwing" and now I use "java -jar HelloWorldSwing.jar" (which is even more complicated than the previous command and, as far as I understood, th...

Need help returning object in thread run method

I have a Java class that extends Thread, it basically looks like the following: public class HttpRequestDispatcher extends Thread { private String url; private String method; // GET or POST private byte[] postData; public HttpRequestDispatcher(String url, String method, byte[] postData) { this.url = url; ...

How to make a user friendly start of a Python program?

I have a Python program (GUI application). I can run this program from the command prompt on Windows (command line on Linux). But it can be too complicated for users. Is there an easy way to initiate a start of the program with a click (double click) on a pictogram (a small image on the desktop)? ...

Use java.awt.Desktop on client/server application for open browser on client

I'm trying to use the desktop class in client/server application. I want the default browser to open on the client side when the client clicks on a button. What happens is that the browser opens on the server. How can I fix it? Thanks ...

best way to run a periodic query in mysql

Hi all, In my Rails application I have a separate process (BackgroundRb) to delete all transactions which are not successful and it must be run after every five minutes. But in BackgroundRb, it runs a database check after every second though my query executes periodically at the specified time(after 5 mins). So my question is what is th...

auto run a php file

Is there a way to run a second PHP file from the first file ? example i wam running a.php and from the foreach loop, the var is past to b.php using POST function.. ...