Click here to Skip to main content
15,921,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

I have created windows application. When i Run this application, i want to make the user should not able to access other then my application in their system. So can any one suggest me how to block the accessing of desktop/other applications other than my applications using c sharp coding.

Thanks in Advance
Mohan G
Posted
Comments
ridoy 30-Jul-13 5:28am    
I think this is not a good idea.For example,user is using your application,but suddenly he need to open his wifi connection and do something,or want to play song or anything else.So he can't do anything because of your app.How weird!
Mohan Gopi 30-Jul-13 5:57am    
Hi Ridoy, Thanks for your Reply. my application needs that concept, this application will execute when the system is booted. It's just for Registration purpose, after registration my application will close and he/she can access any other thing but while registration he/she should not able to access any other things.
Syed Shabeer 30-Jul-13 5:33am    
http://social.msdn.microsoft.com/Forums/windowsapps/en-US/4f6ac13b-0669-4f49-acbf-2a4b58947cc2/restrict-user-to-the-app-prevent-access-to-desktop-and-other-apps
BulletVictim 30-Jul-13 5:35am    
You could take a look at this link
http://stackoverflow.com/questions/3999998/how-to-make-a-system-modal-dialog-in-c
Also this might be what you are looking for
http://www.codeproject.com/Articles/7392/Lock-Windows-Desktop
Mohan Gopi 1-Aug-13 6:44am    
Hi BulletVivtim, Thanks for your reply. The first link are helped a lot for me what i expected. Now its working. Thanks.


1 solution

make your fprm as modal and disable minimize option in your form
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900