01-02-2014 03:44 PM
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
01-03-2014 05:40 PM
Hello David
Is it possible to send an example code that reproduces the error to see what could be going on?
regards
01-04-2014 03:38 PM
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
06-06-2020 12:38 PM - edited 06-06-2020 12:41 PM
hello need some more guidance on this issue