473,386 Members | 1,803 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,386 software developers and data experts.

Portable console applications

I want to write a console application which as a .exe will be portable to
another machine which doesn't have the .net framework installed. Is this
possible - or does even the simplest console.writeline command require the
..net framework?

Grateful for any advice
Nov 21 '05 #1
4 1457
simonc schrieb:
I want to write a console application which as a .exe will be portable to
another machine which doesn't have the .net framework installed. Is this
possible
No way.
- or does even the simplest console.writeline command require the
.net framework?


Yes.

Thorsten Doerfler
--
http://www.vb-hellfire.de/
Nov 21 '05 #2
Simonc,

When you use a program language based on managed code you need forever the
framework.

However you can build with C++ in VS net 2003 programs which do not need the
framework.

Just in addition to Thorsten,

Cor

"simonc" <si****@discussions.microsoft.com>
..
I want to write a console application which as a .exe will be portable to
another machine which doesn't have the .net framework installed. Is this
possible - or does even the simplest console.writeline command require the
.net framework?

Grateful for any advice

Nov 21 '05 #3
"simonc" <si****@discussions.microsoft.com> schrieb:
I want to write a console application which as a .exe
will be portable to another machine which doesn't have
the .net framework installed. Is this possible
No. The .NET Framework needs to be installed on the machine.
- or does even the simplest console.writeline command
require the .net framework?


It will require the .NET Framework. Choose another programming language
(like "old" unmanaged C++) instead of a .NET programming language.

More info:

<URL:http://www.google.de/groups?selm=uzCIZ2CtEHA.376%40TK2MSFTNGP09.phx.gbl >

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #4
You can use the new C++, just choose a Win32 Cosole project.
Mark

"Herfried K. Wagner [MVP]" wrote:
"simonc" <si****@discussions.microsoft.com> schrieb:
I want to write a console application which as a .exe
will be portable to another machine which doesn't have
the .net framework installed. Is this possible


No. The .NET Framework needs to be installed on the machine.
- or does even the simplest console.writeline command
require the .net framework?


It will require the .NET Framework. Choose another programming language
(like "old" unmanaged C++) instead of a .NET programming language.

More info:

<URL:http://www.google.de/groups?selm=uzCIZ2CtEHA.376%40TK2MSFTNGP09.phx.gbl >

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #5

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

Similar topics

385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
3
by: Dave | last post by:
I created a console app in Visual Studio 2003 using C#. How to I distribute this app after I build it? It is my understanding that a C# app will run on any machine with the Net Framework...
5
by: Barry Mossman | last post by:
Hi, can I detect whether my class is running within the context of a Console application, vs say a WinForm's application ? also does anyone know whether the compiler or runtime is smart enough...
131
by: pemo | last post by:
Is C really portable? And, apologies, but this is possibly a little OT? In c.l.c we often see 'not portable' comments, but I wonder just how portable C apps really are. I don't write...
5
by: Richard Giuly | last post by:
Hello, I would like to write "portable" C++ code that could theoretically run on linux, windows, and other platforms, and I'd like to use VS as the editor/compiler/linker. The simplest thing...
8
by: vermarajeev | last post by:
How can I create a C++ Console application, compiled with GCC, portable to Linux and Windows, with a password prompt without echo (does not show the password as you type it)? I would like...
3
by: Alex | last post by:
Hello, I'm wroting a console utility in VB 2005, and I need the ability to pass parameters to the application when the program runs. For example, if my program is called testing.exe, I need to...
3
by: Sheikko | last post by:
Sincerly is a little bit complicated to explain to you what I have in my mind, but I will try: Above all the problem is the type of data that I want to passe between these two applications. The...
1
by: Siegfried Heintze | last post by:
Consider this program: Module Hello Declare Function _getch Lib "msvcrt.dll" () As Integer Dim out As System.IO.TextWriter = System.Console.Out Sub Main(args() as String) out.WriteLine("Hello...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.