For future reference, following are a list of decent C# to VB.NET (and some VB.NET to C#, if not all):
http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx http://www.carlosag.net/Tools/CodeTranslator/Default.aspx http://www.kamalpatel.net/ConvertCSharp2VB.aspx http://authors.aspalliance.com/aldotnet/examples/translate.aspx Only the first one (http://www.developerfusion.co.uk/utilities/convertcsharptovb.aspx) translates your code sample properly... =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com