• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1060
  • Last Modified:

Opening an asp.net form in full screen mode

I need to open a form in full screen mode, with the address and the minimize/restore buttons disabled.

So the user cannot use his computer, unless he logs off the application.

 This is a web application designed for kids, so when they are working on the application, they cannot go onto the internet, word, games, or whatever programs they would like to use.

 Thanks for your help
0
AnneSKS
Asked:
AnneSKS
  • 5
  • 4
2 Solutions
 
Bob LearnedCommented:
I haven't needed to open a page in full screen mode, so I can't guarantee if this works, but you might try to use some JavaScript:

How to Open a Page In Full Screen Mode using JavaScript
http://www.devcurry.com/2009/07/how-to-open-page-in-full-screen-mode.html
0
 
AnneSKSAuthor Commented:
Well, I've tried this one. It does work, but only if your browser is already maximize.
If you start from a resized window, it does not go full screen.

Also if you move your cursor up the screen, you can get the address and maximize/restore buttons. I suppose there is maybe a way to hide that, but the first issue is more problematic.

I wonder if we can press the key 11 in the code, after opening the window, I haven't looked at this one yet.
0
 
Bob LearnedCommented:
How about the Fullscreen API?

http://davidwalsh.name/fullscreen
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
AnneSKSAuthor Commented:
That looks pretty good. I did not have time to implement it today. I will do it tomorrow.
Thanks for your help.
I will let you know how I go.
0
 
Bob LearnedCommented:
If people ever wonder why I answer questions so freely, I would have to say it is questions like this.  It stimulates "outside-of-the-box" thinking, and while I don't have a specific need today, the future may require this functionality.

The Fullscreen API seems promising, since it appears to address the myriad of different browsers.
0
 
AnneSKSAuthor Commented:
Hi,
Thanks for your thoughts. I am working on implementing it at the moment.
However, there is a bit more thinking to do about this one. I am just starting and there is a lot more parameters to it.
Once you've got your user in full screen mode, nothing is stopping him from using Alt tab to navigate back to windows, or ctrl + alt + del to close the app and pretend it crashed.

So the question is, is there a way to either deactivate these functionalities, from the application or from a script ran before the student starts the test.
Or
Can we spy, and collect information when & if the student leave the application. If we can't stop him from leaving the application, we might as well track what he is doing, saving the info in a db.

If you are interested and have time, thanks for sharing your thoughts. Much appreciated.
0
 
David Johnson, CD, MVPOwnerCommented:
wouldn't it be easier to open the browser in kiosk mode.
<path>\Iexplore.exe -k http:\\www.example.com
0
 
AnneSKSAuthor Commented:
Hi David,

It works like a charm so far. I have created a bat file to open my application in kiosk mode from the desktop.

However, I now need to be able to lock the ALT CTL DEL keys, as well as ALT TAB as I cannot allow students to go into windows while they are sitting an exam.
The other option is to register the keys if they are using them. Any idea how to do it?

Thanks a lot for your help.
0
 
Bob LearnedCommented:
Blocking Ctrl+Alt+Del would require some work outside of the browser.

Here is a Micro$oft article that talks about a group policy:

How to enable or disable the CTRL+ALT+DELETE sequence
https://support.microsoft.com/en-us/kb/308226
0
 
AnneSKSAuthor Commented:
Hi,
Sorry for the late reply. I am currently investigating the AutoHotKey. However I have to talk to schools to find out if that would be an option that they want me to look. So it might take a while to implement it.
Same with disabling CTRL + ALT +DEL.
Thank you both for your help. I will post the solution once I have one.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now