>I tried your example and it gives me an error "user-defined type not defined" pointing here:
>
>Dim oCtrl As ScriptControl
>
>Also, why Eval() function seems unavailable in VB? Is there such a function?
You need to add a reference to the Script Control. If it is not on your system go to:
http://support.microsoft.com/support/kb/articles/Q184/7/39.ASP
George