Determine if a String Evaluates to an Integer
Author:Ray D Descalzo
Version Compatibility: Visual Basic 6, Visual Basic 5
This code takes a string as a parameter and returns true if the string evaluates to an integer, false otherwise. It works for values such as "+10", "-10", and for octal and hex values as well. However, in line with the strict definition of the term integer (see http://webopedia.internet.com/TERM/i/integer.html), it will return false for values such as 9.0.
Instructions: Copy the declarations and code below and paste directly into your VB project.