I need to be able to execute a command that is defined in a string. In
VBScript, I can do it with the Eval function. How can I do it in VB.Net?
I need something like:
Dim x As Integer
Eval("x = 3")
MsgBox x ' Should show a popup with 3 as the message
I'm in desperate need of this function. There must be something similar in
VB.Net.
Thanks in advance,
Dan
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003
VBScript, I can do it with the Eval function. How can I do it in VB.Net?
I need something like:
Dim x As Integer
Eval("x = 3")
MsgBox x ' Should show a popup with 3 as the message
I'm in desperate need of this function. There must be something similar in
VB.Net.
Thanks in advance,
Dan
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003
Comment