Click here to Skip to main content
15,888,984 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
QuestionFor Each Pin
Hamid Amrbdi2-Jul-09 15:37
Hamid Amrbdi2-Jul-09 15:37 
AnswerRe: For Each Pin
Luc Pattyn2-Jul-09 16:03
sitebuilderLuc Pattyn2-Jul-09 16:03 
GeneralThanks Pin
Hamid Amrbdi2-Jul-09 16:31
Hamid Amrbdi2-Jul-09 16:31 
QuestionHow to change EXCEL 2007 Chart Series Color in a xlCylinderBarStacked in VB.Net Pin
mrbd082-Jul-09 10:02
mrbd082-Jul-09 10:02 
Questionmacro code that prompt for password or display message each time MS word is opened Pin
ChiSmile2-Jul-09 4:57
ChiSmile2-Jul-09 4:57 
AnswerRe: macro code that prompt for password or display message each time MS word is opened Pin
Dave Kreskowiak2-Jul-09 8:40
mveDave Kreskowiak2-Jul-09 8:40 

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.