Need to execute a VBScript and obtain return value

Does this solution in this thread help resolve your issue?