June 15th, 2002, 10:49 pm
Hi All,Just got back from a .NET conference and had a really good look at the .NET framework and the associated languages (especially VB.NET and C#).The concensus seems to be this: .NET somewhat makes the 'VC++ vs. VB debate' no longer relevant. The reason being that their new implementations (C# and VB.NET) results in code which gets compiled to a common 'Intermediate Language' (IL). So, whichever language you code in, the resulting IL code will be almost identical and therefore performance will also be very, very close.This means that, in general, there are fewer reasons than ever to switch from VB/VB.NET to C++/C# and vice-versa. If you are comfortable with either VBxxx or VCxxx, then you might as well continue with it.However, the great thing about .NET is that at the core exists a collection of classes ('assemblies') which are common - wether you code in C# or VB.NET. Therefore once you've mastered these classes, it becomes very easy to migrate a project from one language to the other. This collection of classes is analogous to the Java JDK classes - once you know their relationships, accessing them with C# or VB.NET makes little difference.The C# syntax is closest to Java, while the VB.NET syntax is closest to VB6 or VBA.The next version of Office will integrate with the .NET Framework, however I don't think Microsoft has divulged exactly how it is going to achieve that, and what will become of VBA.As far as integrating .NET to COM - based applications or migrating code from COM to .NET: Large COM applications should probably be left as is for now. The migration to .NET is not straight-forward even though Microsoft has a tool which automates part of the process. To find out more about integrating the two, do a search on the '.NET Interop Services'.B.