LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the extra window when I am executing my program?

When I run my CVI program(mycvi.exe) from CVI 6.0, there's an extra window opened that can be seen on TaskBar representing the running program. How to make the window disappear?
I am using CVI acitveX automation server to control the program(mycvi.exe) running. And I hope my main program(myprg.exe) always in the foreground and get the input focus.
0 Kudos
Message 1 of 3
(3,007 Views)
You can use:

SetSystemAttribute (ATTR_TASKBAR_BUTTON_VISIBLE, 0);

to remove it from the taskbar. If windows is popping up, you would have to change your code to not have the windows come up when automating.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 3
(3,007 Views)
Chris Matthews:

That helps.
Thanks a lot.

Echo
0 Kudos
Message 3 of 3
(3,007 Views)