Printable Version of Topic

Click here to view this topic in its original format

Dream.In.Code _ VB.NET Tutorials _ Do I have VB6 Legacy Code In My vb.net Project

Posted by: AdamSpeight2008 15 May, 2009 - 03:31 PM

Do I Have VB6 Legacy Code In My Project

For example image this was a section of your code
Attached Image
No errors (red squiggly lines)

To tell navigate to References
Attached Image
And remove the tick beside the Namespace Microsoft.VisualBasic
Attached Image

Now when you go back to Code Editor
You have all the following error and red squiggly lines
Attached ImageAttached Image

How to fix those error is the part of the steps of learning vb.net.
Just remember that every type as additional methods associated with it.
For example
A String -> String.Substring
Integer -> Integer.TryParse

Learning not be dependant on that namespace is part of the journey of become a vb.net code

So soon you be a Non-Legacy Coding Ninja ph34r.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)