ChristianDavies Posted June 6, 2013 Posted June 6, 2013 I have created an exam environment for our schools, it comprises of 3 files; a .kix file that says if they are in the examination group run a .vbs file. The .vbs file kills the explorer.exe task so they don't have any taskbar or desktop shortcuts and then opens a .hta file. The .hta file is a user interface that has icons for apps like Win Word that executes the application when you click on it. There is also a log off button. I am looking for some kind of code that stops the students from being able to close, minimise and resize the window. Does anyone know of any code that can lock this down so they literally can't do anything except click the icons inside the window. Hope this all makes sense? I have the codes if you want them
IKWeb Posted June 6, 2013 Posted June 6, 2013 Can I ask how you made the hta window??? Which program do you use?
ChristianDavies Posted June 6, 2013 Author Posted June 6, 2013 I coded it my self using html and changed the extension to hta so it opens in an application window. I have Visual Basic but can't seem to get it to work with the coding i have already done.
naysweb Posted June 6, 2013 Posted June 6, 2013 Could try IE kiosk mode ? Or make a program with a toolbar I would use Delphi.
naysweb Posted June 6, 2013 Posted June 6, 2013 Any help?? border="thin" borderStyle="normal" caption="yes" icon="http://www.website.com/favicon.ico" maximizeButton="yes" minimizeButton="yes" showInTaskbar="no" windowState="maximize" innerBorder="yes" navigable="yes" scroll="auto" scrollFlat="yes" /> 1
ChristianDavies Posted June 6, 2013 Author Posted June 6, 2013 Any help?? border="thin" borderStyle="normal" caption="yes" icon="http://www.website.com/favicon.ico" maximizeButton="yes" minimizeButton="yes" showInTaskbar="no" windowState="maximize" innerBorder="yes" navigable="yes" scroll="auto" scrollFlat="yes" /> Perfect! Just tested it and it seems to work exactly how I want. Is there a way to say closeButton="no"? I tried that but it didn't work. Thanks though!!
ChristianDavies Posted June 6, 2013 Author Posted June 6, 2013 SysMenu="no" > Try this. Awesome, Thanks!
naysweb Posted June 6, 2013 Posted June 6, 2013 Don't thank me, thank Google. And my "Edge" Internet on my iPhone while on holiday. Slow but usable (just)
ChristianDavies Posted June 6, 2013 Author Posted June 6, 2013 Don't thank me, thank Google. And my "Edge" Internet on my iPhone while on holiday. Slow but usable (just) You found that on Google? I've been searching all day but not found anything. Ah well, thanks anyway and enjoy your holiday
naysweb Posted June 6, 2013 Posted June 6, 2013 I have found this before that with google or any alike, you can try to hard, as silly as that sound.
ChristianDavies Posted June 10, 2013 Author Posted June 10, 2013 Sorry to bother you all again, does anyone know of a way to get the HTA window to automatically open in the center of the screen no matter that the resolution is? I currently use windows.moveto 100,50 as it gets it in the center the best.
naysweb Posted June 10, 2013 Posted June 10, 2013 Hi, not looked yet but could you not just open full screen window.?
ChristianDavies Posted June 10, 2013 Author Posted June 10, 2013 Our window is set to a specific size 985x758 because of the way it is designed, plus i have now disabled the maximise control so the background doesn't tile.
naysweb Posted June 11, 2013 Posted June 11, 2013 Might help... http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/10/how-can-i-center-an-hta-on-the-screen.aspx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now