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?
Printable View
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?
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...
:cool:
It works now, thank you :)