I have made a custom button control in VB6(SP3) which contains a Click event. If i place this control in a form and in its Click event i put the following code, the program causes a GPF. Anyone know why is that? Note that this didn't happen in VB5!


private Sub CustomCommand1_Click()
Unload me
End Sub