| |
ebgreen
Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
|
Old question, but it crops up every once in a while so I figure an answer is worth the effort so that people will find it with a search. To pass an object back out of a function, you need to use Set. So, for the code posted you would need to do: Function openXML (xml_name) Set xml_object = CreateObject("Microsoft.XMLDom") xml_object.async = false xml_object.load (Server.MapPath(xml_name)) Set openXML = xml_object End Function
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|