Hello there,
I need to write a simple app in VB and I need to know if is it possible to run code written in a string variable and evaluate .
I.e., let's say I have this:
___________________________________
Dim s as string
s="""The current year is "" & CStr(year(date))"
msgbox evaluate(s)
___________________________________
where the evaluate function should return the result of evaluating the expresion within string s
Thanks in advance,
Rares