Results 1 to 3 of 3

Thread: user defined - error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    96

    user defined - error

    Hi guys,

    I declared a varibale like this..

    Dim oXML As MSXML2.XMLHTTP30

    Set oXML = New MSXML2.XMLHTTP30

    then when I run the project -


    It gives an error "User-defined type not defined"

    DO you guys explain me why it gives error even I declared it?

  2. #2
    Addicted Member
    Join Date
    Mar 2001
    Location
    Greece
    Posts
    184
    That happens beacause you have not referenced the required dll that contains the required classes.

    You need to click on the menu Project -> References and select the microsoft XML v3.0 library!

    Hope this helps...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    96
    It works now, thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width