Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
stop log off operation using VB
Name: badbloodyeyez Date: December 24, 2008 at 04:08:48 Pacific OS: Windows XP Pro CPU/Ram: 1GB Product: Novatech / DONT KNOW
Comment:
Hi, I am currently learning VB and I want to know is it possible to stop the window being log off, restart and shutdown using VB?? I want to automatically detect if the window is restarting, log off or shutdown if so then it will stop it and send a character (it can be any thing) to USB port and resume the operation of log off, restart or shutdown. I want to know if it is possible in VB or in other programmin I have used Batch file but its not very useful as it doesnt stop the operation automatically. If you have any suggestions or can help me with the code I will really appriciate it thanks
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) If UnloadMode = vbAppWindows Then 'Windows is shutting down 'do your code here End If End Sub
Summary: Hi, Can anyone tells me how to turn off the modem's speaker using VB6? I want to use the MSComControl to make a phone call, using VB code. However, I don't want to hear the modem's speaker as the mode...
Summary: thanks borelli32, your info really help. for the above question i would like to know how Windows2000 and XP handle the logging off process. well, could anybody also tell me the following questions ab...
Summary: I'm trying to create a vb script which will allow me to compare my documents with a backup of my documents on a server. So here is what I need the script to do. Person A logs off at night and his my...