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

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

 

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


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


Force a user to logoff -
Hi all, I got a login 'Jeff' with is password being "Hello" in the Security Logins from SQL Server. Let's say Jeff is currently logged in via an application in a random DB... I want to delete Jeffs login for XYZ reasons but the sp_droplogin procedure WILL fail because J


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


[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


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


nt admin -
How can I force remote NT users to logoff my server programmatically?


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.


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 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.


App not closing when windows Log Off or Shutdown invoked -
Hi Written a small vb.net app (.net 2 in VS2005), it sits in the system tray to allow a context menu to perform various actions. It has 2 forms, the main one, always hidden, with the menu on and another which toggles hide/show allows a small keypad for entry. Both contain a differe


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


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


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


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


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


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


Help: Project on Force feedback joystick -
Hi I am doing a project on Force feedback joystick (Microsoft Sidewinder 2) using VB 6.0. I was able to enumerate the device and initialize a constant force constINF.ffe but I was not able to modify that force. How can I do that?


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


help with Foematting uppercase -
I use this - sInput2 = UCase(Mid(sInput2, 1, 1)) + LCase(Mid(sInput2, 2)) to force upercase on first two characters of text in customer number eg db1234 to go DB1234 Does any one know how to force input like new york to force the N and Y to uppercase. N is ease but I can't managed


How to shutdown computer in vb.net -
Try this code : 'Add System.Management Reference in your vb.net program Imports System Imports System.Management Public Class clsWMI Private obj As Object Public Enum ShutDownOptions LogOff = 0 SHUTDOWN = 1 REBOOT = 2 FORCE = 4 POWEROFF = 8 End Enum Pub


[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


nooby 3d Vector question - [resolved] -
I have a particle (P), with an (x,y,z) position and a [x,y,z] vector that represents its current direction and speed. The particle has mass M. I want to impart a force on the particle. The force (F) has the vector [a,b,c] Mass is in Kg, Force is in Newtons. How do I calculat


preventing user from entering data in textbox -
i have a textbox on my form, i don't want the user to input anything in there for now,the enable false property of the text blurs the text too much, is there another way of preventing this,i can't use labels because later on in the program i want the user to enter text in the same text