Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
scripts
hosting
jscript
remote
scripting.wsh
scriptlets
vbscript
virus.discussion
  
 
date: Tue, 20 May 2008 04:54:41 -0700 (PDT),    group: microsoft.public.scripting.hosting        back       


How to retreive user function and variables list?   
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.
date: Tue, 20 May 2008 04:54:41 -0700 (PDT)   author:   kalpi

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us