keybd_event function behaviour

D

daniele.balducci

Hello,
I wrote a VB test console application using the keybd_event
function from the user32 library. in order to unlock the screensaver).
Running the executable via (AT command ....) the screen saver disappears.

Then I inserted the same chunk of code into a VB WebService .... I can
compile and fire the Service both from a Browser and from a Proxy Application
but the function call has no effects (the Screeen Saver doesn't unlock).

Moreover, even changing the direct code to a shell invoking the console
executable descripted above i cannot get the Screen unlocked (Please note
that the code runs since I can see some "special debug effect" I put into
the console appl)..

This let me think to some problem of auth for the ASPNET user ... but I
cannot figure out what ... can someone help me thank in advnace Danielle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top