Is that code from a VB6 project upgraded to VB.NET? What's the error message?