You can generate code dynamically in VB.net....its not an easy task. You have to use the System.CodeDom namespace to do this.

Here is an example of what i mean:

http://www.c-sharpcorner.com/Code/2005/May/DynamicCreatingAppl.asp

AFAIK you can not do something like eval("MessageBox.Show(""Hi"")")

On 4/20/06, Miguel de Icaza <[EMAIL PROTECTED]> wrote:
Hey,

    Am not sure if VB.NET implements "eval", as in having the VB
compiler available at runtime to generate code.

    This is something that mcs/gmcs is not well suited for, and might be
a reason to look into Boo.

    The other issue is that we would have to relicense mcs/gmcs into MIT
X11 or maybe LGPL (if we must implement eval).
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb



--
Kevin

-----------------------------------------------------------------
Anyone who doesn't take truth seriously in small matters cannot be trusted in large ones either.
Albert Einstein

I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso (1881-1973)

A thinker sees his own actions as experiments and questions--as attempts to find out something. Success and failure are for him answers above all.
  - Friedrich Nietzsche
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb

Reply via email to