LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find references to ActiveX control

Solved!
Go to solution

Is there a way to determine where an activex control is used within a labview project?  I have a moderately large project that previously used an adhoc combination of XML parsers, including the ActiveX XML parser from Microsoft (MSXML).  I am trying to replace all instances of MSXML with either the builtin labview XML VI's or calls to our own DLL that make more complicated sequences of calls to the Xerces/Xalan XML libraries.  I want to make sure I replaced all references to the MSXML parser without having to inspect all the VI's in the project.  I was hoping that I could right click on an "Open Automation" function block and select the "Find All Instances" option, but apparently this is not availible as it is for a VI I created.  Also, I was hoping that if I went to the Project Explorer, it would show that the msxml.dll file was listed as a dependency where I could do a "Find Callers" like an ordinary dll referenced through a "Call Library Function Node".  Does anyone have a suggestion on how I can automate this search?  

 

Thanks.

0 Kudos
Message 1 of 3
(2,652 Views)
Solution
Accepted by topic author kevin.moll

The "Find all Instances" is only available for VIs that you create, but you can still search for the Automation Open function in your project. Just open your project and open up a VI. Then select Edit -> Find and Replace. In this dialog you can search for specific functions across the entire project.

0 Kudos
Message 2 of 3
(2,642 Views)

Thanks, that is exactly what I was looking for.

0 Kudos
Message 3 of 3
(2,634 Views)