LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically restrict users from other system functions.

Would like to lock out user programmactically from user any operating system functions. Want them only to have access to the VI running.
0 Kudos
Message 1 of 3
(2,839 Views)
There are a few tools that you can pickup that other developers have created to lock out such items as alt tab and ctrl alt delete. You can also manipulate items in vi properties. Under file select vi properties and select window appearance. You will se a customize button. THis menu will help you for instance not allow the user to close the window, or resize or minimize the window. YOu can also under the window size menu item in vi properties manipulate the size of the window or scale it to the size of the screen. if you do that in combination with making the window modal. This is a good start. To then really lock out the user prohibit ctrl alt delete and alt tab. These functions are available in the winapi toolkits. Hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 3
(2,839 Views)
Use the following properties:

Window size: sized to the screen.

Window apperance: custom.
- uncheck window has title bar
- uncheck: show menu bar
- uncheck: Show toolbar
- uncheck: allow resize
- uncheck allow close
- uncheck allow minimize

I would still leave a safety exit (e.g. alt+TAB and ctr+alt+del will still work) even if you filter all key presses with an event structure.

What OS are you using? On WinXP you would create a special user account with very limited privileges where everything is locked down with policies and the only program allowed to run is your application.
0 Kudos
Message 3 of 3
(2,839 Views)