Rules

Secret ingredients to quality software

Edit
Info

Do you avoid Microsoft.VisualBasic.Compatibility.dll for Visual Basic.NET projects?

Created on 04 Dec 2009 | Last updated by System Account on 20 Oct 2010 08:56 AM (over 10 years ago)

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.?

Avoid:

  • InputBox
  • ControlArray
  • ADO support in Microsoft.VisualBasic.Compatibility.Data
  • Environment functions
  • Font conversions
Adam CoganAdam Cogan
Ryan TeeRyan Tee

We open source. This page is on GitHub