Hi All, I am currently studying for an MCAD and would be grateful if anyone could do a knowledge check on my understanding below: Any help would be appreciated. Please feel free to correct me as and when. Differences Between VB6 and VB.NET VB6. After compilation
of the code this can be deemed as unmanaged code as everything to do with the application (methods, objects, references to .dll’s etc ) is stored in the .EXE and it is all run from there. VB.NET When the code is completed its complied into MSIL Microsoft Intermediate
Language (also known as CIL Compiled Intermediate Language) and Metadata. This is then loaded on to the clients local machine in an Assembly. This is strored as and .EXE but is actually called an assembly. When the client runs the code a JIT (Just in Time
Compiler) turns the MSIL and meta data in to native processor code and the Common Language runtime kicks in and MANAGES the code. The assembly is then cached for future executions. The common runtime language uses services such as Type Checker, Garbage Collection
(checks for buffer overruns and frees up redundant memory), Debug Engine (debugs code), Security Engine (checks against Admin privileges), Com Marshaller ……there are more that I cant remember in all 11 I think. The CLR and the .NET method of managing code
allows object sharing between different languages. So now the only differences between my choice of language is the syntax I prefer. A program written in a .Net can be run on any operating system that has the .Net framework installed. VB.net has now made VB
a truly OO programming language. Many thanks Tony
TonyW
Participant
1725 Points
345 Posts
MCAD Knowledge Check
Feb 17, 2004 02:56 PM|LINK
many thanks
Tony
appana
Participant
1725 Points
343 Posts
Microsoft
Re: MCAD Knowledge Check
Mar 04, 2004 05:47 AM|LINK
This posting is provided "AS IS" with no warranties, and confers no rights.