LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced ActiveX: Control of Windows

Hi All

This is my third post regarding the same. Let me throw light on the background. I have an external application that runs some of our tests. I used labview activex to call the external application and automate it. Works great. There are 2 windows which pop up when I do this task. These windows indicate the initialization and progress of the tests. I wanted these windows to be suppressed when I run my VI. I used some VIs from LVWUTIL32.zip to hide the windows. It does the job to some extent. But still the hidden windows appears as a taskbar entry. Maybe it does because those windows are executing (performing the experiments). Sometimes the windows pop up for less than a second and disappear but the task-bar entry remains. That's the background.

What I would like to do is: When I run my VI all the windows that is called my activex must be suppressed. I use the activex to call about 8-9 methods of the external application. There should not be any taskbar entry either. Can someone help me on this by giving an example or something ? Thanks !

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 8
(3,488 Views)
Are you using "Hide Window.vi" in LVWUTIL32.zip ?
or maybe you're using "Minimize Window.vi" ?

What will happen when you click on the icon on taskbar ?

George Zou
George Zou
0 Kudos
Message 2 of 8
(3,486 Views)
I am using Hide windows.vi. There is still an entry in the task bar. Nothing happens when I click that. So the window is hidden but the taskbar entry is still there.

Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 8
(3,451 Views)
What application are you using ?

You might have to modify the window ext-style.

George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 4 of 8
(3,450 Views)
Can you be a little more clear ?

I found one thing. When the window that I am trying to hide is not running, it hides perfectly. Since the window executes, it shows the item on the taskbar entry. Any suggestions ? Thanks.

Kudos are the best way to say thanks 🙂
0 Kudos
Message 5 of 8
(3,436 Views)
What application are you trying to hide ??

I'll send you some vi for test. Drop me a line, so I can reply.

George Zou
gtoolbox@hotmail.com
George Zou
0 Kudos
Message 6 of 8
(3,420 Views)
The "Hide Window.vi" from the "Windows API Function Utilities (32 bit)" hides the window AND the taskbar represant of the window. Use the "Show Window.vi" to bring the window back from the dead.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 7 of 8
(3,416 Views)
I am using an application called ZPlot which is called by my LabVIEW executable (LV Version 7.0).

Kudos are the best way to say thanks 🙂
0 Kudos
Message 8 of 8
(3,404 Views)