System.NullReferenceExeption when using <ALT> + <D>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maurice Mertens

    #1

    System.NullReferenceExeption when using <ALT> + <D>

    Hi,

    I'm having some troubles with a .NET application.


    I have a MDI-parent form and MDI-child forms. When I press a shortcut key
    in a MDI-child form (i.e. <ALT> + <D>) I get the following error:

    An unhandled exception of type 'System.NullRef erenceException ' occurred in
    system.windows. forms.dll

    can anyone help me with this? I can't catch this exeption.



    --
    Met vriendelijke groet / With regards / Saludos,
    Moviat Automatisering


    Maurice Mertens
    mauricem@moviat _KillSpamWordFo rEMail.nl

    tel: +31 162 470 534
    fax: +31 162 470 502
  • Shiva

    #2
    Re: System.NullRefe renceExeption when using &lt;ALT&gt; + &lt;D&gt;

    See if you have set Alt+D as an access key for any of the menus, buttons,
    etc and check the action performed.

    "Maurice Mertens" <mauricem@movia t_KillSpamWordF orEMail.nl> wrote in message
    news:Xns95649B4 C35C6Amauricemm oviat@207.46.24 8.16...
    Hi,

    I'm having some troubles with a .NET application.


    I have a MDI-parent form and MDI-child forms. When I press a shortcut key
    in a MDI-child form (i.e. <ALT> + <D>) I get the following error:

    An unhandled exception of type 'System.NullRef erenceException ' occurred in
    system.windows. forms.dll

    can anyone help me with this? I can't catch this exeption.



    --
    Met vriendelijke groet / With regards / Saludos,
    Moviat Automatisering


    Maurice Mertens
    mauricem@moviat _KillSpamWordFo rEMail.nl

    tel: +31 162 470 534
    fax: +31 162 470 502


    Comment

    • Maurice Mertens

      #3
      Re: System.NullRefe renceExeption when using &lt;ALT&gt; + &lt;D&gt;

      Shiva,

      <ALT> + <D> isn't an access key for a menu.



      "Shiva" <shiva_sm@onlin e.excite.com> wrote in
      news:#5QkxHmmEH A.2096@TK2MSFTN GP15.phx.gbl:
      [color=blue]
      > See if you have set Alt+D as an access key for any of the menus,
      > buttons, etc and check the action performed.
      >
      > "Maurice Mertens" <mauricem@movia t_KillSpamWordF orEMail.nl> wrote in
      > message news:Xns95649B4 C35C6Amauricemm oviat@207.46.24 8.16...
      > Hi,
      >
      > I'm having some troubles with a .NET application.
      >
      >
      > I have a MDI-parent form and MDI-child forms. When I press a shortcut
      > key in a MDI-child form (i.e. <ALT> + <D>) I get the following error:
      >
      > An unhandled exception of type 'System.NullRef erenceException '
      > occurred in system.windows. forms.dll
      >
      > can anyone help me with this? I can't catch this exeption.
      >
      >
      >[/color]



      --
      Met vriendelijke groet / With regards / Saludos,
      Moviat Automatisering


      Maurice Mertens
      mauricem@moviat _KillSpamWordFo rEMail.nl

      tel: +31 162 470 534
      fax: +31 162 470 502

      Comment

      Working...