Scripting Dictionary .Add Method Fails
Hey there,
I am using the Scripting Dictionary object to pass a Key with another object and it fails.
This one works fine:
Dim myObject : Set myObject = Server.CreateObject("Scripting.Dictionary")
myObject.Add"Time","October 5th, 2006"
This one fails:
Dim objFileInfo : Set objFileInfo = New CurrentDate
Dim myObject : Set myObject = Server.CreateObject("Scripting.Dictionary")
myObject.Add"Time", objFileInfo
I am trying to pass the object objFileInfo through the dictionary object and it fails everytime.
This works on Microsoft IIS.
As a sites say, anything can be passed except arrays.
http://ns7.webmasters.com/caspdoc/html/vbscript_dictionary_object_add_method.ht m
Any help or work arounds would be greatly appreciated.

