LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

system.dll missing

Solved!
Go to solution

Hi,

 

I wrote a labview program, which needs to talk to MS powerpoint (I have version 2010) and generate reports. I use ActiveX to access the functions in powerpoint. Everything works fine in LV 2012 SP1. However, when I compiled the program into a exectuable and tried to run it, it complained "System.dll is missing". It seems like it is related to .NET. Any idea?

 

Thanks,
Joseph

0 Kudos
Message 1 of 3
(3,736 Views)

First off, I would try adjusting your settings in the build spec. ie. Experiment with the settings by:

 

1. Going to the advanced category and generating a build log file

2. Enable debugging

3. Go to additional exclusions and modifying these settings by disconnecting type defs and de-selecting all the other options. 

 

If this doesn't work try deleting the build spec and starting the process over. Build specs can sometimes become corrupted.

 

I am not sure what system.dll is used for but if it is needed for some reason then the best thing to do would be to figure out what system.dll is where is should be located and see if it is there. If it is not you may be able to see troubleshooting steps online to recover it. Do you know any more information about this dll? It seams to be so general that searching for it is difficult. I would advise against download just anything off the internet named system.dll just as a warning. If it is a commonly needed dll. It would be a target for malware or virus'. 

 

Ryan
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,697 Views)
Solution
Accepted by topic author joezhang

Hi Ryan,

 

Thanks for your reply.

 

I figured out the progblem, which actually was un-related to powerpoint ActiveX. It was related to a .NET call figure out the version of the software.

 

http://digital.ni.com/public.nsf/allkb/935BA7FB426305398625711E0055F1FA

 

I switched to the fileVersionInfo.llb instead of using .Net and everything worked.

 

Joseph

0 Kudos
Message 3 of 3
(3,687 Views)