Run Dynamic Code

  • Thread starter Thread starter Manuel
  • Start date Start date
M

Manuel

I'm using Visual Basic 2005, is there a way to run dynamic code?

Ex:
Dim strToRun as String =""
strToRun &= "dim s as string = ""Hello World!""" & vbcrlf
strToRun &= "Messagebox.Show(s)"
[SomeClass].Execute(strToRun)
 
Manuel said:
I'm using Visual Basic 2005, is there a way to run dynamic code?

Ex:
Dim strToRun as String =""
strToRun &= "dim s as string = ""Hello World!""" & vbcrlf strToRun
&= "Messagebox.Show(s)"
[SomeClass].Execute(strToRun)

This code is part of which procedure of which class of which assembly?

Armin
 
Back
Top