From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-20-2014 04:03 AM
Hello All,
I need small help.
I’m running one 3rd part exe with LabVIEW. It’s working fine but, when that exe is running one popup window is coming. I want to hide that window.
Please tell me if there is idea to hide that kind of popups.
BR,
Munna
03-20-2014 04:22 AM - edited 03-20-2014 04:29 AM
If it is a front panel dialogue box and you can access the VI, rather than just the exe, you can go to File>Vi Properties>Window Appearance>Customise and then untick the 'Show front panel when called' button.
Or is it an error message? In that case you would need to find where it is called in the VI and disable it there.
03-20-2014 04:40 AM
Dear camW,
Thank you so much for your reply.
I'm not talking about current LabVIEW window popups. It's problem related to other Exe windows.
I'm calling one exe with "System Exec.vi" when that particular exe is running then some popup windows are coming up. I want to hide those popups Automatically.
BR,
Munna
03-26-2014 05:16 AM
Hello all.
Please help me if anyone knows solution about it.
BR,
Munna
03-26-2014 05:42 AM
Hi Munna,
you need to use Windows kernel functions!
When that popup window has a title you can get a reference ("handle") of that window. With this handle you can move or hide it!
There has been an AppNote with several user32 .dll-functions already implemented in VIs, but can't find that right now…
03-26-2014 06:29 AM
Dear GerdW,
Thank you so much for your reply.
I know the window name (for Popup window) but I don't know how to get handle value.
I checked this Link to hide the window (using User32.dll).
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx
Please help me to get the window handle value.
BR,
Munna
03-26-2014 07:14 AM
Hi Munna,
please read the suggestions made in this thread!
It also contains a link to the mentioned before LVWUtil functions…
03-27-2014 12:40 AM
Dear GerdW,
Thank you so much for your reply.
Now I can hide popup windows. Now I got other problem.
In my project, I need to hide two windows. One will appear when file is reading and next window will come when file is writing.
Here, My problem is I don't know when that popup window are coming. If file is size is small then 1st window coming and going in very fast, if file size is big then I can read that window.
I think we need to check this windows continuously. Please give me if there is any better idea.
BR,
Munna