sourabhjha
Programmer
While using MSXML3.0 reference in my program i am getting runtime error saying "ActiveX component cannot create objects"
My piece of code is:
Dim xmlDoc As MSXML2.DOMDocument30
Set xmlDoc = New MSXML2.DOMDocument30
Here i tried creating the object with all the available option like
MSXML2.DOMDocument30,
MSXML2.DOMDocument26 and
MSXML2.DOMDocument
Any clue as to which other reference i am missing or what else is causing the problem.
And why is that even after using the msxml3.dll in project-reference the object i am creating is of "MSXML2".Should it be MSXML3 or MSXML
PS:earlier i wan using MSXML2.6 in the reference.Then also i was facing the same problem.I upgraded the reference version but that didn't help.Only diff was that the "MSXML2.DOMDocument30" was not available then
Thanks in advance
-Sourabh
My piece of code is:
Dim xmlDoc As MSXML2.DOMDocument30
Set xmlDoc = New MSXML2.DOMDocument30
Here i tried creating the object with all the available option like
MSXML2.DOMDocument30,
MSXML2.DOMDocument26 and
MSXML2.DOMDocument
Any clue as to which other reference i am missing or what else is causing the problem.
And why is that even after using the msxml3.dll in project-reference the object i am creating is of "MSXML2".Should it be MSXML3 or MSXML
PS:earlier i wan using MSXML2.6 in the reference.Then also i was facing the same problem.I upgraded the reference version but that didn't help.Only diff was that the "MSXML2.DOMDocument30" was not available then
Thanks in advance
-Sourabh