Been a loooong time since I worked with VB but the visible window in your application (the 'form') probably has the property 'frmMyForm' in its attributes. 'frm' was a typical naming convention for form names back in the day. As an aside, I always set 'option explicit'. It's probably available as a setting you can enable now, to prevent magic variables.