10-18-2005 09:26 AM
10-18-2005 09:32 AM
10-18-2005 09:48 AM
Thanks for your reply. I know you can do it that way. I still want to have a function to hide the desktop window. I know how to get the window handler using FindWindwA in User32.dll to hide windows other than desktop window. I have trouble to get the window handler of Desktop window using GetDesktopWindow function in useer32.dll and hide it. In fact, I got the desktop window handler and it cannot be hide.
Jim
10-18-2005 10:57 AM
10-19-2005 02:19 AM
10-19-2005 07:28 AM
10-19-2005 07:28 AM
10-19-2005 11:29 AM
01-23-2006 02:44 AM
01-23-2006 04:15 AM
Not around at the moment. But it is not something you would do in your LabVIEW application anyhow, really. Basically you do not put the executable into the Startup folder but instead edit the according registry key to use your executable as shell program. You do this by starting up regedit and go to the key and modify it. There is no real sense in integrating that into your LabVIEW program since once it is running in that mode you won't need to update the registry each time and otherwise you will have to provide a login to startup your application anyhow, so you can also start regedit to make this modification once. Beware that this type of deployment has a lot of implications such as that it gets difficult to get back into the system once your shell has been replaced by a custom program and that can be trickky while you debug and develop your application and believe me you will have to go back into your application many times and make changes to it before it works more or less as you have made it up in your mind.
@bong wrote:Dear Mr. Rolf Kalbermatter,I read this thread which is related to what I am looking for. I will load my LabVIEW execution file to a Windows XP Embedded computer. I will put the file in the Start up menu so that everytime the computer turns ON, the front panel will show up. How can I prevent the user from changing the screen or opening/accessing the Windows panel? I just want to show the LabVIEW Front panel always. I want to put a password protection option to start up the explorer."In Windows NT/2000/XP this is a registry setting [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "Shell"=".exe"
It would be a good idea to have in your application somewhere a (password protected) option to startup the explorer or other Windows tools using System Exec.vi"Do you have a sample VI for this?