Home All Groups Group Topic Archive Search About

Not 'breaking' or executing statments.

Author
26 Jun 2006 5:27 PM
Pete Vickers [MVP]
Hi,
I have a project, that doesn't appear to process frmMain at all - I break at
form_load, and nothing happens. The form shows, but has done no processing
in the form load.

I have tried having frmMain as my startup object, and also
    Dim frmy As New frmMain
        frmy.ShowDialog()

But my frmMain appears, without going thru the form_load.

This is driving me mad. If I change to startup with a different form, all is
OK.

Anyone any ideas please

Thanks

Pete

Author
26 Jun 2006 7:02 PM
TDC
Make sure your "Handles" statement is still intact where your Load
event handler is declared.


Pete Vickers [MVP] wrote:
Show quoteHide quote
> Hi,
> I have a project, that doesn't appear to process frmMain at all - I break at
> form_load, and nothing happens. The form shows, but has done no processing
> in the form load.
>
> I have tried having frmMain as my startup object, and also
>     Dim frmy As New frmMain
>         frmy.ShowDialog()
>
> But my frmMain appears, without going thru the form_load.
>
> This is driving me mad. If I change to startup with a different form, all is
> OK.
>
> Anyone any ideas please
>
> Thanks
>
> Pete
Author
26 Jun 2006 8:14 PM
Pete Vickers [MVP]
Hi,
thanks - that did it.

Wood - Trees :)

Pete




Show quoteHide quote
"TDC" <NOtcarvinSPAM@lycos.com> wrote in message
news:1151348532.927584.42500@u72g2000cwu.googlegroups.com...
> Make sure your "Handles" statement is still intact where your Load
> event handler is declared.
>
>
> Pete Vickers [MVP] wrote:
>> Hi,
>> I have a project, that doesn't appear to process frmMain at all - I break
>> at
>> form_load, and nothing happens. The form shows, but has done no
>> processing
>> in the form load.
>>
>> I have tried having frmMain as my startup object, and also
>>     Dim frmy As New frmMain
>>         frmy.ShowDialog()
>>
>> But my frmMain appears, without going thru the form_load.
>>
>> This is driving me mad. If I change to startup with a different form, all
>> is
>> OK.
>>
>> Anyone any ideas please
>>
>> Thanks
>>
>> Pete
>