PureDispHelper & MSXML error

Windows specific forum
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

PureDispHelper & MSXML error

Post 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.
Dare2 cut down to size
User avatar
Kiffi
Addict
Addict
Posts: 1510
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: PureDispHelper & MSXML error

Post 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
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

Hi Kiffi

Thanks. I'll try that.

lol, I know doodly-squat about these things.
Dare2 cut down to size
Post Reply