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

Minimum environment for VB.NET EXEs?

TC
Hi folks

Someone has told me that VB.NET programs are pure win32 executables.
The person who told me this is often wrong about technical issues. But
he is very confident, & has the ear of his employer!

Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?

Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?

TIA,
TC
Nov 20 '05 #1
6 1273
i think all you need is to include all the references into the build.
you'll prolly get a few dll's and a xml file or 2 and then offcourse your
exe.

at the bare minimum i think you'll get your exe file and system.dll

tanuki

"TC" <aa**********@yahoo.com> wrote in message
news:be**************************@posting.google.c om...
Hi folks

Someone has told me that VB.NET programs are pure win32 executables.
The person who told me this is often wrong about technical issues. But
he is very confident, & has the ear of his employer!

Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?

Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?

TIA,
TC

Nov 20 '05 #2
You'll need the .NET framework

http://www.microsoft.com/downloads/d...DisplayLang=en
TC wrote:
Hi folks

Someone has told me that VB.NET programs are pure win32 executables.
The person who told me this is often wrong about technical issues. But
he is very confident, & has the ear of his employer!

Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?

Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?

TIA,
TC

--
Steve Garman
Nov 20 '05 #3
TC
Someone has told me that VB.NET programs are pure win32 executables.
The person who told me this is often wrong about technical issues. But
he is very confident, & has the ear of his employer!
In fact that is right at the moment, it is based on the Windows operatings
system as the whole dotNet is, which does not mean that there is as well a
project to make it run on Linux what is in a very far state.

http://www.go-mono.com/download.html

http://www.go-mono.com/class-status-...sualBasic.html

Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?
Because the dotNet framework should be an independent layer upon your OS you
need to have installed dotNet framework which the vendor of the OS delivers.
For Microsoft that is possible for (the still or ending suported systems)
NT4 with SP6, W98/Me and all newer NT systems than NT4.
Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?

As told above the dotNet framework is an OS layer for all languages who can
work with the framework even when it is from an independent supplier, what
was not with other languages on Win32 before the introduction of dotNet.
(exept the pure C type ones and the Win32 assembler). When the framework is
installed there is nothing extra needed.

I hope this helps?

Cor
Nov 20 '05 #4
Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?

Visual Studio is the preferred professional toolshed. It is not in any way
required to run .Net programs nor to develop them if you are happy with the
command line compilers and text editors of the bare bones .Net SDK.

[I shouldn't really say bare bones, because there are some incredibly handy
utilities in that SDK.... you could, if you were that way inclined, get up
to all kinds of mischief with it..... ]

:0

VB.Net is one of several languages that can be used to develop programs and
class libraries to run on the dotNet runtime. That is to run a Vb.net
program you will need the dotNet runtime, which is freely available for
royalty free distribution. This will be built into future operating system
delivered by Microsoft. The dotNet framework essentially wraps the inane
complexity and havoc of the Win32 API into something a little less mind
boggling and altogether more productive.
Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?


One dotNet HelloWorld .exe, which in dotNet is often referred to as an
assembly. This assembly contains the manifest, which is the self describing
"header" of the .exe, containing version and dependancy info etc.
It also contains the MSIL (Microsoft Intermediate Lanaguage instructions)
that constitute the working "guts" of the program. It is this MSIL that is
JIT compiled and run by the framework at runtime.

You will also need the runtime as mentioned above to run this program. So
all in all.. two things.

N.B You will often hear the terms "framework" used when "runtime" is meant.
Its probably more correct to think of the runtime as being exactly that, a
runtime engine. The framework is all the supporting goop such as base class
libraries etc that support and wrap the Win32 interop etc providing the
dotNet namespaces.

You cant run a dotnet program without the framework... but understand that
the framework is not the runtime engine. The framework includes but is not
limited to the runtime engine.

hth
Richard
Nov 20 '05 #5
* aa**********@yahoo.com (TC) scripsit:
Someone has told me that VB.NET programs are pure win32 executables.
Partly. There is Win32 startup code that starts the CLR, but the rest
is .NET metadata and MSIL code.
Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?
<URL:http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/>
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?
To /run/ an application, you need the .NET Framework on the destination
machine (~ 22 MB):

<URL:http://msdn.microsoft.com/netframework/>
Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?


See link above.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #6
TC
Thanks to all respondents for your timeley & useful answers.

TC

hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<uw**************@TK2MSFTNGP10.phx.gbl>...
* aa**********@yahoo.com (TC) scripsit:
Someone has told me that VB.NET programs are pure win32 executables.


Partly. There is Win32 startup code that starts the CLR, but the rest
is .NET metadata and MSIL code.
Thus, can someone please tell me (or give me a link to), what is the
minimum environment necessary to run a "hello world" VB.NET program?


<URL:http://msdn.microsoft.com/netframework/technologyinfo/sysreqs/>
Does it need anything more than the relevant program EXE? Maybe a
simple runtime engine like "normal" VB? Or does it need a big support
environment like Visual Studio?


To /run/ an application, you need the .NET Framework on the destination
machine (~ 22 MB):

<URL:http://msdn.microsoft.com/netframework/>
Asked slightly differently: what (if anything) would I have to install
on a plain vanilla win98 PC, to run a "hello world" VB.NET program?


See link above.

Nov 20 '05 #7

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

Similar topics

6
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private...
1
by: James | last post by:
I'm having a problem using the System.Net.WebClient to download .exes from a web server. I'm testing everything on localhost, and the same code works fine with all other types of file. I even tried...
2
by: mb | last post by:
I was curious if the new .NET 2.0 has optimized things to make the EXEs run faster? Thanks
0
by: Joe Frank | last post by:
Howdy- I have some code that programmatically creates users in AD like so: user.Properties.Value = 512; user.CommitChanges(); // Set password user.Invoke("SetPassword", new object { password...
2
by: Benny | last post by:
If you rebuild a solution without change anything, the new generated EXEs still has some difference. Is there a way to find out whether two EXEs are functional same?
2
by: Tim | last post by:
There is a vb6 standard exe. This exe makes calls to other Com dlls and dot Net dlls and exes. In this scenario, is the application running in the dot net environment or com environment?
1
by: pavanip | last post by:
Hi, I have one windows application in that i created multiple exes.Now I am trying to build my application and combine multiple exes to one exe.But i am unable to that can you tell me the...
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
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
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...
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.