How can we retreive the list of functions and variables in a VBScript using Script engine? I have created a project which makes use of Active Script Hosting to execute dynamic VBScript provided by a user. Can we retreive the list of functions and variable names sent to the script engine. For eg: If the script sent to the VBScript engine is: Dim gVar1 Function Function1 MsgBox "ABC" End Function Expected output from the sample: Variables used: gVar1 Functions list: Function1 Thanks in advance.