Get version of EXE built outside of LabVIEW

Hi,
I was looking for a way to read the "Versions" File property of an EXE that was built in C++  (or any other EXE).  I would like my application to read it programmatically instead of having the information in some other file that my application reads.
Thanks,
Gary
Solved!
Go to Solution.

Hello glstill,
There is a pretty good discussion of that problem as well as a few possible solutions using .NET or the WinAPI offered in this thread from 2006:
LabVIEW thread: File version info
http://forums.ni.com/t5/LabVIEW/File-version-info/m-p/361945?jump=true
Some of the .NET information may be out of date, but the discussion is relevant and a few people have provided code to do more or less what I think you're looking for.
Another pretty clean looking and more recent example is available here on the NI Developer Community:
Example: Get File Version Information for EXE’s and DLL’s
https://decibel.ni.com/content/docs/DOC-13866
Best Regards,
Tom L.

Similar Messages

  • Installer from exes built in multiple versions?

    I have an application which includes several executables from which an installer is built in LabVIEW. The executables have all been built in the same version of LabVIEW, but now I need (for reasons I won't go into) to build an installer from exes built in different versions of LabVIEW. Anyone tried this? I presume I can just compile in the respective versions, paste the exes into the expected locations and run the installer build spec?
    Solved!
    Go to Solution.

    You can include any files you want in an installer (so you can include the output of another build from another project), but remember you'll also need to make sure the correct version of the LabVIEW Run-time is installed for each one. If you're not including the runtime in your installer then this isn't a problem but something to bear in mind.
    You can also include other installers in your installer I believe as well - you could have an installer for each LV version that includes those applications and the appropriate LVRT and then another installer which includes those.
    It can get complicated but you should be able to get it working.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • After installing the current version of iTunes, I get an AppleSyncNotifier.exe - Entry Point Not Found error. It says "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll."

    After installing the current version of iTunes, I get an AppleSyncNotifier.exe - Entry Point Not Found error. It says "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." Kindly advice a process to get rid of this error, without losing my files on the iTunes.

    Hi, I get the same error EVERY time iTunes updates.
    I have to do the fix that is suggested in this topic (cut and paste the sqlite3.dll)
    My Question:
    Since this happens every time iTunes updates...... Do I have to remove SQlite3.dll from the "apple application support" folder....... so that the sqlite3.dll is only located in the "mobile device support" folder?????
    It is getting really annoying to have to do the "cut and paste" fix every time iTunes updates.
    Thank You,
    Steve

  • To invoke an application exe built using Labview from python.

    I am trying to invoke an application exe built using Labview from python.
    I am able to invoke labview vi, send and receive data. But if I change the vi to exe, it doesn’t work.

    This is more of Python. I can suggest you another way, if you can do those changes to your existing code.
    This is what I do: If I have to communicate between 2 different platforms I use "File" as a communication medium (Simple method). So if you want to pass data to the LabVIEW code from python, write the data to the file from Python and read the data in LabVIEW and vice versa. I generally use *.ini files for this purpose.
    The best solution is the one you find it by yourself

  • Can I integrate my exe program into my LabView software?

    I developed a LabView software. Can I integrate my old xx.exe program into this LabView software? Any information on this point would be appreciated.
    Yun

    The way to do this is to redirect the text output from the program to a file, and then read the file into LV. I unfortunately don't have all the information with me, but do a search in the archives here. The way I learned about is was a discussion a couple years ago. You can also check online for information related to writing DOS batch files--which is how you actually run the DOS program--that should get you pointed in the right direction.
    So it is possible, messy, but possible.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Why does NiVisaServer.exe is running when Labview is running??

    I am running two identical test setups for some system testing.  The PC configuration and test cases are same on both the setups. I am using  Labview version 8.5 . I observe the setup running with NiVisaServer.exe is slow as compared to the other setup. The same file is not running in the other setup.  My question is , does NiVisaServer.exe slow down the Labview execution?? Why does NiVisaServer.exe is not running in the other tester eventough both are identical??

    More than likely it might have been accidentally set to start up when the PC starts. See attached screenshot for where this is configured in MAX.
    Attachments:
    VISA Server.png ‏85 KB

  • I am getting an 'APSDaemon.exe is missing msvc80.dll" error... HELP!!!

    I have been getting an 'APSDaemon.exe is missing msvc80.dll error when I boot.  I have tried reinstalling Itunes, but it did not work... HELP

    Solving MSVCR80 issue and Windows iTunes install issues.
    Thanks to user turingtest2 for this solution.
    Solving MSVCR80 issue and Windows iTunes install issues.
    If the above doesn’t do the trick entirely, then use the instructions in the following as it applies to the version of Windows you are using:
    iTunes 11.1.4 for Windows- Unable to install or open
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    You may be required to boot into safe mode to complete the folder deletion process.

  • Rename outside of labview

    I am using 7.1.  I need to rename a lot of vi(s) (I inherited this system).  It would be a real pain to rename them from within LabView.  I renamed them outside of LabView with a batch script; loaded the main vi, it doesn't find the renamed vi(s), but it won't let me pick the newly renamed vi.
    Is there any way to do this?

    Not with LabVIEW 7.1. With later versions NI added the ability to point LabVIEW to a different VI when it asked you to find a VI. So, you will need to let the VI load with the missing VIs and then manually replace the missing VIs with the new ones.
    There may be a way to do with scripting. Scripting back in the days of LabVIEW 7.1 was not officially supported, but you could enable it with special keys in the LabVIEW.ini file. Since it was not officially supported, though, the functionality to do this may not even be there.

  • I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click. How do I get version 4 to do this? Thanks.

    I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click.
    How do I get version 4 to do this?
    Thanks.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?

    How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?
    I'm trying to control an ActiveX object (a Web Browser) from another VI and need to get the object reference programmatically. I can get the LabVIEW ActiveXContainer reference, but am lost on how to get the reference for the object _inside_ the container.

    Hi Lee,
    The reference to the container is actually also accessing the object inside the container. Use the Property Node and Invoke Node to access properties and launch methods for the object. I've attached a small example that passes the reference to a SubVI and invokes a method inside the SubVI.
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    WebContainer.zip ‏21 KB

  • All of a sudden I'm getting a 'itunes.exe - system error  It says the program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  I have tried to reinstall and still can't open itunes.  help!

    all of a sudden I'm getting a 'itunes.exe - system error  It says the program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  I have tried to reinstall and still can't open itunes.  help!

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • How can I get Data from the Sound cart in Labview? Does a VI exist?

    How can I get Data from the Sound cart in Labview? Does a VI exist?

    Yes, there are VIs for acquiring data from Sound cards. And examples too. If you don't have LabVIEW yet, do a search on NI's site for example VIs.
    Khalid

  • Where can get version 10 of Elements 10? I have bought a new PC and need to load it.

    Where can get version 10 of Elements 10? I have bought a new PC and need to load it.

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • Installed Windows 8 on a late 2011 MacBook Air and was working fine now keyboard not working so cannot enter password? Caplocks key works but I am locked out on my own PC and cannot seem to get it to recognize built in keyboard,bluetooth,generic USB one.

    Installed Windows 8 on a late 2011 MacBook Air and was working fine now keyboard not working so cannot enter password? Caplocks key works but I am locked out on my own PC and cannot seem to get it to recognize built in keyboard,bluetooth,generic USB one.

    Use the trackpad to scroll, thats what it was designed for. The scroll bars automatically disappear when not being used and will appear if you scroll up or down using the trackpad.
    This is a user-to-user forum and most people will post on here if they have problems. You very rarely get people posting to say there update went smooth. The fact is the vast majority of Mountain Lion users will not be experiencing any major problems with the OS, or maybe with apps which are not compatible, but thats hardly Apple's fault if developers don't update their apps.

  • Can't get version based downloads to work

    I am new to JNLP and trying to get version based downloads to work. I have read everything I can find, but I still seem to be missing something. My setup:
    Tomcat 4.1.18 (running in JDK 1.4.0)
    Java WebStart 1.2
    Win 2k
    files in .war
    -launch.jnlp
    -+1.0
    |-testapp.jar
    |-version.xml
    -+images
    |-Save.gif
    -+META-INF
    |-MANIFEST.MF
    -+WEB-INF
    |-+lib
    | |-jnlp-servlet.jar
    |-web.xmllaunch.jnlp
    TS: 2002-04-23 19:21:05
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="$$codebase" href="$$name">
       <information>
          <title>ljtest 1</title>
          <vendor>Lance</vendor>
          <description>just an example</description>
          <icon href="images/Save.gif"/>
       </information>
       <resources>
          <j2se version="1.2+"/>
          <jar href="1.0/testapp.jar" version="1.0"/>
       </resources>
       <application-desc main-class="Main"/>
    </jnlp>version.xml
    <jnlp-versions>
       <resource>
          <pattern>
             <name>testapp.jar</name>
             <version-id>1.0</version-id>
          </pattern>
          <file>testapp.jar</file>
       </resource>
    </jnlp-versions>web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
      <web-app>
         <servlet>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
            <init-param>
               <param-name>logLevel</param-name>
               <param-value>DEBUG</param-value>
            </init-param>
         </servlet>
         <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
      </web-app>Things I have discovered (possibly in error?):
    1) I do not need to include the jaxp.jar and parser.jar files because I am using JDK 1.4
    2) I do not need to change my testapp.jar to testapp_V1.0.jar because I have included the the version.xml file in the 1.0 directory
    I keep getting the following error in WebStart when I loadup the jnlp:
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)I can get everything to work without version based downloads. Does anyone have any clue what I am doing wrong?
    Lance

    I found my own error. After loading up sun's reference implementation server in NetBean's debugger I noticed that it was only handling .jnlp files. Going back to the "Packaging JNLP Applications in a Web Archive" document I found my mistake. My web.xml files should have looked like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
        "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
      <web-app>
         <servlet>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
            <init-param>
               <param-name>logLevel</param-name>
               <param-value>DEBUG</param-value>
            </init-param>
         </servlet>
         <servlet-mapping>
            <servlet-name>JnlpDownloadServlet</servlet-name>
            <url-pattern>*</url-pattern>
         </servlet-mapping>
      </web-app>The difference being the <url-pattern> tag. It now tells the web server to handle all files not just .jnlp.
    This allowed me to download version based jnlp entries. I still can't get jarDiff things to work, but I will keep banging my head against the wall till I figure that out.
    Lance

