Click here to Skip to main content
15,890,512 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralFill Labels with SQL Search Results .Net Pin
jlawren722-Nov-04 15:57
jlawren722-Nov-04 15:57 
GeneralHighlighting a Row in a Datagrid Pin
tech@untouchable22-Nov-04 14:22
tech@untouchable22-Nov-04 14:22 
GeneralImplementing Permissions Over Remoting Pin
Paebbels22-Nov-04 11:18
Paebbels22-Nov-04 11:18 
GeneralDeployment Project questions Pin
KreativeKai22-Nov-04 8:58
professionalKreativeKai22-Nov-04 8:58 
GeneralCalling a "Final" routine when application is ended by machine closing. Pin
HollenG22-Nov-04 7:32
HollenG22-Nov-04 7:32 
GeneralRe: Calling a "Final" routine when application is ended by machine closing. Pin
Dennis C. Dietrich22-Nov-04 8:52
Dennis C. Dietrich22-Nov-04 8:52 
GeneralRe: Calling a "Final" routine when application is ended by machine closing. Pin
HollenG22-Nov-04 9:22
HollenG22-Nov-04 9:22 
GeneralRe: Calling a "Final" routine when application is ended by machine closing. Pin
HollenG23-Nov-04 6:59
HollenG23-Nov-04 6:59 
Dennis,
Unfortunately "ApplicationExit" doesn't do the trick. Setting an EventHandler to it and having that event call my "log-out" code works if the application is killed through the "End Task" method of the "Task Manager" but it's not called through "End Process" of the "Task Manager" or when the machine shuts down from the "Start" menu. The same affect is also accomplished by putting the call to the "log-out" routine in the "Disposed" event of my "Default" form. I've looked into the "Environment" object but it doesn't have an "EnvironmentExit" event. Just and "Exit" method which obviously closes everything immediately.
Any other ideas?
Thanks for your suggestion. It looked like the way to go.


Scott
GeneralRe: Calling a "Final" routine when application is ended by machine closing. Pin
Dennis C. Dietrich23-Nov-04 15:09
Dennis C. Dietrich23-Nov-04 15:09 
GeneralSOAPY Naked Ladies Pin
Purple Monk22-Nov-04 4:10
Purple Monk22-Nov-04 4:10 
GeneralRe: SOAPY Naked Ladies Pin
LaFéeClochette23-Nov-04 9:13
LaFéeClochette23-Nov-04 9:13 
GeneralRegistry Keys Pin
cwayman22-Nov-04 3:31
cwayman22-Nov-04 3:31 
GeneralRe: Registry Keys Pin
Dave Kreskowiak22-Nov-04 3:37
mveDave Kreskowiak22-Nov-04 3:37 
GeneralRe: Registry Keys Pin
cwayman22-Nov-04 4:42
cwayman22-Nov-04 4:42 
GeneralRe: Registry Keys Pin
Dave Kreskowiak22-Nov-04 6:51
mveDave Kreskowiak22-Nov-04 6:51 
GeneralRe: Registry Keys Pin
Charlie Williams22-Nov-04 8:32
Charlie Williams22-Nov-04 8:32 
GeneralRe: Registry Keys Pin
cwayman23-Nov-04 3:39
cwayman23-Nov-04 3:39 
GeneralNewbies Question :How to use DirectX in VB Pin
VbAby22-Nov-04 2:04
VbAby22-Nov-04 2:04 
GeneralRe: Newbies Question :How to use DirectX in VB Pin
Dave Kreskowiak22-Nov-04 3:08
mveDave Kreskowiak22-Nov-04 3:08 
GeneralRe: Newbies Question :How to use DirectX in VB Pin
Danilo Castro de Souza18-May-11 6:10
Danilo Castro de Souza18-May-11 6:10 
GeneralRe: Newbies Question :How to use DirectX in VB Pin
Dave Kreskowiak18-May-11 6:50
mveDave Kreskowiak18-May-11 6:50 
GeneralRe: Newbies Question :How to use DirectX in VB Pin
Dave Kreskowiak21-May-11 3:03
mveDave Kreskowiak21-May-11 3:03 
AnswerRe: Newbies Question :How to use DirectX in VB Pin
Danilo Castro de Souza21-May-11 8:03
Danilo Castro de Souza21-May-11 8:03 
GeneralRe: Newbies Question :How to use DirectX in VB Pin
Dave Kreskowiak21-May-11 13:21
mveDave Kreskowiak21-May-11 13:21 
GeneralCustom Trace Listener & .exe.config Pin
Geopsaros22-Nov-04 0:31
Geopsaros22-Nov-04 0:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.