[VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Hi guys..
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
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
Welcome
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
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...
I'll try to find a solution for that.
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
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.
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
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.
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..
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 ?
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
That codeproject page mentions about "Switch to a new desktop". I think, that's what the code I have posted does !
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
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..
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
If my post was helpful to you, then express your gratitude using Rate this Post.
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video) My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet Social Group:VBForums - Developers from India
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
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.
Last edited by softwareguy74; Aug 19th, 2011 at 09:48 PM.
Re: [VB2010] Locking Screen - useful for Internet Cafe programs, etc..
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.