Posted on 2007-08-02
Last Modified: 2013-11-20
What is the difference between
CreateInstance("MSXML2.DomDocument") and
Question by:pbsmbc
    LVL 19

    Assisted Solution

    LVL 22

    Accepted Solution

    Microsoft.XMLDOM refers to the the xml1 dom produced by microsoft.

    MSXML2.DomDocument is the version independent class for the MS XML DOM for 2

    "Microsoft.XMLDOM" is the old MSXML v1.0 DOMDocument, so don't use that one.
    "Msxml2.DOMDocument" is the version independant ProgID. Version independant
    ProgIDs were removed from MSXML4, so this one will likely point to the v3.0
    DOMDocument, or to whatever version you had installed before 4.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
    If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now