Page 1 of 1

PureDispHelper & MSXML error

Posted: Sun Apr 29, 2007 10:41 am
by Dare
Hi,

When I tried to run the msxml example in ts-soft's PureDispHelper lib I got "invalid class string" error on object creation.

I have msxml, msxml2, msxml3 and msxml6 in the windows/system32 folder.

Changing the creation line to

Code: Select all

oDom = dhCreateObject("MSXML2.DOMDocument.6.0")
(from .4.0) resolves this.

(Changing it to .3.0 also works).

The question is how do you go about finding out which (if any) versions are available on a client machine?


Side note, different issue: Trying httpget example doesn't get anything. I end up with an empty window. I am assuming it should be loading the page.

Edit: On the side note, I just realised that the editorgadget was set to zero width and height. :oops: So no wonder I saw nothing. That bit solved.



Still wondering how to know (apart from checking the directory) what versions of msxml?.dll are installed on a system, so if anyone can help, appreciated.

Re: PureDispHelper & MSXML error

Posted: Sun Apr 29, 2007 10:35 pm
by Kiffi
Hello Dare,

i think, the best way is to write no version number at all.

Code: Select all

dhCreateObject("MSXML.DOMDocument")
(i suppose in this case the newest version of msxml is used)

Greetings ... Kiffi

Posted: Sun Apr 29, 2007 11:44 pm
by Dare
Hi Kiffi

Thanks. I'll try that.

lol, I know doodly-squat about these things.