Visual Basic 6 To .net Function Equivalents Article Index for
Visual Basic
Website Links For
Visual Basic
 

Information About

Visual Basic 6 To .net Function Equivalents





INTRODUCTION

The information provided here is intended to help Visual Basic 6 Developers who are making the switch to Visual Basic .NET and who wish to learn how to accomplish tasks without the use of the Microsoft.VisualBasic Namespace (which contains all of the legacy Visual Basic 6 Functions ).

Do not be mistaken; by using functions in the Microsoft.VisualBasic namespace, you are not using "old code," because all of those functions map to their new equivalents within the .NET Framework . The main benefit of avoiding these functions is so you can familiarize yourself with the namespaces contained in the .NET Framework.

If you would like to remove the Microsoft.VisualBasic namespace, you can do one of two things:
  • Manually remove the import every time you start a new project.

  • Create a project template that does not include the Microsoft.VisualBasic namespace.


To create a template, take look at these links:


NOTES

  • Some functions listed here may not be exact equivalents, but are the closest that are available.

  • You are encouraged to use the Object Browser (F2) to explore the .NET namespaces yourself.

  • Click on any of the .NET equivalent functions to visit Microsoft Developer Network (MSDN) and find out more information about that function.



MISCELLANEOUS



STRINGS



FILES & DIRECTORIES



ARRAYS



DATE & TIME



MATH



SEE ALSO



REFERENCES



EXTERNAL LINKS