Michael Aivaliotis Posted September 15, 2006 Report Posted September 15, 2006 The 8.20 exe builder allows setting of a version number. Is there any way to access this programmatically within a built app? I tried the App version property but it returns the LV version. Quote
Ton Plomp Posted September 15, 2006 Report Posted September 15, 2006 The 8.20 exe builder allows setting of a version number. Is there any way to access this programmatically within a built app? I tried the App version property but it returns the LV version. I use this code: Found it on the NI-ftp site and modified it a bit, the down side is that it uses .NET doesn't work on all computers. Ton Quote
Michael Aivaliotis Posted September 15, 2006 Author Report Posted September 15, 2006 I use this code: Found it on the NI-ftp site and modified it a bit, the down side is that it uses .NET doesn't work on all computers. Ton Can't understand how that works. Can you attach the code or give some more details? I mean what class is that? Quote
Aitor Solar Posted September 15, 2006 Report Posted September 15, 2006 I mean what class is that? Is the .NET class "System.Diagnostics.FileVersionInfo". Saludos, Aitor Quote
Ton Plomp Posted September 15, 2006 Report Posted September 15, 2006 Can't understand how that works. Can you attach the code or give some more details? I mean what class is that? Download File:post-2399-1158310854.vi Quote
george seifert Posted September 15, 2006 Report Posted September 15, 2006 The 8.20 exe builder allows setting of a version number. Is there any way to access this programmatically within a built app? I tried the App version property but it returns the LV version. Here's a subVI that I use to get the info. George Download File:post-2786-1158324922.vi Quote
jhoskins Posted September 15, 2006 Report Posted September 15, 2006 Here is a generic about VI that I created a while back. It is not perfect but gets the job done. It uses the same .net technique.you would think that NI would be able to incorporate this into LV. Download File:post-310-1158325682.vi Quote
Ton Plomp Posted September 22, 2006 Report Posted September 22, 2006 Here is a generic about VI that I created a while back. It is not perfect but gets the job done. It uses the same .net technique.you would think that NI would be able to incorporate this into LV. NI has some time (since february) a knowledge base entrie on this item: NI KB Ton Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.