> Anybody can help me in C#.net how to do macro like vfp..
>
>
> Foxpro style:
>
> mystring = "thisform.textbox."
> myprop = "enabled"
> mytrue = "=.T."
>
> mymacro = mystring+myprop+mytrue
>
> &mymacro
>
>
> here's what I need in C#.net
>
> textBox1.Enable = true; - this would be my execution.
>
> string mystring mytexbox = "textBox1";
> string myprop = "Enable ==";
> boolean mytrue = true;
>
> How to execute it in C#?
>
>
> Thanks in advance...
>
> Gary
There is no such thing as macro substitution in C# or
VB.Net.
VFP.Net is the only language that has that.
So I am afraid that you have to find other ways of achieving what you want.
Boudewijn Lutge®ink
The difference between genius and stupidity is that genius has its limits