473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

how to run an exe created in C#

hi everyone!

i have created an exe. of my project and i want to run that on a computer
which don't have .Net installed on it. So here somebody told me that atleast
that computer should have .net framework installed on it to run the exe.

i installed the .Net framework on that computer but the exe. file which is
created in C# still dont runs. It gives an error :

"Application terminated, click ok to terminate the application and cancel to
start debugging"

plz help me in this matter
Nov 16 '05 #1
4 1362
Hi Muaz,

You can add instrumentation to your application, which can be turned on or
off via configuration files. If you add exception handling and use
instrumentation, you will have a much better chance of figuring out what
your run-time problems are. Here's an article I wrote on the subject:

http://www.code-magazine.com/Article...uickid=0409081

Joe
--
http://www.csharp-station.com

"Muaz Farooq" <Mu********@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
hi everyone!

i have created an exe. of my project and i want to run that on a computer
which don't have .Net installed on it. So here somebody told me that atleast that computer should have .net framework installed on it to run the exe.

i installed the .Net framework on that computer but the exe. file which is
created in C# still dont runs. It gives an error :

"Application terminated, click ok to terminate the application and cancel to start debugging"

plz help me in this matter

Nov 16 '05 #2
Which version of the .NET framework was your application compiled with, and
what version did you install on the client computer?

Adam Clauss
ca*****@tamu.edu

"Muaz Farooq" <Mu********@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
hi everyone!

i have created an exe. of my project and i want to run that on a computer
which don't have .Net installed on it. So here somebody told me that atleast that computer should have .net framework installed on it to run the exe.

i installed the .Net framework on that computer but the exe. file which is
created in C# still dont runs. It gives an error :

"Application terminated, click ok to terminate the application and cancel to start debugging"

plz help me in this matter

Nov 16 '05 #3
Joe Mayo wrote:
Hi Muaz,

You can add instrumentation to your application, which can be turned on or
off via configuration files. If you add exception handling and use
instrumentation, you will have a much better chance of figuring out what
your run-time problems are. Here's an article I wrote on the subject:

http://www.code-magazine.com/Article...uickid=0409081

Joe


How about posting a useful link. Pages after the intro return the
following:

"The page you are trying to access is considered premium content. The
complete article is available to our subscribers only."

You want folks to spend $30 to get your article on instrumentation?
That's not peer to peer support, that's sales.
--
Tom Porterfield
Nov 16 '05 #4
That's a big mistake on my part. I must have had a cookie set and totally
overlooked the fact that it was not publicly accessible - sorry about that.
Here's what I'm talking about.

http://msdn.microsoft.com/library/de...classtopic.asp

Joe
--
http://www.csharp-station.com

"Tom Porterfield" <tp******@mvps.org> wrote in message
news:ej**************@TK2MSFTNGP09.phx.gbl...
Joe Mayo wrote:
Hi Muaz,

You can add instrumentation to your application, which can be turned on or off via configuration files. If you add exception handling and use
instrumentation, you will have a much better chance of figuring out what
your run-time problems are. Here's an article I wrote on the subject:

http://www.code-magazine.com/Article...uickid=0409081

Joe


How about posting a useful link. Pages after the intro return the
following:

"The page you are trying to access is considered premium content. The
complete article is available to our subscribers only."

You want folks to spend $30 to get your article on instrumentation?
That's not peer to peer support, that's sales.
--
Tom Porterfield

Nov 16 '05 #5

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

Similar topics

21
by: André | last post by:
Short version of what I am looking for: Given a class "public_class" which is instantiated a few times e.g. a = public_class() b = public_class() c = public_class() I would like to find...
2
by: R Duke | last post by:
I have tried everything I can think of to change the visible property of a design time created control from a dynamically created control's command event handler. Here is the scenario. I have...
1
by: CS Wong | last post by:
Hi, I have a page form where form elements are created dynamically using Javascript instead of programatically at the code-behind level. I have problems accessing the dynamically-created...
1
by: Lalit | last post by:
Hi, My application has two methods which creates buttons at runtime. In one method I am able to handle the events of the buttons created at run time, but in other I am not. The code structure...
7
by: MariusI | last post by:
Are objects implicitly stored in the TLS of the currently running thread? When creating multithreaded applications i get errors when accessing data from a different thread than the thread used to...
9
by: Tushar | last post by:
Followup-To: microsoft.public.dotnet.general Does anyone know when is this event raised, is it: 1) When the file is created but may not have been closed 2) When the file is created AND it has...
3
by: Happy Man | last post by:
Why we created All praise is due to Allah and may His peace and blessings be upon his last messenger (saaw) and on all those who follow the path of righteousness until the last day. We have...
10
by: Jess | last post by:
Hello, If I create a temporary object using a dynamically created object's pointer, then when the temporary object is destroyed, will the dynamically created object be destroyed too? My guess...
0
by: dhvenkat | last post by:
Hi all, Im facing issues in generating the second mail-merge document when the first document created is still open. Its a web based application, and we submit the details for mail-merge after...
16
by: Mike | last post by:
Hi, I have a form with some controls, and a different class that needs to modify some control properties at run time. Hoy can I reference the from so I have access to its controls and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.