Welcome to AddressOf.com Sign in | Join | Help

Microsoft.VisualBasic namespace

After reading through a pretty informative entry by Erik Porter about the performance (or lack thereof) of the ReDim Preserve method of Dynamic Arrays (recommended reading), I was reading through the comments and I found the following:

Now, if only we could convince Microsoft to drop the Microsoft.VisualBasic namespace and force every language to use the core .NET framework.

I know that I should probably let this type of thing just bounce off me and have thicker skin, but I feel this one deserves some comments in return.

I for one an in full favor of having the Microsoft.VisualBasic namespace available.  As a VB.NET developer coming from a heavy BASIC background, there are some things that I've just come to expect to have in the VB language.  The other language groups may not agree that these features should necessarily be part of the overall Framework, so where else to put these?  Also, with my limited knowledge of Widbey (I still haven't gotten a copy :-(, so I have to rely on rumors), a *TON* of new functionality is going into the VisualBasic namespace.  All of these are to reduce the amount of coding required to handle extremely common tasks; such as sending something the printer.

Rather than be arrogant about the VisualBasic namespace just because it has the words VisualBasic associated with it, why not look at what's available to you in there that might save you some coding time.  Getting product faster to market with code that has been proven to be solid is better than constantly re-inventing the wheel.  There are truly some goodies hiding in this namespace... and yes, they can even be used from C#, Managed C++, or any other .NET language.  In addition, I'd like to point out there are some goodies hiding with the J# department as well (zip anyone?).

Another point that I think needs to be made clear... it's not like the VisualBasic namespace is written in something other than .NET... it is 100% .NET code (as far as I know) and as such, wouldn't be any different than writing your own function to do the same job.  Well, actually, it would, you would have to redistribute the code that you built... the VisualBasic namespace is distributed with every copy of .NET... is now and will aways be.

To the VB.NET team, don't let these types of comments get you down.  There are those like myself out here that really appreciate the efforts that you put forth.

And one last time, I will repeat that the Microsoft.VisualBasic namespace is *NOT* the same thing as the Microsoft.VisualBasic.Compatability namespace.  The prior is good, the latter is somewhat bad and should only be used assist in the upgrading of VB6 code.  As soon as you can, remove the necessity of having this namespace as it is *NOT* redistributed automatically by the .NET framework.

Published Friday, October 31, 2003 7:23 PM by CorySmith
Filed under:


# re: Microsoft.VisualBasic namespace

Monday, November 3, 2003 2:07 PM by HumanCompiler
true date! *thumbsup*

maybe every VB developer should try out C# for a week and every C# developer should try out VB for a week. I use both about equally now and I've come to love the good things and hate the bad things about both languages. Neither are anywhere near perfect! ;)

# re: Microsoft.VisualBasic namespace

Sunday, December 21, 2003 11:06 PM by Saif Khan
Totally agreed with the HumanCompiler.

# re: Microsoft.VisualBasic namespace

Wednesday, September 29, 2004 12:21 PM by IReflect
Microsoft.VisualBasic Namespace

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

# re: Microsoft.VisualBasic namespace

Tuesday, August 30, 2005 11:42 AM by rahul
A bit late, but I have started agree with this article.

# re: Microsoft.VisualBasic namespace

Monday, November 21, 2005 6:02 PM by Gary Woodfine
As a Long time programmer, I think the VisualBasic Library should stay. I just think it is a bit trendish and Geekish to bin something that worked perfectly well, but like everything it has it's place and should be used accordingly, A true developer would know a handful of languages and know what is best in what situation. I prefer to have all the short cuts of language available to me.

# re: Microsoft.VisualBasic namespace

Tuesday, April 11, 2006 4:26 AM by Shreyash Singh
Microsoft.VisualBasic namespace is a must. Every developer should see it. if a C#.Net developer will see it, he will surely adopt it. Fastest and convinent understandable programming is only available in VB.Net..
Just tell this to the Management groups also :-)

# Debugging - part deux

Monday, August 28, 2006 11:24 AM by Dennis van der Stelt
In the not so distant past I was bold enough to call Jan and Patrick whiners. But currently I have to
Anonymous comments are disabled