Not 'breaking' or executing statments.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pete Vickers [MVP]

    #1

    Not 'breaking' or executing statments.

    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



  • TDC

    #2
    Re: Not 'breaking' or executing statments.

    Make sure your "Handles" statement is still intact where your Load
    event handler is declared.


    Pete Vickers [MVP] wrote:[color=blue]
    > 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[/color]

    Comment

    • Pete Vickers [MVP]

      #3
      Re: Not 'breaking' or executing statments.

      Hi,
      thanks - that did it.

      Wood - Trees :)

      Pete




      "TDC" <NOtcarvinSPAM@ lycos.com> wrote in message
      news:1151348532 .927584.42500@u 72g2000cwu.goog legroups.com...[color=blue]
      > Make sure your "Handles" statement is still intact where your Load
      > event handler is declared.
      >
      >
      > Pete Vickers [MVP] wrote:[color=green]
      >> 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[/color]
      >[/color]


      Comment

      Working...