473,809 Members | 2,633 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I make a Standalone Application

I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework. I have build a sample
application that I want to be able to quickly show to people. I will plug
in a ThumbDrive with my app on it, and then execute my application. I don't
want to have to force people to install the Framework and reboot if they do
not have the .NET framework installed.

Is this possible? and how?

Thanks,

Richard Arthur
Nov 13 '05 #1
10 9706
This is not possible using C#. You will have to use C++ in order to build an
app that does not rely on the .NET Framework.

HTH,

Bill P.

"Richard Arthur" <rb***@cs.byu.e du> wrote in message
news:eZ******** ******@TK2MSFTN GP11.phx.gbl...
I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework. I have build a sample
application that I want to be able to quickly show to people. I will plug
in a ThumbDrive with my app on it, and then execute my application. I don't want to have to force people to install the Framework and reboot if they do not have the .NET framework installed.

Is this possible? and how?

Thanks,

Richard Arthur

Nov 13 '05 #2
Richard Arthur <rb***@cs.byu.e du> wrote:
I want an application developed in C# to be used on any computer _without_
the client computer needing the .NET framework.


You're out of luck. It's not going to happen - at least, not at the
moment.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 13 '05 #3
Bill Priess <no*****@nospam .com> wrote:
This is not possible using C#. You will have to use C++ in order to build an
app that does not rely on the .NET Framework.


Or Java, or Delphi, or C, or Perl, or Python, etc - there are plenty of
languages other than C++ which don't require .NET :)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 13 '05 #4
heh.. Jon you are always on about the details... sheesh! ;)

"Jon Skeet" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@news.microsof t.com...
Bill Priess <no*****@nospam .com> wrote:
This is not possible using C#. You will have to use C++ in order to build an app that does not rely on the .NET Framework.


Or Java, or Delphi, or C, or Perl, or Python, etc - there are plenty of
languages other than C++ which don't require .NET :)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too

Nov 13 '05 #5
Right. We used to do all our development in Java, but I did not know you
could bundle the J2EE with a deployed application. I always thought you had
to at least have the Java runtime installed on the destination computer.

Anyway, we shifted to C# for a lot of the COM interop possibility, and for a
myriad of other reasons. We like the way Properties work, our development
uses a lot of Reflecion, and Properties fit our object model very well.

I was afraid of this, and my boss won't be too happy. But I will try to set
something up that will ease the pain.

Thanks.
"Bill Priess" <no*****@nospam .com> wrote in message
news:en******** ********@TK2MSF TNGP11.phx.gbl. ..
heh.. Jon you are always on about the details... sheesh! ;)

"Jon Skeet" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@news.microsof t.com...
Bill Priess <no*****@nospam .com> wrote:
This is not possible using C#. You will have to use C++ in order to build an app that does not rely on the .NET Framework.


Or Java, or Delphi, or C, or Perl, or Python, etc - there are plenty of
languages other than C++ which don't require .NET :)

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too


Nov 13 '05 #6
Richard Arthur <rb***@cs.byu.e du> wrote:
Right. We used to do all our development in Java, but I did not know you
could bundle the J2EE with a deployed application. I always thought you had
to at least have the Java runtime installed on the destination computer.
Nope - your installation can do all that. Sun's JRE is free to
redistribute. Now as for a free J2EE server... you'd have to go with
JBoss or something similar.
Anyway, we shifted to C# for a lot of the COM interop possibility, and for a
myriad of other reasons. We like the way Properties work, our development
uses a lot of Reflecion, and Properties fit our object model very well.

I was afraid of this, and my boss won't be too happy. But I will try to set
something up that will ease the pain.


You can redistribute the .NET framework too. It may be reasonably big,
but it's free to redistribute.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 13 '05 #7
comments below...

"Jon Skeet" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@news.microsof t.com...
Richard Arthur <rb***@cs.byu.e du> wrote:
Right. We used to do all our development in Java, but I did not know you could bundle the J2EE with a deployed application. I always thought you had to at least have the Java runtime installed on the destination computer.
Nope - your installation can do all that. Sun's JRE is free to
redistribute. Now as for a free J2EE server... you'd have to go with
JBoss or something similar.


Sorry...I meant the JRE instead of J2EE. So the JRE has to be installed on
a machine before any Java apps can be run. but it is freely distributable.
I thought you meant that I could just bind the Java App with the JRE, and
run the Java App without having to install the JRE first.
Anyway, we shifted to C# for a lot of the COM interop possibility, and for a myriad of other reasons. We like the way Properties work, our development uses a lot of Reflecion, and Properties fit our object model very well.

I was afraid of this, and my boss won't be too happy. But I will try to set something up that will ease the pain.


You can redistribute the .NET framework too. It may be reasonably big,
but it's free to redistribute.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too

Nov 13 '05 #8
Richard Arthur <rb***@cs.byu.e du> wrote:
Nope - your installation can do all that. Sun's JRE is free to
redistribute. Now as for a free J2EE server... you'd have to go with
JBoss or something similar.
Sorry...I meant the JRE instead of J2EE. So the JRE has to be installed on
a machine before any Java apps can be run. but it is freely distributable.


