-
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.
-
i think you have created a 'active X' control!?
Right click on your project window, then choose add|user control.
Select a user control and create it.
And yes, sometimes vb crashes. So be sure to save before you run your project!
hth
-
Hi may be this help u
Hi,
I hope u r creating an Activex Control and u want to debug it. The way is like this.
1. Add a standard exe project to ur existing project.
2. Making this project as the startup project.
3. Add a new form to this project
3. To debug the activex control close the design window of the activex control and take the Standard Exe project and add this control to ur form
4. Write to code to test ur activex
Faisal
-
Thanks I am sure this imformation is a great help.
I am tied of the crashing so I have created a normal standard.exe and will later convert it to a usercontrol. Whe it is "bug" free.