LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2009 .exe not working with windows 2000

Solved!
Go to solution

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

0 Kudos
Message 1 of 8
(3,283 Views)

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.

0 Kudos
Message 2 of 8
(3,278 Views)
Solution
Accepted by topic author Chris Co-op

 


@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.

 

 

0 Kudos
Message 3 of 8
(3,273 Views)

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.

George M
National Instruments
0 Kudos
Message 4 of 8
(3,264 Views)

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

0 Kudos
Message 5 of 8
(3,250 Views)

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.

0 Kudos
Message 6 of 8
(3,241 Views)

I'm building the exe on an XP machine. If that helps

0 Kudos
Message 7 of 8
(3,237 Views)

Downloaded .NET 2 for windows 2000 and it worked

0 Kudos
Message 8 of 8
(3,205 Views)