Tom,
If you want to use the IsNumeric function that comes with VB, then you
can set a reference to Microsoft.VisualBasic.dll in your project. IsNumeric
is defined as a static method on the Information class in the
Microsoft.VisualBasic namespace.
However, if you want a more ".NET" way (which isn't linked explicitly
for VB, some people have issue with this), you can use the static TryParse
method on the Double value type. This will attempt to parse a string, but
you will have to be a little more specific about what is acceptable and what
is not (through the use of number styles).
Hope this helps.