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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top