Click here to Skip to main content
16,005,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSave Selected Outlook Emails Pin
smarttom997-May-06 11:12
smarttom997-May-06 11:12 
QuestionSearching for files using vb.net 2005 Pin
mitsroff7-May-06 9:49
mitsroff7-May-06 9:49 
AnswerRe: Searching for files using vb.net 2005 Pin
CWIZO7-May-06 21:50
CWIZO7-May-06 21:50 
AnswerRe: Searching for files using vb.net 2005 Pin
Yuvi Panda7-May-06 22:01
Yuvi Panda7-May-06 22:01 
QuestionDisplay Windows logoff dialog box Pin
setedivento7-May-06 6:41
setedivento7-May-06 6:41 
AnswerDisplay Windows logoff dialog box Pin
setedivento7-May-06 9:13
setedivento7-May-06 9:13 
GeneralRe: Display Windows logoff dialog box Pin
setedivento7-May-06 22:03
setedivento7-May-06 22:03 
GeneralRe: Display Windows logoff dialog box Pin
User 17164928-May-06 15:16
professionalUser 17164928-May-06 15:16 
Is this what you want? taken from Microsoft's Win32 Programmers Reference
--------
The ExitWindows function logs off the current user. All applications must agree to terminate before the user logs off. If any application returns FALSE when it processes the WM_QUERYENDSESSION message, the user is not logged off. If your application handles the WM_QUERYENDSESSION message, you can allow the user to cancel the log-off operation, even if another application or Windows originated the end-session request.

The following example logs off the current user, unless the user clicks the No button in the message box displayed when the application receives the WM_QUERYENDSESSION message.

// Log off the current user.

ExitWindows(0, 0);

----------------


and taken from the APIViewer2004 application (www.apiviewer.de)

Declare Function ExitWindows Lib "user32.dll" ( _
ByVal dwReserved As Int32, _
ByVal uReturnCode As Int32) As Int32

modified 1-Aug-19 21:02pm.

GeneralRe: Display Windows logoff dialog box Pin
setedivento8-May-06 22:52
setedivento8-May-06 22:52 
GeneralRe: Display Windows logoff dialog box Pin
setedivento9-May-06 4:07
setedivento9-May-06 4:07 
GeneralRe: Display Windows logoff dialog box Pin
User 17164929-May-06 7:43
professionalUser 17164929-May-06 7:43 
GeneralRe: Display Windows logoff dialog box Pin
setedivento9-May-06 13:15
setedivento9-May-06 13:15 
Questionformat(string, "dd/MM/yyyy") as date Pin
pptadam7-May-06 4:32
pptadam7-May-06 4:32 
AnswerRe: format(string, "dd/MM/yyyy") as date Pin
Paul Conrad7-May-06 5:02
professionalPaul Conrad7-May-06 5:02 
AnswerRe: format(string, "dd/MM/yyyy") as date Pin
Guffa7-May-06 5:41
Guffa7-May-06 5:41 
Questionmsfgrid in VB.net Pin
viji]7-May-06 1:49
viji]7-May-06 1:49 
AnswerRe: msfgrid in VB.net Pin
Mekong River7-May-06 5:37
Mekong River7-May-06 5:37 
Questiondatagridview columns text alignment Pin
G723607-May-06 1:30
G723607-May-06 1:30 
AnswerRe: datagridview columns text alignment Pin
Mekong River7-May-06 5:42
Mekong River7-May-06 5:42 
QuestionExtract Data from A WebSite through a WebBrowser Control? Pin
TehCheeze7-May-06 0:45
TehCheeze7-May-06 0:45 
AnswerRe: Extract Data from A WebSite through a WebBrowser Control? Pin
Kessica8-May-06 1:34
Kessica8-May-06 1:34 
QuestionSql File in DLL problem Pin
anom2m6-May-06 23:37
anom2m6-May-06 23:37 
AnswerRe: Sql File in DLL problem Pin
Rizwan Bashir7-May-06 21:34
Rizwan Bashir7-May-06 21:34 
GeneralRe: Sql File in DLL problem Pin
anom2m17-May-06 0:45
anom2m17-May-06 0:45 
GeneralRe: Sql File in DLL problem Pin
Rizwan Bashir17-May-06 5:32
Rizwan Bashir17-May-06 5:32 

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.