executable

Killing the background window when running a .exe from a Python program

the following is a line from a python program that calls the "demo.exe" file. a window for demo.exe opens when it is called, is there any way for demo.exe to run in the "background"? that is, i don't want the window for it show, i just want demo.exe to run. p = subprocess.Popen(args = "demo.exe", stdout = subprocess.PIPE) the output ...

making an exe low priority

Hi, how do i run a .exe as low priority? i know i can go to task manager and change the priority setting there manually, but is there a way that i can launch the .exe from a .bat file with a command to make the .exe run at a given priority (in this case low)? the .exe is a program that i've written in c++, can i set the priority in c++ ...

Passing CGI arguments to an executable in Apache on Windows

I was under the impression that I could put any old executable program in the cgi-bin directory of Apache and have it be used as a CGI script. Specifically, if I have a C# program static class TestProg { static void Main(string[] args) { Console.Write("Content-type: text/plain\r\n\r\n"); Console.WriteLine("Argum...

Is packaging scripts as executables a solution for comercial applications?

What happens when you package a script as an executable? Is this a good way to distribute commercial applications? I remember I read something a long time ago that when you package scripts as executables, at runtime the exe decompresses the scripts to a temporary directory where they get ran. If it's like that, than I don't think this c...

Managing .exe files

In VB.net, how can you programmatically launch a .exe file? Is there a way to check if the file is there? I know there is some way to check using System.IO, but I have no idea. However, I have not even the slightest clue as to how to launch that .exe if it is there, so thanks for the help! ...

How should I call a .NET exe that is distributed with my main application

I have a .NET Windows application that needs to call another .NET executable. I want to distribute this other exe as part of the main project, and was wondering what is the best way of implementing this. We don't want to take the code from this second exe and put it in the main project as we need the exe to effectively remain sealed, as ...

Java applet as stand-alone Windows application?

I have a Java applet that is meant to run only on Windows. (It uses a 3rd party COM object; it is not cross-platform.) Is there a way to run a Java applet as a stand-alone application on Windows? ...

ASP.NET: Execute an external executable doesn't work

I need help with the code below. I try to convert a AutoCAD file from the format dwg to the format dwf. Then, the dwf file is downloaded and opened on the client computer using a java applet. The command used to convert the dwg file on the command-line is: C:\inetpub\wwwroot\COR-Basic\cadviewer\converter\ax2008.exe -i="C:\inetpub\wwwroo...

send an arbitrary number of inputs from python to a .exe

p = subprocess.Popen(args = "myprog.exe" + " " + str(input1) + " " + str(input2) + " " + str(input3) + " " + strpoints, stdout = subprocess.PIPE) in the code above, input1, input2, and input3 are all integers that get converted to strings. the variable...

Emulate keystroke in other window

This may be a cardinal programming sin, but what's the easiest and quickest way via executable or batch file to bring focus to Window X and hit keystroke Y? This won't be reused, and X and Y can be hard-coded if necessary. edit: on a Windows machine ...

How to add exe of WPF app to Start->Programs

Hi, I have created an exe of the WPF UI application, using Setup project in the VS 2008 application. I have generated exe's and msi's in DEBUG and RELEASE mode. I am able to install the application too. But, how can I have the shortcut of it in Start-> Programs ?? Any option to be provided while creating exe in DEBUG r RELEASE mode? ...

Hash of an .exe file

I'm wondering whether I will ever get a different result when producing a checksum on an .exe file before and then while or after running that file. I'm more concerned with common practice (such as producing a SHA hash of popular app like firefox.exe) than with boundary cases, but both are interesting. Thanks. ...

Python execute program change path

I'm trying to make a python script run another program from its own path. I've got the execution of the other program working using os.system, but the program will crash because it cannot find its reasources (wrong path, I assume). I tried adding the folder harboring the executable to the path, but that didn't help. Any help please? ...

Open my application's files in C#?

My application creates files with the .mhm file extension. When one of these files are opened I want my application to start and open the file. Right now the application starts up but the files are not opened. What do I do? ...

execute my file’s Application in C#

My application creates files with a ".mhm" extension. I'd like for my application to open and process these files when I double-click them. Current behavior is that when I double-click the file, my application opens but does not process the file. How can I read the args parameter of Main() method in C# 2008? ...

Starting as external .exe v/s startin as windows service, which one is more efficient from performance point of view ?

Hi, I am starting software service as external .exe and than as windows services, but both time I am getting different results and wanted to ask what difference does it make with this two approaches and which one should be used if performance is the main criteria. Thanks. ...

What's the advantage of making a Sinatra/Rack app into a single, locally-executable file?

I was reading the description of Vegas, which is a gem that aims to solve the simple problem of creating executable versions of Sinatra/Rack apps. I didn't know this was a problem that needed to be solved. The reason this seems of dubious benefit is because of this: Now if you run ./my_app it should: * find an appropria...

Can We execute an exe that is in client side?

Is there any way to execute exe(say notepad.exe) that is in client? If so.. how can i do that from server side.? I know its a security violation..still i want to know. ...

is it possible extern a win32 application (only have exe file)

Hi all I have a application (win32 exe file) without source code. Is it possible I write C# application and reuse some function in that win32 .exe file? Thanks for your reading. Best regards! ...

cocoa + .app file

Hi guys i have an executable for my cocoa application as xyz.app file. But when i copy this on windows, it is showing this as a directory with all the resource files and stuff. Is there any way to create a single file executable on mac also (like .exe file on windows) so as to disable the user from seeing the resource files and other fi...