-
1 Attachment(s)
[VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Hi guys..:wave:
I was looking for some sort of security mechanism to prevent unauthorized access to a PC, which could be added to my future project - "Internet Cafe Management System".
So, I did some digging and wasn't satisfied by most of the solutions available. And I finally found this solution.
It's not completely my code, but it's a mixed up version. :)
Hope this will help some of you guys.
Please note that, this code snippet needs some improvements. I hope, you all will contribute something to improve this piece of code. ;)
Regards,
- Akhilesh :wave:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Ah, That's awesome dude.
Nice job, Nice Findings.
There is so many things I could do with this.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
This might be exactly what I was looking for.
EDIT: It doesn't stop Alt+Tab from working though. Do you know how to do that?
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
formlesstree4
This might be exactly what I was looking for.
EDIT: It doesn't stop Alt+Tab from working though. Do you know how to do that?
Hi...:wave:
I'll try to find a solution for that. :thumb:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
@formlesstree4: I couldn't find anything on pressing "Alt + Tab" or "Win + Tab" ! What does it do when you press that combination ? I'm using WinXP Pro SP3.
:wave:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
akhileshbc
@formlesstree4: I couldn't find anything on pressing "Alt + Tab" or "Win + Tab" ! What does it do when you press that combination ? I'm using WinXP Pro SP3.
:wave:
It tabs out of the program, bringing the next thing to front. At most, it just reveals the taskbar which would allow people to mess with the program.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
formlesstree4
It tabs out of the program, bringing the next thing to front. At most, it just reveals the taskbar which would allow people to mess with the program.
I'm not able to reproduce the problem ! I have tried it several times on my PC and I'm not experiencing anything like you have mentioned. I mean, I can't access any other applications which was opened in original desktop.
Do you have any running applications in the new desktop ? :confused:
:wave:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
formlesstree4
This might be exactly what I was looking for.
EDIT: It doesn't stop Alt+Tab from working though. Do you know how to do that?
Use winlock.
Link:
Code:
http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx
I have posted codes here too.
Code:
http://www.supportforums.net/showthread.php?tid=18700
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
euverve
Use winlock.
Link:
Code:
http://www.codeproject.com/KB/winsdk/AntonioWinLock.aspx
I have posted codes here too.
Code:
http://www.supportforums.net/showthread.php?tid=18700
That codeproject page mentions about "Switch to a new desktop". I think, that's what the code I have posted does !
:wave:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
LOL, good luck with this! I tried to implement something like this at work and probably spent 5,000 hours on this stupid thing, trying to solve what should have been a personnel issue with technology. It was such a nightmare and still doesn't work right. It is extremely hard to build a Kiosk type application preventing a user to get to other windows, taskbar, etc...
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Oh ya, and God forbid you have more than one screen.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
That's pretty good, you can't put Task Manager above it even, or use Win+Tab or Alt+Tab. Good job! Make the middle form non-maximizeable using WndProc because Win+Up does some strange things.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Thanks.. will do that :thumb:
:wave:
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
minitech
That's pretty good, you can't put Task Manager above it even, or use Win+Tab or Alt+Tab. Good job! Make the middle form non-maximizeable using WndProc because Win+Up does some strange things.
That's very surprising, and even more surprising if it works the same way on XP and Win7. It seems that I could NEVER prevent the Task Manager from coming to the top, unless we totally disabled the Task Manager. But that caused other unintended consequences. I think that Steve goes through great pains to prevent this sorta stuff to deny virus makers the ability to wreck havoc on people.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
I think that Steve goes through great pains to prevent this sorta stuff to deny virus makes the ability to wreck havoc on people.
What are you even trying to say? Who is this Steve you talk about?
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
I can't tell if you're serious or not so I'm not going to answer that question in large type.
Ballmer of Microsoft, I believe.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Quote:
Originally Posted by
minitech
I can't tell if you're serious or not so I'm not going to answer that question in large type.
Ballmer of Microsoft, I believe.
...oh, I was thinking of Steve Jobs, and I was like "what does Steve Jobs, who is at Apple, have to do with this?!" So I was kind of confused...but I'm tired anyway.
-
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..