Tagged Questions
7
votes
5answers
14k views
Embedding an external executable inside a C# program
How do I embed an external executable inside my C# Windows Forms application?
Edit: I need to embed it because it's an external free console application (made in C++) from which I read the output ...
7
votes
4answers
2k views
Modify Emdeded String in C# compiled exe
I have an issue where I need to be able to have a compiled exe ( .net 3.5 c# ) that I will make copies of to distribute that will need to change a key for example before the exe is sent out.
I cannot ...
5
votes
6answers
24k views
Compile to a stand-alone executable (.exe) in Visual Studio
how can I make a stand-alone exe in Visual Studio. Its just a simple Console application that I think users would not like to install a tiny Console application. I compiled a simple cpp file using the ...
18
votes
4answers
10k views
How To Store Files In An EXE C#
Alright, so I'm working on programming my own installer in C#, and what I'd like to do is something along the lines of put the files in the .exe, so I can do
File.Copy(file, filedir);
Or, if this ...
15
votes
3answers
24k views
Getting the absolute path of the executable, using C#?
Have a look at this pseudocode:
string exe_path = system.get_exe_path()
print "This executable is located in " + exe_path
If I build the above program and place the executable in C:/meow/, It would ...
5
votes
2answers
6k views
C# - How to call an exe added into project solution
So I added an EXE to my project's solution. The EXE does some stuff and outputs data via stdout. I want to capture the output, but more importantly how do I execute that EXE within my program?
2
votes
4answers
2k views
Store files in C# EXE file
It is actually useful for me to store some files in EXE to copy to selected location.
I'm generating HTML and JS files and need to copy some CSS, JS and GIFs.
Snippet
...
1
vote
8answers
446 views
How can I hide the details within my .NET executable?
If I have a simple CRUD app executable in .NET, what prevents a user from loading it into RedGate Reflector and viewing all the contents, including db connection strings, passwords, etc?
Can I ...
0
votes
1answer
3k views
using C# Process to run a Executable program
I am a Bioinformatic person and I use C# for my work. I have been using Processes in C# to run Executable programs several times. This time I have a new issue. I have downloaded an exe file in Windows ...
6
votes
4answers
653 views
Normal Setups in Visual Studio
Just wondering if there's a way to make Visual Studio 2008 Express Edition generate normal exe files that are created by the installer for my app?
I am sick of the ClickOnce application files. I had ...
5
votes
3answers
1k views
C# How to add my program to context menu?
I have a c# executable file (created from a windows form application) and I would like to be able to add this file to the context menu. Furthermore, I should point out that I need to be able to add it ...
1
vote
2answers
6k views
Not a valid Win32 application
I have a project I have built in Visual Studio 2010 on a Windows 7 machine. It compiles and runs without a problem.
When I place the application on a XP machine with .NET 4 it does not run with the ...
1
vote
3answers
2k views
Getting output from one executable in an other one
I'm currently trying to get the output of an executable console-app into an other one. To be exact, a little overview of what I'm trying to do:
I have one executable which I cannot edit and neither ...
0
votes
2answers
2k views
C# SendKeys Wait for Program to Load before sending
So long story short, I am trying to automate some things when my computer boots up. I thought I'd write an C# console application to do this and then add it to a schedule task in windows to be ...
0
votes
2answers
481 views
C# Application Scanning
I want to scan and get all the Application files in my computer.
I know how to get them, but I want only the applications which are Executable (except for Installers).
Basically, what I want is the ...