VB6 - VB.Net equivalents

H

Harry Strybos

Hi All

This question has probably been asked before. Is there somewhere that I
could get all the VB6 - VB.Net keyword preferred equivalents e.g.

VB6 VB.Net
Mid .Substring
Len .Length
etc

I am trying to use the VB.Net equivalent method as much as possible as
opposed to using the VB compatability class. Thanx for any info.
 
C

Cor Ligthert

Harry,

See this text and more on the page where is the link bellow.
Many of the methods in the Visual Basic Runtime actually use methods and
properties from the System namespace (for example, Len() returns
String.Length). In some cases you can achieve equivalent results by
accessing .NET Framework class library classes directly, but typically you
will be more productive using the Visual Basic Runtime when authoring your
code. In many cases the Visual Basic Runtime wrappers provide additional
functionality that you would have to code yourself if using the System
namespace directly. In other cases, such as IsDate, there is no directly
equivalent functionality in the System namespace.

http://msdn.microsoft.com/library/d...tml/vbtchmicrosoftvisualbasicnetinternals.asp

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top