S
Steve
Having only recently migrated across from VB6 to VB.NET I'm still
unsure whether or not I should be making (heavy) use of the
Microsoft.VisualBasic namespace in new applications. I've read a lot
of posts in the (VB).Net newsgroups and seen just about all of the For
and Against arguments i.e. not using it = not coding in VB.NET, not
using it = good OO. I'm also aware of the difference between this
namespace and the compatibility namespace.
Has there been any official comment or guidelines posted by MS on
whether or not it is good or bad practise to use this namespace?
I did find one comment in a chat transcript from Stephen Weatherford
of the Visual Basic development team:
----------
http://msdn.microsoft.com/chats/vstudio/vstudio_060303.asp
Q: Re: the question, "There are two VB namespaces, right?
Compatibility and regular VB?"
A: Let me add to this... There *are* two
namespaces--Microsoft.VisualBasic and
Microsoft.VisualBasic.Compatibility.
Microsoft.VisualBasic.Compatibility is only used when you upgrade a
VB6 application, and is for backwards compatibility purposes (it is a
separate DLL from Microsoft.VisualBasic.dll). The
Microsoft.VisualBasic namespace, however, provides the runtime
functions for Visual Basic. As Cameron pointed out, you always get
this reference for free (it is different from the VB compatibility
runtime). It is *not* for backwards compatibility, but rather for
current Visual Basic .NET programs.
----------
This leads me to believe that there is no issue with me contuining to
use the VB functions I am familiar with.
Does anyone else have links to any other comments or postings by MS?
Or hopefully there is someone from MS monitoring this newsgroup that
can put my mind at rest once and for all.
unsure whether or not I should be making (heavy) use of the
Microsoft.VisualBasic namespace in new applications. I've read a lot
of posts in the (VB).Net newsgroups and seen just about all of the For
and Against arguments i.e. not using it = not coding in VB.NET, not
using it = good OO. I'm also aware of the difference between this
namespace and the compatibility namespace.
Has there been any official comment or guidelines posted by MS on
whether or not it is good or bad practise to use this namespace?
I did find one comment in a chat transcript from Stephen Weatherford
of the Visual Basic development team:
----------
http://msdn.microsoft.com/chats/vstudio/vstudio_060303.asp
Q: Re: the question, "There are two VB namespaces, right?
Compatibility and regular VB?"
A: Let me add to this... There *are* two
namespaces--Microsoft.VisualBasic and
Microsoft.VisualBasic.Compatibility.
Microsoft.VisualBasic.Compatibility is only used when you upgrade a
VB6 application, and is for backwards compatibility purposes (it is a
separate DLL from Microsoft.VisualBasic.dll). The
Microsoft.VisualBasic namespace, however, provides the runtime
functions for Visual Basic. As Cameron pointed out, you always get
this reference for free (it is different from the VB compatibility
runtime). It is *not* for backwards compatibility, but rather for
current Visual Basic .NET programs.
----------
This leads me to believe that there is no issue with me contuining to
use the VB functions I am familiar with.
Does anyone else have links to any other comments or postings by MS?
Or hopefully there is someone from MS monitoring this newsgroup that
can put my mind at rest once and for all.