Results 1 to 30 of 30

Thread: does vb.net compile into an exe?

  1. #1

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413

    Question does vb.net compile into an exe?

    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?

  2. #2
    egiggey
    Guest
    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

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    it makes an exe but the system it is going to run on needs the framework.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    so you need to have the frame work installed on anymachine that you want this to run on?????

  5. #5

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    so that icsharp that you were talking about compiles it into an exe that the framework understands???

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    so can i code vb.net in vb6 and just compile it with the sdk???

  8. #8
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    no...VB6 and VB .NET have had alot of syntax difference. VB6 wont allow most of that stuff.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  9. #9

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    has anyone doen a performance check between vb6 and vb.net??? does this JIT comp make it run slow???

  10. #10
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    in most cases ive tested... .NET is faster.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  11. #11

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    really? thats amazing... i would have thought it would be slower.. java is horriably slow.. compared to vb or c++...

  12. #12
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  13. #13

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    where do you find this SDK? i've looked on microsofts web site but i cant find it... .

  14. #14

  15. #15

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    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???...

  16. #16
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    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.

  17. #17

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    i'm getting this stupid error.... and i have win 98 se....
    where do i get this???
    Attached Images Attached Images  
    Last edited by Filter300; Mar 19th, 2002 at 11:30 AM.

  18. #18
    Hyperactive Member Scott Penner's Avatar
    Join Date
    Dec 2000
    Location
    Mountain View
    Posts
    327
    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
    -scott
    he he he

  19. #19
    Addicted Member Geoff Gunson's Avatar
    Join Date
    Jun 1999
    Posts
    241
    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

  20. #20
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    almost..The CLI and C# are ECMA standards not W3C.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  21. #21
    Member
    Join Date
    Nov 2001
    Location
    Berlin
    Posts
    44
    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
    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
    VB 6.0
    VC++ 6.0
    ABAP

  22. #22
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    yes
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  23. #23
    Member
    Join Date
    Nov 2001
    Location
    Berlin
    Posts
    44
    you're kidding ... tell me you're kidding, plz.
    I mean, I have to force all my customers to use .NET Framework?
    VB 6.0
    VC++ 6.0
    ABAP

  24. #24
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    20 MB is not very big these days.
    Anyway, future Microsoft OS will always ship with .NET Framework runtimes.

  25. #25
    Member
    Join Date
    Nov 2001
    Location
    Berlin
    Posts
    44
    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?
    VB 6.0
    VC++ 6.0
    ABAP

  26. #26

    Thread Starter
    Hyperactive Member Filter300's Avatar
    Join Date
    Aug 2001
    Posts
    413
    the frame work supports 98 and nt 4.0.... but i'm not sure about 95...

  27. #27
    Addicted Member donut's Avatar
    Join Date
    Mar 2001
    Location
    London, UK
    Posts
    165
    nope, 95 is dead

  28. #28
    Jethro
    Guest
    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.

  29. #29
    Addicted Member
    Join Date
    Dec 2001
    Location
    Guess....i have wooden shoes, in my free time i sell tulips and I live in a huge windmill...
    Posts
    176
    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 :-).
    JpEgy

  30. #30
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width