PDA

Click to See Complete Forum and Search --> : does vb.net compile into an exe?


Filter300
Mar 15th, 2002, 01:58 PM
i'm alittle confused on how this works? is it like java where you need a VM? or is it like VB 6 where you need the dll's installed on the machine?:confused:

egiggey
Mar 15th, 2002, 02:03 PM
How I understand it is when you install the .net framework onto the target system there is a jit compiler that compines the exe created by vs.net into native code

Cander
Mar 15th, 2002, 02:04 PM
it makes an exe but the system it is going to run on needs the framework.

Filter300
Mar 15th, 2002, 02:17 PM
so you need to have the frame work installed on anymachine that you want this to run on?????

Filter300
Mar 15th, 2002, 02:18 PM
so that icsharp that you were talking about compiles it into an exe that the framework understands???

Cander
Mar 15th, 2002, 02:22 PM
that is correct.

You can also compile from the command line when you have the sdk installed.

vbc.exe myexe.vb

that will compile a .vb file (a text file with vb code in it) into an exe.

but icsharp has built in compiling which is also part of the framework

Filter300
Mar 15th, 2002, 02:32 PM
so can i code vb.net in vb6 and just compile it with the sdk???

Cander
Mar 15th, 2002, 02:34 PM
no...VB6 and VB .NET have had alot of syntax difference. VB6 wont allow most of that stuff.

Filter300
Mar 15th, 2002, 02:39 PM
has anyone doen a performance check between vb6 and vb.net??? does this JIT comp make it run slow???

Cander
Mar 15th, 2002, 02:43 PM
in most cases ive tested... .NET is faster.

Filter300
Mar 15th, 2002, 03:03 PM
really? thats amazing... i would have thought it would be slower.. java is horriably slow.. compared to vb or c++...

Cander
Mar 15th, 2002, 03:07 PM
it will prbabl;y depend..some thing will be faster..some may be a bit slower...but with faster computers these days..I dont think speed will be too much of an issue..at least not for a VB app.

Filter300
Mar 15th, 2002, 03:54 PM
where do you find this SDK? i've looked on microsofts web site but i cant find it... .

Serge
Mar 15th, 2002, 04:20 PM
http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/MSDN-FILES/027/000/976/msdncompositedoc.xml

Filter300
Mar 18th, 2002, 11:11 AM
The Frame work dosent work on win 98???? am i reading this wrong or do i have to have win NT/win 2K/win XP pro???...

thinktank2
Mar 18th, 2002, 12:30 PM
The .NET framework Runtimes Works on all platforms..

Windows 98 , 2K , XP

The .NET SDK Installer that u download from MS site doesn't allow you to install on Windows 98.

But Actually, Microsoft don't want to commit support for the SDK running in windows 98. So they made it as though it is impossible for the sdk to be installed in Win98.

In reality....

You can just use winzip to extract the contents of Installer executable.( If you have winzip, just right click on the Installer executable and open with winzip)

After extracting to a temp folder, Click on the *.msi file to install on windows 98 without a single hitch. That's how I installed it on a Win98 machine at home.

Filter300
Mar 19th, 2002, 09:45 AM
i'm getting this stupid error.... and i have win 98 se....
where do i get this???

Scott Penner
Mar 19th, 2002, 01:40 PM
You need to update your windows installer to version 2.0. The .net installation does this automatically if you can run the setup exe (which you can't do for '98).

You should be able to download the latest installer from MS

Geoff Gunson
Mar 21st, 2002, 07:01 AM
This is just my 2cents:

.Net programs are not complied into an EXE (as we know them).

EXE programs contain machine code, .NET programs are complied into a middle ware language called msil (microsoft intermediate language).

MSIL is freely document standard WC3???, which is why there are so many variants of complier ie Pascal.net, Bob the monkey complier.net.

MSIL is interipted by the JIT engine, (just in time) and it is this engine that creates the native code.

Think of the .Net frame work as a giant class, containg multiple subclasses such as consol and the like.

Like i said just my interiptation

G

Cander
Mar 21st, 2002, 08:27 AM
almost..The CLI and C# are ECMA standards not W3C.

AlexGold
Mar 22nd, 2002, 01:44 PM
A little off topic, but with all this makes an exe or doesn't, one question wasn't really answered, at least to my satisfaction :D
Does the machine I want to run my exe ( or whatever VB.NET makes ) have to have the .NET Framework? I know you had this question a couple of lines above, but am I really getting this right? I just want yes/no :D

Cander
Mar 22nd, 2002, 01:53 PM
yes

AlexGold
Mar 22nd, 2002, 01:56 PM
you're kidding ... tell me you're kidding, plz. :eek:
I mean, I have to force all my customers to use .NET Framework?

thinktank2
Mar 22nd, 2002, 02:30 PM
20 MB is not very big these days.
Anyway, future Microsoft OS will always ship with .NET Framework runtimes.

AlexGold
Mar 22nd, 2002, 02:34 PM
It's not the size that ticks me off, it's the fact that some of my customers are using Win95, Win98 and NT 4.0. I suppose the Framework doesn't support those three, or at least not fully? Am I wrong?

Filter300
Mar 22nd, 2002, 02:45 PM
the frame work supports 98 and nt 4.0.... but i'm not sure about 95...

donut
Mar 22nd, 2002, 02:55 PM
nope, 95 is dead :)

Jethro
Mar 23rd, 2002, 12:32 AM
Win 98 runs like a dog with .net installed on it.....


Win Me Win 2k, work just fine.....

Am still in process of deciding if .net is actually worth it. Yes we have customers running vb5 and 6 apps on older equipment, and don't wont to get into supporting MSs frigging .net bugs...

From what l can understand, reading a few posts here, talking to MS etc....to just get MS VB.net in a usable form you have to purchase the upgrade version......fleck that! Last time l did an upgrade version, we ended up trying to iron out bugs for a week.


Simple question MS does not seem to be able to answer. Is there a vb.net professional version available, in the exact same way there was for version 5 and version 6.

JpEgy
Mar 23rd, 2002, 12:14 PM
I don't really see the problem with the framework. Noone still uses windows 95, and if they do they probally cant run your apps on there machine because it's too slow. And for the size, well if you burn your prog on a cd it's NP at all. If you distribute ur stuff through the internet, well, remember directx? Everybody has it nowadays. My idea is that everybody will have this framework very soon, and i'm working on this myself :-).

thinktank2
Mar 23rd, 2002, 02:48 PM
Originally posted by Jethro
Simple question MS does not seem to be able to answer. Is there a vb.net professional version available, in the exact same way there was for version 5 and version 6.

http://www.dotnet.za.net/viewarticle.asp?articleid=13

Scroll to the bottom of the page.