Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition MSXML2.DOMDOCUMENT 4.0 not found
Message
From
13/05/2023 18:18:56
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01686567
Message ID:
01686569
Views:
73
>Recentlyt I have installed VFP8 and VFP9, at least 3 or 4 times on different Win11 machines.
>Without having any of my code running, at startup I get the error message
>
>Class Definition MSXML2.DOMDOCUMENT 4.0 not found...
>
>Have checked google but could not find a link that would work... Surprized with such a common occurance, there is hardly any posts on the subject.

To fix this you need to install the MSXML 4.0 SP3 Parser. I downloaded this some time ago:

Filename: msxml.msi
Date: 2017-09-11 20:39:55
Size: 2.32 MB (2,434,048 bytes)

My guess is any version of MSXML 4.0 will work but I believe the one I have has the latest available bug/vulnerability fixes for that package.

The reason you get that error on startup of the VFP IDE is that, by default after a fresh installation, it tries to open some sort of online news/gallery site supposed to be dedicated to VFP. For this to work, that MSXML package needs to be installed (it doesn't try to use newer major versions such as MSXML 6). Once it's open you can click on a small checkbox at the bottom to prevent it from opening again on IDE start.

I imagine there's some sort of config file or registry update that could be done to "check that box" ahead of time so the default site load never happens and you never get that MSXML error, but I've never been bothered enough by it to chase it down.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform