My application runs fine from the design window in VB 6.0, when I click the command button. But when I do the same in my exe file, it crashes.

I have added a couple of components to the project. Could this be the reason?