LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Status bar disappeas when running the code as executable

Hi !
In my application I included a status bar (ActiveX component) filled with different pieces of information (date, current user, etc...). As long as my code runs as "source code" => no problem !
But when I build an executable and run it, the status bar disappears but I still can see the strings included (date, current user, etc...) ; so it's like it becomes transparent...
Anyone has an idea to fix that problem ?
CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 5
(2,658 Views)
hmm strange,

is it on the same computer?
If not it could be another OS theme issue.
On the same PC you might have to do some automatic configuration of the ActiveX toolbar, this could be statically remembered in the LabVIEW development environment.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 5
(2,647 Views)
Hi Ton P,
As you said it's strange ! The executable has been tested on the same and on other computers. And each time the status bar disappears...
What configuration do you suggest for such ActiveX control ?
CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 5
(2,637 Views)
I have no idea!
It depends on your activex widget.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 5
(2,618 Views)
Hi,

I don't know if this could help you, but I've got the same problem with the .NET Progressbar component. To solve the problem I have to explizit make a Manifest-file which explizit loads a certain .NET assembly version. Here is the content of the Manifest-File - maybe it will help you:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <description>Windows Forms Common Control manifest</description>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" />
    </dependentAssembly>
  </dependency>
</assembly>


HTH.

Best Regards,

--
Joachim

0 Kudos
Message 5 of 5
(2,612 Views)