Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21933

vb6 always loads the wrong dll msxml6 version

$
0
0
Hi
I am trying to get the following code working on Windows 8

Dim objXML As MSXML2.DOMDocument
Dim objNode As MSXML2.IXMLDOMElement

I understand that the version of MSXML6 that comes with windows 8 doesn't expose the DomDocument, so I've copied the win 7 version of the dll onto my win 8 PC. several issues

win 8 wont let me copy the win 7 version over the win 8 version of the file in system32 even though I am an admin account, AND I have ownership of the file. Keeps saying Access denied. May be something else is using it but I can't work out what. I've tried booting in safe mode so not much is running.

I also registered the win 7 version on my win 8 pc in some other folder and added that dll in the references in my project.... it works - but when I reload the project VB is always pointing to the win 8 version and I cant run the code again.

Stumped... please help, someone! thanks all.

Viewing all articles
Browse latest Browse all 21933

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>