Semi-OT classic ASP question

  • Thread starter Thread starter MattB
  • Start date Start date
M

MattB

Hi. I've posted this elsewhere and I just want to be sure I've got the right
answer. I have a asp.net application (vb.net) that consumes data sets passed
as strings from a C++ dll. I'm trying to help a client do the same thing,
but they are insistent on using classic ASP, which I'm less familiar with.
The datasets are ADO stream objects he generated in C++. It's ADO
2.8.

In vb.net I can consume them like this:

Dim dsItem As New DataSet, strXML as String
Dim XMLRead As New System.IO.StringReader(strXML)

dsItem.ReadXml(XMLRead)


Can anyone tell me how the same thing might be done in Classic ASP? I gather
it's more complicated, and one source has said it can't be done. I'm hoping
that wasn't true. I thought I'd try here since I bet at least some of you
are/were classic ASP developers too. Thanks!
 
Hey Matt,

Nothing in ASP 3.0 did this automatically, but you could use the MSXML3 or
MSXML4 COM Libraries to do the work for you. Now I understand these
libraries are an integral part of windows, but may not be for older
versions, so your hosting provider may (should) or may not have it.

How to use it

http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid
=28000438

Otherwise, its a pretty simple process. However, it will not operate just
like a dataset in VB.NET, well, sort of, you have to do a little bit more
work to get it all working... But nothing too hard.

HTH,
CJ
 
Back
Top