LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Buttons in Taskbar - 2 CVI Applications Running, but 3 buttons

Baffling problem.....

 

I have 2 CVI applications.  They communicate with each other via TCP.  All that works great.  The issue comes in launching the programs.

 

Both applications are setup as follows:

 

[ ] Has Taskbar Button: is unchecked in the UIR File

 

-- main code calls the following

 

stat = SetSystemAttribute(ATTR_TASKBAR_BUTTON_VISIBLE,1);

--

 

Run Application 1: one button in the taskbar - CORRECT

 

Run Application 2: Run from the icon in the Start Menu (one button in the taskbar - CORRECT)

 

Run Application 2: Run by double-clicking .EXE file in application folder(one button in the taskbar - CORRECT)

 

Run Application 2: Run by double-clicking Shortcut on the Desktop(two buttons in the taskbar - INCORRECT)

 

I can duplicate this over and over.  Either application by themselves has one button.  Only running them together and starting application 2 from a desktop shortcut results in 3 buttons in the taskbar.

 

--

 

More info.  The extra button has the text from the Application Title in the Build Standalone Executable option.  Changing the Application Title changes the extra button text.

 

Regardless of how you create the desktop shortcut, same behavior.

 

LWCVI 5.0.1 - XP Professional

 

--

 

This does not seem to affect performance.  It is just confusing to my customers.

 

Thanks, David

 

 

 

 

 

0 Kudos
Message 1 of 4
(4,492 Views)

Hello David 

 

 

Is it possible to send an example code that reproduces the error to see what could be going on? 

 

regards

 

Chris S.
0 Kudos
Message 2 of 4
(4,451 Views)

Would be difficult.  Both applications are multi-thousand lines of code.  I will see if I can put together a demo that will reproduce.

 

Dave

 

0 Kudos
Message 3 of 4
(4,417 Views)

hello need some more guidance on this issue

0 Kudos
Message 4 of 4
(1,876 Views)