07-01-2010 08:42 AM
I created a simple vi with Labview 2009 to reset a counter in registry key. I changed it to an exe. The program runs fine on any machine with XP but it does not work on the machine I need it on which is running Windows 2000 SP4. I installed the 2009 runtime but I continue to get an error when it starts up saying the vi is not executable and that I need the full development to fix the errors. But like I said it works every where else. I've tried other exe wrote in LV2009 on this machine and they work. Is there something in my vi that is not compatible with Windows 2000?
Thanks
Solved! Go to Solution.
07-01-2010 09:27 AM
If you build an exe file on a XP mashine, then it will only work on XP.
You need to build the exe file on a Winodws 2000 mashine for it to work.
07-01-2010 09:35 AM
@dkfire wrote:
If you build an exe file on a XP mashine, then it will only work on XP.
You need to build the exe file on a Winodws 2000 mashine for it to work.
Simply not true - not even close to being true.
Chris,
My guess is that the .NET component is not present on the w2k pc.
07-01-2010 09:59 AM
There was an issue with building DLLs on Windows 2000 - http://digital.ni.com/public.nsf/allkb/431C9BD8F3482033862576A90073441F. Since you say you are trying an EXE, this may not be applicable.
07-01-2010 01:44 PM
I created a simple counting vi and made it into an exe and it worked fine on the Win 2000 pc. What .NET is missing? Where can I get it? ect.
Thanks
07-01-2010 01:57 PM
I think the latest version of the .net framework is 4 but I have no idea what the latest that is supported on win2k. Nor do I remember where the version information is available on win2k. Microsoft.com is the place to look but they no longer support w2k, I believe.
07-01-2010 01:59 PM
I'm building the exe on an XP machine. If that helps
07-02-2010 10:59 AM
Downloaded .NET 2 for windows 2000 and it worked