Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which version of Microsoft XML (msxml?.dll) to reference in my VB6 project

Tags:

xml

vb6

I am starting getting to grips with XML through VB6. I frequently find the advice to reference version 2.6 of Microsoft XML. However, on my development computer I get a wealth of choices ranging from version 2 (msxml2.dll) to version 6 (msxml6.dll)

Which one to choose?

like image 717
Dabblernl Avatar asked Jul 15 '10 10:07

Dabblernl


People also ask

What version of MSXML is installed?

How to determine the MSXML version. Right-click the Msxml6. dll file, and then click Properties. Click the Version tab to see the version information.

Is MSXML 6.0 supported?

It is an upgrade but not replacement for versions 3 and 4 as they still provide legacy features not supported in version 6. Version 6, 4, and 3 may all be installed and running concurrently. MSXML 6 is not supported on Windows 9x.

Where is MSXML dll located?

MSXML will put the msxml4. dll file in a subfolder inside the C:\Windows\ folder. If the program that needs this DLL file doesn't look for it in that folder specifically, then reinstalling should reconfigure the program to either install a new version of msxml4. dll or copy it from the Windows folder.

How do I fix Microsoft XML parser MSXML and XML Core Services unsupported?

Solution. Upgrade the software packages responsible for the unsupported DLL versions or upgrade to a supported version of Windows (Vista / 2008 or later). Alternatively, uninstall the outdated MSXML or XML Core Services.


1 Answers

MSXML3 shipped with Internet Explorer 6, and is a pretty safe bet for being installed on all versions of windows today. If you are going to use a later version, you are going to have to ship the installer for it along with it. BTW nonnb is wrong and the supported version of MSXML4 SP3 is (see download details: ),

MSXML 4.0 SP3 is supported on the following operating systems:

  • Windows 2000

  • Windows Server 2003

  • Windows XP

  • Windows Vista

  • Windows Server 2008

    and if you are going to go with an installer and not support Win95/98, you might as well go with MSXML6, use the latest code and use the MSI provided.

like image 148
Kris Erickson Avatar answered Nov 15 '22 16:11

Kris Erickson