Search results

  1. M

    Computer requires 2 shutdown requests

    Below is the code I am using in the overridden form's wndProc to capture a QueryEndSession message. Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) Select Case m.Msg Case 17 KillWatchDog() Application.Exit() End Select MyBase.WndProc(m) End Sub I am capturing...
  2. M

    Error when WNDPROC used in Form

    I am writing an application that uses a comControl to talk to the super IO controller on a motherboard. Everything works fine until I include the wndproc method in the form code to process some of the wnd messages. When the wnproc is present I get the following error when the control is...
Top Bottom