I am writing some vbscript and I am not sure how to deal with this issue. I need to pass a file to a function but it requires the file to be passed as an object in an array since there could be multiple files.
I am having a hard time figuring out how to add the file as an object to the array. Please see my code below:
Dim iattachments(0)
iattachments(0) = "C:\temp\myfile.xml"
iedrs.ExecuteFile (iAppName, iAppErrorText, iAppID, (iattachments), iCameFrom)
I am having a hard time figuring out how to add the file as an object to the array. Please see my code below:
Dim iattachments(0)
iattachments(0) = "C:\temp\myfile.xml"
iedrs.ExecuteFile (iAppName, iAppErrorText, iAppID, (iattachments), iCameFrom)