This is VB6, not VB.Net 2010 code.