Re: my process will not terminate at logoff!!!! help!!!!
From: Max Kudrenko (vb_mvp_at_hotmail.com)
Date: 02/03/04
- Next message: Rick: "Real one player"
- Previous message: NEUBERG PIERRE: "Clipboard to Recordset"
- In reply to: Mike Schilling: "my process will not terminate at logoff!!!! help!!!!"
- Messages sorted by: [ date ] [ thread ]
Date: 3 Feb 2004 04:57:15 -0800
Mike,
How do you know that your app doesn't terminate on logoff? Normally,
only system services stay running when no user is logged in. Your code
is pretty standard and shouldn't prevent the app from quitting on
logoff.
Regards,
Max Kudrenko
Brainbench MVP Program for Visual Basic
www.brainbench.com
"Mike Schilling" <mschilling@catpc.com> wrote in message news:<OsjKuDh6DHA.2496@TK2MSFTNGP09.phx.gbl>...
> My process will not terminate at logoff. The only reason I can think of is
> because I am using a systray icon. The code below produced my systray icon,
> how can I force my app to close when the user attempts to logoff?
> With nid
> .cbSize = Len(nid)
> .hwnd = Me.hwnd
> .uId = vbNull
> .uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE
> .uCallBackMessage = WM_MOUSEMOVE
> .hIcon = Me.Icon
> .szTip = Me.Caption & vbNullChar
> End With
> Shell_NotifyIcon NIM_ADD, nid
- Next message: Rick: "Real one player"
- Previous message: NEUBERG PIERRE: "Clipboard to Recordset"
- In reply to: Mike Schilling: "my process will not terminate at logoff!!!! help!!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|