In my VB6 code i used statement as follows

Set xmldoc = New MSXML2.DOMDocument26

It is working fine in windows server 2003 but it is throwing an error in windows7 as "ActiveX component can't create object 429"

So, I used a statement as follows

Set xmldoc = New MSXML2.DOMDocument30

Now it is working fine in both windows7 and windows server 2003

Can u please some one explain what could be the region the statement with document26 is failing in windows7 while the statement with document30 is working

Please do needful...