Is there any difference between applications VB6 EXE and VB.NET EXE? Why does VB.NET EXEs run slower than VB6 EXEs? Is a .NET EXE true executable or it is just MSIL and interpreted during runtime?
Any help?
Printable View
Is there any difference between applications VB6 EXE and VB.NET EXE? Why does VB.NET EXEs run slower than VB6 EXEs? Is a .NET EXE true executable or it is just MSIL and interpreted during runtime?
Any help?
See how you know the answer already? ;)Quote:
Originally posted by sbasak
or it is just MSIL and interpreted during runtime?
There may be other reasons but that's the main one.
Well, I'm still confused. If .NET exe is an MSIL, is it similar to Java's bytecode? Usually EXE means compiled - so how can .NET exe be interpreted? I also heard that MSIL compiles the code into assembly first time the code runs. After that, .NET exe should be as fast as VB6 exe - is it true?
lol vb.net code ISNT interpreted...its just compiled to MSIL language and when u click it will translate it into machine code thats why it takes long for the 1st time but after that it will be added to a special cache and after that everytime u click it it will be a lot faster
Don't forget to change your solution configuration to "release" so that you get rid of symbolic debug information which results in full optimized EXE .