Click here to Skip to main content
15,883,744 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DateTimePicker problem with Month and Day Pin
Nielvh3-Jul-09 4:15
Nielvh3-Jul-09 4:15 
GeneralRe: DateTimePicker problem with Month and Day Pin
Enver Maroshi3-Jul-09 4:23
Enver Maroshi3-Jul-09 4:23 
GeneralRe: DateTimePicker problem with Month and Day Pin
Nielvh3-Jul-09 4:33
Nielvh3-Jul-09 4:33 
GeneralRe: DateTimePicker problem with Month and Day Pin
Nielvh5-Jul-09 23:34
Nielvh5-Jul-09 23:34 
QuestionWeb Query- Com Addin Excel 2003 Pin
YakomozB3-Jul-09 2:57
YakomozB3-Jul-09 2:57 
QuestionHow to show DataTable in ReportViewer contral as Local Report (.rdlc) Pin
angel0in2-Jul-09 22:30
angel0in2-Jul-09 22:30 
AnswerRe: How to show DataTable in ReportViewer contral as Local Report (.rdlc) Pin
anas.safar14-Nov-10 22:11
anas.safar14-Nov-10 22:11 
QuestionHow to unlock a PC programmatically [modified] Pin
Uwe1234562-Jul-09 21:46
Uwe1234562-Jul-09 21:46 
Experts,

I am stucking and need your help/hints.

Situation:
My application runs on a locked PC and should unlock the PC by request. Thats all!
"Locked" means here that the user pressed "Ctrl-Alt-Del" and then the "Lock Computer" button.
Means the user sees now the "Windows login screen" on his screen.

Operation System: XP only - for now Wink | ;-)

Details:
My application runs and listens on the blocked PC for commands.
One command is the "unlock the PC!".
The command contains also the username, password and the domain of that user that is currently logged in.
The PC should be unlocked for him!



What I not want:
I want no code for receiving messages - that works already fine in my application.
I want not to switch the user!
I want not that my application runs another application under this or that rights/user.
I want not the auto login (after next reboot).
I want also not to find the "Windows login screen" over his name, and sending the user and password via
sendmessage... (Please think about a japanese PC and how the window title of the windows login screen
looks there Wink | ;-)


What I tested / found / googled:
... was always a "run as", the auto login or doesnt work (like api call "CreateProcessWithLogon" or LogonUser (advapi32))

Thank you very much in advance!

modified on Friday, July 3, 2009 4:11 AM

AnswerRe: How to unlock a PC programmatically Pin
Enver Maroshi3-Jul-09 2:44
Enver Maroshi3-Jul-09 2:44 
GeneralRe: How to unlock a PC programmatically Pin
Uwe1234563-Jul-09 3:01
Uwe1234563-Jul-09 3:01 
GeneralRe: How to unlock a PC programmatically Pin
Enver Maroshi3-Jul-09 3:28
Enver Maroshi3-Jul-09 3:28 
GeneralRe: How to unlock a PC programmatically Pin
Uwe1234563-Jul-09 3:33
Uwe1234563-Jul-09 3:33 
GeneralRe: How to unlock a PC programmatically Pin
Enver Maroshi3-Jul-09 3:40
Enver Maroshi3-Jul-09 3:40 
GeneralRe: How to unlock a PC programmatically Pin
Enver Maroshi3-Jul-09 3:35
Enver Maroshi3-Jul-09 3:35 
AnswerRe: How to unlock a PC programmatically Pin
Dave Kreskowiak3-Jul-09 6:47
mveDave Kreskowiak3-Jul-09 6:47 
AnswerRe: How to unlock a PC programmatically Pin
Fahad Sadah3-Jul-09 8:10
Fahad Sadah3-Jul-09 8:10 
GeneralRe: How to unlock a PC programmatically Pin
Uwe1234563-Jul-09 8:41
Uwe1234563-Jul-09 8:41 
GeneralRe: How to unlock a PC programmatically Pin
swap.kamble30-Sep-09 20:42
swap.kamble30-Sep-09 20:42 
Questionrotate images in picturebox on button click Pin
KIDYA2-Jul-09 20:54
KIDYA2-Jul-09 20:54 
AnswerRe: rotate images in picturebox on button click Pin
dan!sh 2-Jul-09 23:39
professional dan!sh 2-Jul-09 23:39 
AnswerRe: rotate images in picturebox on button click Pin
Zahid Khan Kakar30-Jul-09 19:02
professionalZahid Khan Kakar30-Jul-09 19:02 
QuestionHow To Install Applications of A Client PC Remotely Pin
Anoop Brijmohun2-Jul-09 20:36
Anoop Brijmohun2-Jul-09 20:36 
AnswerRe: How To Install Applications of A Client PC Remotely Pin
Dave Kreskowiak3-Jul-09 6:51
mveDave Kreskowiak3-Jul-09 6:51 
QuestionSpecial Function/Sub help... Pin
LorneCash2-Jul-09 18:30
LorneCash2-Jul-09 18:30 
AnswerRe: Special Function/Sub help... Pin
Johan Hakkesteegt2-Jul-09 21:31
Johan Hakkesteegt2-Jul-09 21: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.