Doesn't look quite like classic VB6 to me. is this .net you're working with by any chance?