Link to home
Start Free TrialLog in
Avatar of Slimshaneey
SlimshaneeyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Allow people to use an executable without installing the .Net framework

Hi there. I have written a small app that ftp's files from the local directory to a remote web server. Ive tested this on my machine and all works fine. Its written in vb.net

My problem is that when I built the app, and tried to run it on another machine, I got the error that means the app needs the framework to run. Is there any way to get this program running without the framework. I thought Executables caontinaed allt he code they needed to run within themselves? I dont have the time or patience to install the framework across the entire company, and having to do that seems to outweigh the benefits of moving all app development to vb.net. Anyone got any suggestions??
Avatar of RonaldBiemans
RonaldBiemans

Sorry slimshaneey, you need the .net framework for your programm to operate but you can incorporate the .net framework
into the setup file of your program
You will notice that .net executables are generally very small...reason is that most of the code is in the .net framework.
Look at this one aswell

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/dotnetframedepguid1_1.asp

Take a look at the  "Setup.exe Bootstrapper Sample" in this link
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Interesting link TheLearnedOne, I'll keep that one in mind
For the most part - not possible.
Avatar of Slimshaneey

ASKER

Thistall worked a treat. many thanks guys!!!