01-04-2017 02:29 AM
01-04-2017 05:02 AM
Hi Popul,
If my understanding of your requirement is correct then the following link should help you
http://www.thelabview.com/2017/01/make-front-panel-front-most.html
Let me know if your requirement differes from this
Thanks
01-04-2017 02:59 PM
What you are looking to do will not be possible using the standard LabVIEW calls. It is possible if you use windows C++ libraries calling from LabVIEW, with methods like SetWindowsHookEx. Forums post https://bytes.com/topic/c-sharp/answers/227955-disable-alt-f4-ctrl-alt-del-ctrl-esc-alt-tab gives an example code for doing most of the options you want if you decide to take that route. If you never called external langauges from LabVIEW before, it can be a steep learning curve. The one you can't stop is ctrl+alt+del which is a windows o/s system only message.
01-04-2017 06:20 PM
Im currently using that solution. but sometimes i find it buggy in win10. Sometime i can CTRL+ALT+DEL but sometimes dont. My requirement in my app in to prevent user from switching to different app and prevent from closing the vi.
01-04-2017 06:50 PM
You can capture the events in an event structure and discard them so the user cant close the application, you can also discard key events, but when it comes to ctrl+alt+delete you will have to use built in windows functions. It sounds like you know that though and are having bugs in windows 10.
01-06-2017 12:29 PM
I had the need to have my software be the only application running, and to lock down the OS. So I made my EXE the shell instead of Windows Explorer. This had a few side effects like the font size and other decorations weren't quite right since the Aero UI wasn't running but I worked around this. I can't remember if CTRL+ALT+Delete did any thing but there was no start button, and I could disable task manager with group policy. Basically the user could do nothing but run my program. You could then login as a different user, and it would run my program which would run Explorer and give that user full access to the system.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord