-
October 18th, 2012, 09:50 AM
#1
Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
Hi,
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...
Regards
-
October 18th, 2012, 11:22 AM
#2
Re: Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
The simple answer..
There are several versions of DOM (Document Object Model) and several can exist in unison on one system..
So your Server 2003 has both 2.6 & 3.0, however your Windows 7 does not have 2.6, but has 3.0 ...
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
October 18th, 2012, 11:54 PM
#3
Re: Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
Thats fine.
But can you please tell me how to get document2.6 in windows7
Regards
-
October 19th, 2012, 12:27 AM
#4
Re: Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
will the problem solve if we register msxml.dll
-
October 19th, 2012, 01:32 AM
#5
Re: Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
Thing is DOM is part of Web browsers, and AFIK Ver 3.0 is in IE 8, so its possible that you'll need to find a way to install an older version of IE to get 2.6 on Win 7..
Copying files over and self registering them may help, but no guarantee..
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
October 19th, 2012, 02:12 AM
#6
Re: Problem with MSXML2.DOMDocument26 in VB6 code in Windows7
I wouldn't install the document26 version on Windows 7, even if it is possible. Why? Well, it's old and discontinued with Vista onwards. You have to keep in mind with each new OS, newer versions of files come out. It is our job as programmers to be forward compatible in these cases, instead of backward compatible.
BTW, my VB 6 skills are a bit rusty, so if my advice doesn't help, blame it on my age
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|