Well, it has to be present. It doesn't have to be installed as such -
you can run the JRE just by having the right files in the right places.
I thought you meant that I could just bind the Java App with the JRE, and
run the Java App without having to install the JRE first.


Yes - see above. On the other hand, if every app does that, you end up
with a lot of JREs! One thing some installers allow is to ask the user
to select an existing JRE, or install one for them to be used by that
app and others, or place one in the app's directory just for its own
use.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
Nov 13 '05 #9
Can I ask that how to redistribute .NetFramework ? reinstall the whole
..netframework or ..?
Thanks
John

"Richard Arthur" <rb***@cs.byu.e du> comments below...

"Jon Skeet" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@news.microsof t.com...
Richard Arthur <rb***@cs.byu.e du> wrote:
Right. We used to do all our development in Java, but I did not know you could bundle the J2EE with a deployed application. I always thought you had to at least have the Java runtime installed on the destination computer.
Nope - your installation can do all that. Sun's JRE is free to
redistribute. Now as for a free J2EE server... you'd have to go with
JBoss or something similar.


Sorry...I meant the JRE instead of J2EE. So the JRE has to be installed on
a machine before any Java apps can be run. but it is freely distributable.
I thought you meant that I could just bind the Java App with the JRE, and
run the Java App without having to install the JRE first.
Anyway, we shifted to C# for a lot of the COM interop possibility, and for a myriad of other reasons. We like the way Properties work, our development uses a lot of Reflecion, and Properties fit our object model very well.

I was afraid of this, and my boss won't be too happy. But I will try to set something up that will ease the pain.


You can redistribute the .NET framework too. It may be reasonably big,
but it's free to redistribute.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too


Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
9128
by: Jeppe | last post by:
Hi @ll, I'm investigating the possibility to call a struts action on a web environment from a standalone java application. I need to make this call automatically, from a crontab (on unix). That's why I thought about doing it from within a little Java standalone program that can be started from command line. But how do I connect to the web/application server? Furthermore, the action is using a Cookie! Can I somehow pass a cookie with...
2
2625
by: Sandeep Gupta | last post by:
Hi, I've written a commercial application that uses Python scripts for some of the functionality. Installing the Python portion of the application requires me to first install Python, and then install the scripts. I'm looking for an easier way to install the Python portion. I've been referred to: http://www.mcmillan-inc.com/install1.html Which application would people recommend for creating a standalone
3
28427
by: mehrdad | last post by:
Hi, I have a fully functional MS-Access database. May I build such an "exe" file from a MS-Access "mdb" file which one who has not MS-Access installed on his/her system can take advantage of the database? is it possible to have an standalone MS-Access application with no need to use the MS-Access environment itself ? regds, a. nasseh
3
2442
by: Frankie | last post by:
I want to build a standard application (without .NET Framework features) with my Visual C++.NET. I want to produce a standalone executable application that runs in another PC without .NET Framework. How can i do this? (if there isn't .NET Framework, my application doesn't work...)
1
1517
by: Martin Raychev | last post by:
Hi everyone, I have to design an application which has to display some graphics of maritime data. I am wondering whether it could be web application (ASP.NET) or standalone C# application.
2
2370
by: JohnR | last post by:
Hi all. In my program I try to handle all obvious potential errors with structured error handling (try-catch) block. What I would like to do is have an 'overall' error handler that would gracefully catch any unanticipated errors. I created a startup module to place my overall error handling for my "real" program which is Form1. My program is structured like this: Module startup
3
1952
by: Daniel Nogradi | last post by:
What would the simplest way to make an application that has both a web interface and runs from behind a web server but also can be used as a standalone app with a gui? More precisely is it possible to avoid creating an html/xml/whatever based web interface for the web version and separately creating a gui (wxpython for example) for the standalone version and instead create a graphical frontend at once that can be used for both?
2
2322
by: James Stroud | last post by:
Hello All, I am trying to create a semi-standalone with the vendor python on OS X 10.4 (python 2.3.5). I tried to include some packages with both --packages from the command and the 'packages' option in setup.py. While the packages were nicely included in the application bundle in both cases (at Contents/Resources/lib/python2.3/), they were not found by python when the program was launched, giving the error: "ImportError: No module...
7
11669
by: tah | last post by:
Hey, Can someone please clarify, confirm, or set me straight on my understanding of a standalone="yes" attribute in the xml version element? I assume it means that the xml document containing it is standalone, and does not refer to any external document to define types. In other words, it doesn't use an external dtd to validate any types - everything used would be defined within the doc itself. In other words, you would never see an xml...
1
1439
by: undertruck | last post by:
Hello, Someone posted this topic and I was not allowed to post a reply. So pardon me for asking this here again. Someone has to say something on this? I'm kinda looking for the same thing. Thanks. ----------------------------------------------------------- XML Forms Based Standalone Application Hello,
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4332
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.