Jump to content

Recommended Posts

Posted

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 :)

Posted
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.
Posted

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" />

  • Thanks 1
Posted
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!!

Posted
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

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...