DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Creating XML3 document in a VB MTS component

  1. #1
    a29379 Guest

    Creating XML3 document in a VB MTS component

    I am currently trying to use XML3 objects in a VB6
    dll who is going to run in Transaction server.
    I get the following errors:

    Set xmlDoc =
    GetObjectContext.CreateInstance("MSXML2.DOMDocumen
    t30")
    --> ActiveX component can't create object

    'Set xmlDoc = CreateObject("MSXML2.DOMDocument30")
    --> ActiveX component can't create object

    Set xmlDoc = New MSXML2.DOMDocument30
    --> OK


    Anybody has a clue about why?
    What is the "correct" implementation"
    Do I have to use it in a library packet?
    ....

    /a



    --
    ==============================
    "We have met the enemy, and it is us"
    /Pogo


  2. #2
    Russell Jones Guest

    Re: Creating XML3 document in a VB MTS component

    Try this: GetObjectContext.CreateInstance("MSXML2.DOMDocument.3.0")

    "a29379" <a29379@my-deja.com> wrote in message
    news:3abb355f$1@news.devx.com...
    > I am currently trying to use XML3 objects in a VB6
    > dll who is going to run in Transaction server.
    > I get the following errors:
    >
    > Set xmlDoc =
    > GetObjectContext.CreateInstance("MSXML2.DOMDocumen
    > t30")
    > --> ActiveX component can't create object
    >
    > 'Set xmlDoc = CreateObject("MSXML2.DOMDocument30")
    > --> ActiveX component can't create object
    >
    > Set xmlDoc = New MSXML2.DOMDocument30
    > --> OK
    >
    >
    > Anybody has a clue about why?
    > What is the "correct" implementation"
    > Do I have to use it in a library packet?
    > ...
    >
    > /a
    >
    >
    >
    > --
    > ==============================
    > "We have met the enemy, and it is us"
    > /Pogo
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center