exe

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

女生的网名这么多〃 提交于 2019-11-28 06:31:16
问题 I want to run an exe file on my winform .net application within the panel using c# code I'm 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 notepad file or any other exe file within the panel using c# code? I want to run the application within the panel not on the separate window.i had run the following code but the exe does not stay on the screen nor it opens within the panel

Wix - How to run exe files after installation from installed directory?

邮差的信 提交于 2019-11-28 06:31:04
I'm using a program which is being installed using wix. (Don't know if it's relevant but it's a C# program) I want to run an exe file which was installed by the msi file, but the location of the installation is unknown to me since the user chooses the installation path. I wanted to ask for example of how to run an exe file from the location the user chooses. Even though it's not a part of the question, I would also be glad to see some example of running an exe file from an absolute location since I'm a beginner to wix and doing it all for the first time. The Isaiah4110 answer is not the best

pyinstaller creating EXE RuntimeError: maximum recursion depth exceeded while calling a Python object

痴心易碎 提交于 2019-11-28 05:02:23
I am running WinPython 3.4.4.3 with pyinstaller 3.2 (obtained via pip install pyinstaller). Now I've got some really simple Qt4 code that I want to convert to EXE and I've run into problem that I cannot solve. The Code: import sys import math from PyQt4 import QtGui, QtCore import SMui import numpy as np from scipy.interpolate import InterpolatedUnivariateSpline class SomeCalculation(QtGui.QMainWindow, SMui.Ui_MainWindow): def __init__(self): super(self.__class__, self).__init__() self.setupUi(self) self.setWindowTitle('Some Calculation') self.calculate.clicked.connect(self.some_math) def some

What does the EXE do in the Visual Studio setup project output

故事扮演 提交于 2019-11-28 04:58:22
We are working on a winforms app in Visual Studio 2005 and the setup project we created output both an MSI and an EXE. We aren't sure what the EXE file is used for because we are able to install without the EXE. It's a bootstrapper that checks to make sure that the .NET Framework is installed, before launching the MSI. It's pretty handy. I suggest using something like SFX Compiler to package the two together into one self-extracting .exe and then launch the extracted setup.exe. This way you retain the benefits of the bootstrapper, but your users only download a single thing. Edit : also see

Reduce exe file

人走茶凉 提交于 2019-11-28 03:51:44
Using Delphi (or in general any tools, if exist of course), is it possible to reduce size of an exe file, removing all code that not is used but that is present there? (for example, a function or procedure that is present but is never called). I remember that with Pascal, using unit (without objects) the compiler includes only procedures and functions that are really used and will strip out non-used routines in a unit from the final exe. With Object-pascal, I remember that in Delphi 1 all members of a object are included in the exe; Has something has changed since than till Delphi-XE2? If you

what's in a .exe file?

不问归期 提交于 2019-11-28 03:04:39
So a .exe file is a file that can be executed by windows, but what exactly does it contain? Assembly language that's processor specific? Or some sort of intermediate statement that's recognized by windows which turns it into assembly for a specific processor? What exactly does windows do with the file when it "executes" it? MSDN has an article " An In-Depth Look into the Win32 Portable Executable File Format " that describes the structure of an executable file. Basically, a .exe contains several blobs of data and instructions on how they should be loaded into memory. Some of these sections

preventing an exe file from closing [duplicate]

三世轮回 提交于 2019-11-28 02:13:57
Possible Duplicate: How to stop C++ console application from exiting immediately? I created an exe file in c. When I run it command prompt opens and then closes quickly and I cannot see the output. The program takes no runtime values from users. It reads data from a file. Is there any way to prevent this? Run it natively from the command line. Let's say that your file is in C:\awesomeness.exe Open the cmd, type cd C:\ and then type awesomeness.exe One classic way to do it: #include <stdio.h> int main() { puts("hai"); getchar(); } This will wait for keypress at the end. Are you in Windows? If

Best free tool to build an exe from Java code? [duplicate]

青春壹個敷衍的年華 提交于 2019-11-27 23:05:27
Possible Duplicate: How can I convert my java program to an .exe file ? I've used JSmoothGen in the past, but recently we've seen a number of machines that refuse to run the .exes that it generates. It also seems not to be actively maintained so heavily any more. Are there any alternatives that are more actively maintained and more reliable? I use Launch4J which supports Windows, Mac and Linux. I suggest forgoing the somewhat flaky GUI tool and just writing the (short, readable) config file yourself. The gnu compiler gcj I found this article to be very informative http://www.excelsior-usa.com

How to make .exe file for izpack installer .jar file

痞子三分冷 提交于 2019-11-27 21:31:51
I make an installer with izpack . Its in .jar file. I want to make it in .exe file in order to distribute it. How can I do it in an easy way? eee Andrew always likes to promote Java Web Start technology from the start :) It is a nice tech. But, you also need to learn the technical parts first before you can start tinkering with it. Otherwise, you are left with the old-style EXE distribution model as follows... I am not familiar with Izpack anyway. But, there are similar separate tools to achieve the combined result as to what izPack can do. My favorite EXE creation and installer tools are

Add icon to existing EXE file from the command line

余生颓废 提交于 2019-11-27 20:07:26
Is there a command line tool that can add an icon to an existing executable file? It should be able to set the icon as the file's "main" icon that is shown in Explorer. I don't have Visual Studio and cannot recompile the exe with custom resources containing the icon. UPDATE : The best tool I have found since posting this question is by far the RCEDIT.exe utility that is included with WinRun4J . Resource Hacker is a free tool that allows you to modify resources in executables, and it can be scripted from the command line. Sorry, I haven't personally tried this one just yet, but because I am