I use a function in vbscript that returns a variable array of strings.
JobIDs = objDoc.ConnectedSubmit(objServer)
The problem is that I cannot get the job id values from this array, since vbscript does not process typed variables. It just gives a type mismatch when I try to do something with the JobID array. I found promising information here , but when I used the conversion function:
Set objConverter = CreateObject("ADS.ArrayConvert")
ConvertedJobIDs = objConverter.CStrArray(JobIDs())
This gives me a mismatch error of the same type. Did I miss something obvious here? This is apparently the official solution for Microsoft, so I'm not sure why it seems to have the same problem, namely: I am not able to do anything at all using an array of strings. I saw how the first part of my question was answered in many places, everyone pointed to the MS solution, but I still have to see the subsequent reports that someone is successfully using this solution.
Joe m source
share