LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create ActiveX control from MSXML V4.0

I downloaded MSXML V4 from the MS website and installed it   I expected to see it in the list box when creating a new ActiveX control for my CVI application, but I did not.  Should it be there?
0 Kudos
Message 1 of 5
(4,315 Views)
Howdy Steve,

You will need to create an instrument driver in CVI for those ActiveX components. You will find your DLLs that you installed with MSXML shown in the ActiveX Controller Wizard (Tools >> Create ActiveX Controller). When this tool is opened, scroll down the list to Microsoft XML.

Hope this helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 5
(4,296 Views)
Johnathan,

Therein lies the problem.  When the wizard is opened and I scroll down the list, I find these two entries:
   Microsoft XML, V6.0
   Microsoft XML, Version 2.0
Neither of these two entries are related to MSXML V4.0

0 Kudos
Message 3 of 5
(4,288 Views)
Hi Steve,

I have the same issue on my machine. I tested out installing MSXML 4.0 on a clean machine and CVI does show that entry in the ActiveX Controller Wizard. I then used Microsoft's OLE/COM Object Viewer to see all the type libraries installed on my machine. This tool shows the same UUID (Universal Unique Identifier) for all the versions of MSXML (See attached screenshot).  Thus CVI is only showing the latest and earliest versions.  So, you can either use the MSXML v6.0 option or browse for the v4.0 option (C:\Windows\System32\msxml4.dll). Either way, you will be in good shape.

Hope this helps!

Best Regards
Jonathan N.
National Instruments
0 Kudos
Message 4 of 5
(4,259 Views)
That works.  Thank you Johnathan.

It would be great if there was a code sample that would show how XML schemas can be used for validation.
0 Kudos
Message 5 of 5
(4,249 Views)