jeudi 25 juin 2015

Reflection Technology VB.NET 2012 - Run a string in a textbox as a function

My aim is to get an entire function definition as input inside a textbox, at runtime.

Then convert the string into a runnable function.

create a thread. and call the function when the thread starts.

I referred to the below link,for calling a function through Threading. Multithreading A Function in VB.Net

But in my case, the function will be available only at runtime. That too, as string.

And another complexity here is, I need to return a value from the function and pass on to the next thread. How can I do this?Please let me know.

Thanks in advance.





Aucun commentaire:

Enregistrer un commentaire