Danijel,
Reflection *is* the way to do this, but go ahead and read Rick's article :
(
http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm)
It's been awhile since I read it, but I'm sure that he has some nifty little trick to make it easy. In fact, here's a quote from the beginning of the article:
"In this article, Rick takes a look what it takes to execute code dynamically with the .Net framework and introduces a class that simplifies the tasks by wrapping the details of the process in an easy to use interface that only requires a few lines of code."
~~Bonnie
>>You know in JSCript, there is an eval() function allowing you to execute a string as code. Is there any way of doing this in VB.NET?`
>>
>>Thanks
>
>By the way, I am aware of System.Reflection, but then I need to create separate assembly for each time I want to reference something. I would preffer if it were possible to keep the code in one place and reference function/sub/class within the same project.