In VS 2005, the form is no longer COM-Visible by default. This prevents it from being set as the object for scripting. To allow scripting to target the form, do the following:
- In VS select "Project" from the main menu
- Select "<YourAppName> Properties..."
- Select the "Application" tab
- Click the "Assembly Information..." button
- Check the "Make assembly COM-Visible" checkbox