How can I convert a string array to a variant array in VBscript?

后端 未结 1 371
忘了有多久
忘了有多久 2021-01-20 05:39

I\'m using a function in vbscript which returns a variant array of strings.

JobIDs = objDoc.ConnectedSubmit(objServer)

The problem is I can

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 06:07

    I'm not sure if I understand why it doesn't work, so this answer might not be very helpful. I would have thought that something like this might work (following on from your previous question I'm assuming you're trying to get the cancellation to work):

    For Each id In JobIDs
        WScript.Echo id
        YourJob = YourOutgoingFaxQueue.GetJob(id)
        YourJob.Cancel()
    Next
    

    0 讨论(0)
提交回复
热议问题