I agree that Integer.Parse is the wrong thing to use - but CType(xx,
Integer) is functionally identical to CInt - and if you happen to not have
Microsoft.VisualBasic referenced... it's fine

_______________________________
The Grim Reaper
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> * "Brian Henry" <(E-Mail Removed)> scripsit:
> > been trying to knock out all the old vb stuff out of my head so sounds
like
> > the parse one is good to go with 
>
> 'CInt' is not "old vb". It's current VB syntax that /should/ be used
> /instead/ of the framework functions whenever possible. That's why we
> have these commands.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>