I have created a user control and I am having difficulties when debugging.

Firstly it always launches in the web broswer and not in the test project.

Then if I try to shut the usercontrol down using VB the pc crashes as it does not run the UserControl_Terminate function.

I would like to debug the control in the VB environment using a test project ( with one form containing the control). Is there any simple documentation on this.

Any hints and tips would be appreciated.