Do you avoid Microsoft.VisualBasic.Compatibility.dll for Visual Basic.NET projects?
  v3.0 Posted at 20/10/2010 7:56 PM by System Account
This is where you should focus your efforts on eliminating whatever VB6 baggage your programs or developer habits may carry forward into VB.NET. There are better framework options for performing the same functions provided by the compatibility library You should heed this warning from the VS.NET help file: Caution: It is not recommended that you use the VisualBasic.Compatibility namespace for new development in Visual Basic .NET. This namespace may not be supported in future versions of Visual Basic. Use equivalent functions or objects from other .NET namespaces instead.? ad.?


  • InputBox
  • ControlArray
  • ADO support in Microsoft.VisualBasic.Compatibility.Data
  • Environment functions
  • Font conversions

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: