o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

cancel logoff -

My question is if my application is running and the user tries to
logoff or shutdown he should not be able to do it.

 

[2005] Detecting Shutdown/Logoff and delay until program close -
Okay, I need to be able to detect when a user does a shutdown/logoff and I need to delay the shutdown/logoff until they have chosen an option on a form or two. When they click Ok on the last form or close the program any other way it should close the program and resume the shutdown/log


cancel logoff -
My question is if my application is running and the user tries to logoff or shutdown he should not be able to do it.


Preventing Force Logoff -
Hey, I know that, using Form_QueryUnload(Cancel as Integer), you can catch and prevent logoff or shutdown. Does anyone know of a way to catch and prevent force logoff, i.e WM_TERMINATE, or is it, as i have heard, impossible. Thanks


RESOLVED...X type Logoff Screen... -
Hi, In my application, i would like to give a WIN XP Pro type of Logoff fininsh... when we click on start--> Logoff / ShutDown... A popup box comes up with the buttons for Logoff / Shutdown etc.. At the same time, the background colour turns to black / white progressively.


Display message box on logoff -
I have gotten into the habit of accidently leaving my flash drive in the USB ports of computers at work. I want to design a program which I will autorun off my flash drive invisibly which, when Windows logs off delay the logoff for a few seconds and ask me to remove my flash drive. Is


Delay Log-off until user confirms. -
I have a program while launches when someone goes to logoff. It only displays a short reminder but sometimes windows brings up the 'end task' diologue before a user can read it. Is there any way i can 'delay' the logoff until they hit "ok"? I was wondering if i abort the logo


vb6 prog run as admin -
Hello, i created a logoff shell in vb6 for windows vista and i called it logoff.exe the problem is that i need to code it so that "logoff.exe" can run as administrator automatically when clicking it for windows vista. Anyone knows the code for it?


Windows Logoff -
I want to detect when the user of a network decides to logoff so I can delete a folder. How would I do that? Thanks in advance.


How can i logoff -
can anyone tell me how to logoff a person in a lan force full using API


How to automaticaly logoff when save and closing the Excel file -
Hi Guys, I have a tracker that the users can login and logoff. my problem is when I save and close the file while the user is still logged in he will not be logoff automatically and when i open the file the user is still logged in. Can anyone help me on this.


Windows user logoff -
I have an intranet page which uses windows authentication. I have a logoff button on the page. When the user clicks the logoff button, I want the user credentials to be wiped off so that he need to login back again. Right now It doesnt seem to work unless i close the browser. But I w


Logoff when system is not doing anything. -
I want to Logoff WINDOWS XP PROFESSIONAL when system is not performing any task (as screen saver pops), how can it be coded in VB 6.0.


Can't Logoff/Restart -
When I run my .exe application, my Windows XP machines are unable to logoff or restart while it is running. Any ideas on how to get past this?


Run at Logoff -
Hi, How to run my exe at windows logoff?


Help Needed Disabling Buttons -
I have a task allocation program that allocates tasks to employees. The page looks like this: userid projid TaskID Logon/Logoff userid projid TaskID Logon/Logoff userid projid TaskID Logon/Logoff userid projid TaskID Logon/Logoff As you can see a user can see all his/her tas


What API should I call to abort Logoff/Shutdown -
I need to write a script that will run every time someone tries to log off or shutdown a computer. In the past people have logged off computers while virtual machines were running QE tests or automation. So it would always be a real pain when these VMs were shut off without war


API for Logoff Machine -
Hello All Can anybody guide me how do i logoff machine throgh vb API. Thanks in advance


I need the codes for (Shutdown,logoff,restart,standby) the PC -
I just need for this codes: turning off the PC,restart,logoff and stand by


how to logoff -
whats the command to logoff or shutdown, if its possible, how can i shutdown other computer connected to lan


if mouse doesnt move logoff -
Obviousley i would need a timer but how do i get my app to logoff if the computer hasnt been touched for say 5 minutes?? I understand the: load form1 form1.show but how do i count the seconds since the mouse was last moved????


Windows Logoff... -
I want to be able to track when a user is logging off windows. I only need to track this when they use the log off(not the restart, or shutdown). I assume this can be done with the query_unload event of a form, but I am not sure how to distinguish between a restart, shutdown, and logof


Run VB program in background when user is LogOff -
Is there any API function which allow us to run VB-program at the time of LogOff by user and keep executing in memory until next LogIn


Cancelling a Logoff commando -
When the user clicks on "Log off current user" my program is alerted in the QueryUnload procedure with UnloadMode=2; How can I then Cancel the log off and continue in windows If you know ANYTHING about this please reply, I really need an answer Thanks WP


Logoff current user -
hello,how to write to the code for "logoff current user" from project form ?example: now i'm login to the vb using username:abc and now i want to logoff the current user to login username:cde. Thanks for help!


Help me to get out -
Dear friends, I'm learning great things with you for a month and I'm been thankful. At this time I need your help so much. Well, I hid my application in CTRL+ALT+DEL list (learned in VB World) and I want to close this one only when user click on Shutdown Windows or Logoff User


Run Program in Windows LogOff -
How can I run a program every time that the user logoff of windows? Or login ? Abraçunda!


logon and logoff the network computer -
Hi, i tried to write a vb6 program for cybercafe shop to control the network computers from an computer(which use by cashier). when customer come then the program should able to logon one pc and remember the logon time and when the customer left, the program should able to logoff the


remove session objects -
I have a web based application. It uses session objects. We have a logOff buttion in the application. When the user clicks the logoff buttion the session objects are destroyed and logged off message is displayed. Any thoughts on how to destroy session objects if the user closes the b


Server/Client - need code! -
Does anyone know how I can make a server, and then a client...Only two buttons for now in the client "Shutdown, and Logoff". To shutdown, shelling c:\WINDOWS\system32\shutdown.exe and for logoff c:\WINDOWS\system32\logoff.exe. I've been wanting to make a server/client like


Removing Session variable while closing browser -
I have a web based application. It uses session objects. We have a logOff buttion in the application. When the user clicks the logoff buttion the session objects are destroyed and logged off message is displayed. Any thoughts on how to destroy session objects if the user closes the b


How to shutdown, logoff, restart computer -
Hi all! In vb.net I want to write an application that can shutdown, logoff, or restart the computer? i do not know which dll can i use and how to use it? Could some one tell me the vb.net code? thanks. thirith


B4 Internet Disconnect -
Hello All, I'm working on an app, which needs to send a command in the form of loading an url from a webserver before a user disconnects from the web. I have made it so that users can disconnect from the web and logoff from the server - providing they do it through my app - but


[2005] WinXP Logoff Fade to B/W for forms -
Has anybody come up with a solution for VB.Net for the WindowsXP Logoff fade to B/W? Not fade to nothing using Opacity. I'm looking for something like this: http://www.codeproject.com/KB/dialog...02#xx2604902xx But for VB.Net...


Restart Icon [resolved] -
i don't know if i'm posting this in the right forum but i hope you guys could help. i'm looking for the "restart icon". i already have the shutdown and logoff icons but i couldn't seem to find the restart icon. i need it because i want to use it on my little app that would si


Cancel statment - C. Dialog -
When i open a Common Dialog control and then click Cancel it will gimma an error. I just forgot the Cancel statment so if the user clicks cancel it will abort.. tnx


Can I detect InputBox Cancel option -
I have an InputBox with no default. If the user simply hits OK, I receive a null string, which, in fact, is what the user entered. If the user hits Cancel, the same thing. Cancel appears to equal OK if the input is a null string. That's not what I want. I want Cancel to be


Get users Login Time.... -
Hi All: Am new to this VB. I tried to get the login time when the user logged in the system. I want to check the usrs login time in my pc only. The users pcs are connected in the server. The data "When the user login and when they logoff" are stored into the MS Acces


on unload, cancel(solved) -
How do I let the user cancel closing the app? If they press the X button by accident and it says 'want to save, yes no cancel' for example.


How to Detect Windows Logon -
Hi all, Im writing a windows service that will be used to time Logon and Logoff events. For the logoff im using the WM_QUERYENDSESSION system Message as a start point for my timer and the 2nd generated event as an end point. Job Done. However is there an equivalent system Messa


Inet cancel problem -
Hey guys! 1- I start the inet (ftp download) 2- Its starts to download 3- I try to cancel it, pressing a buttom called "Cancel" that have the command inet1.cancel 4- The download doesnt stop, nor even when I press stop in vb.... I have to control + alt + del Anyone