Click to See Complete Forum and Search --> : ADODB.Stream pain.


Kuriyama
12-16-2008, 07:58 AM
Bare with me here as this is something I can do easily in Java, but I'm having issue doing this in VBScript. . .

I'm writing shopping cart functionality for a site that I'm expanding. What I would LIKE to do is store a Scripting.dictionary object into MS SQL2000. The hash would contain sku as the key and an ASP object(class instantiation) as the item


The issue that I'm having is that I'm unable to find a way to convert the Scripting.Dictionary object into a binary object. From what I have read these sorts of conversion are done via the ADODB.Stream object. The problem is that all the examples that I find deal with pulling information out of a file rather than a local variable. Can anyone give me some guidance, and if possible an example?