Accessing VB 6.0 functions in VB.NET
Posted on 2011-03-08
Hello Experts -
While trying to figure out how to test a string to determine if it held numeric data, I came across a web site that claimed that the functions found in the old standby VB were accessable in VB.NET.
Specifically, the site said:
"Looking for IsNumeric in VB.NETt
"I was wondering why a VB.NET class file was throwing up errors when I called the IsNumeric function the other day. After some googling i found out from Roy Osherove’s blog that you now need to import the Microsoft.VisualBasic Namespace to use this and a bunch of other once standard functions."
Is this true? If so, how exactly woud I go about importing the VB Namespace?
Maybe this is already common knowledge. Don't be too tough on me here. I'm only a beginner.