Fred,
Rick Strahl just released a tool that allows functionality similar to EVAL() and EXECSCRIPT(). Here is the link:
http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm>hi guys ,
>is there a similar command to VFP's eval or & in c#
>
>also
>
>i have a sub class text box in a separate project in the same solution as my main application, at run time i want to set the back color for all text boxes to a user define color set in the application.
>In vfp I would do this
>** init event of the sub classed text box
>this.backcolor = oapp.defaultbackcolor in the init of the sub class text box
>
>I do the same thing in c# and says it cant find the namespace of my main application.
>
>the default backcolor variable is static var set in a main application class,which has global scope.
>
>can anyone help
>
>tia
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi