Thank you for your help, but now I'm getting this message:
"System.InvalidCastException: Cast from type 'UInt16' to type 'Integer' is
I tried using cint(entry("LoadPercentage")). None of the other conversion
methods you listed seem to work. I'm using VB, not C. I don't know if that
makes a difference.
I apologize. I've gotten lazy by using Perl too much. I haven't had to
declare types in a few years and I'm a bit rusty. I'm totally new to the
way .NET does it.
I appreciate your help.