Maybe you are looking for

  • Why is my 7th Generation Ipod Nano not placing music in the same album?

    But to be more specific. Let's say I've bought a music album from iTunes. All the music is in the same album. But there is this other song I've downloaded and I want to put it on that same album. On my ipod, for some reason, they are on separate albu

  • Upgraded to 10.2.0.2.0, but problem with 'identifying control file'

    I just applied the metalink patch to upgrade from 10.2.0.1.0 to 10.2.0.2.0 in order to install the SOA Suite. It was a clean install for 10.2.0.1.0, followed by applying the patch. I am now trying to run the new database, but I get an error: ORA-0020

  • LMS 4.2 discovery does not resolve hostname

    Hi, I'm trying automatic discovery with Ping on sweep module. I'm using the following configuration (you can also see it in the attached file): discovery module - ping on sweep global seed device - 192.168.6.35 preferred DCR display name - DNS resolv

  • [CS3] Create sideline notes from index entries

    When I import a word-document with marked index entries, the index entries are also imported into InDesign. Now I want to use these entries duplicated as sideline (margin) notes into a second column/textframe next to the original text referred to the

  • [ Server applet ] Problem :  Can't instantiate socket

    Hy guys ! i'm having a problem getting my tcp server applet on it's feet, the problem is that it doesn't get past instantiating a socket, if i instatiate it with port nr 80 it throws an exception ( Address already in use: JVM_Bind ), with other ports