surfsista9
asked on
ASP XML Recordset to COM Object
I need to pass an asp xml recordset to a com object so I can write it out to a remote file server as a text file. (need com+ to run under a service account in order to access a remote server)
Can this be done by setting an rs property in the com object to the xml rs in asp or can I pass it as a parameter in a function call to the com object?
I've tried the function but this fails.
I'm not even sure I can do this. I can pass an xml stream from vb to asp but now need to pass it from asp to vb dll.
Can this be done by setting an rs property in the com object to the xml rs in asp or can I pass it as a parameter in a function call to the com object?
I've tried the function but this fails.
I'm not even sure I can do this. I can pass an xml stream from vb to asp but now need to pass it from asp to vb dll.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Gave points to deighc because his answer is closest to the soluiton.
I passed the rs as a variant to a property and this worked...very easy. did not have to recreate the dom.
I passed the rs as a variant to a property and this worked...very easy. did not have to recreate the dom.
Pass the XML as a String parameter to a funcition in the com object.
Then create a Scripting.FileSystemObject
cheers,
Leo