codedom - execute functions

Hello everyone I have a questions regarding codedom please help.

I'm writing an application that does runtime translation (simular to FoxPro's macro expansion).  For this project I'm researching using codedom.

I need to create functions at runtime, add objects such as datatables, and call them at runtime.  Alot of the articles show me how to generate code at runtime, but I'm having trouble find info on how to execute the functions within the compiled program - SPECIFICALLY STRICTLY in vb.net.

So if you can help me please do, much appreciated.  Please do not offer to help me in cSharp, Java, or ANY other language, because I only have VB.NET 2003 standard, and the vague helpfiles are hard enough to understand as it is.


Answer this question

codedom - execute functions

  • jeremy2006

    here is your answer

    http://www.planet-source-code.com/vb/scripts/ShowCode.asp txtCodeId=967&lngWId=10

    check out some of my other projects.

    http://www.planet-source-code.com/vb/scripts/BrowseCategoryOrSearchResults.asp lngWId=10&blnAuthorSearch=TRUE&lngAuthorId=2212433441&strAuthorName=Jose%20Fuentes&txtMaxNumberOfEntriesPerPage=25

    Hope this helps

    Joe

  • wattgn

    Thanks jfuentes!  This is there a book out there you know of that specializes in the codedom technology   Much appreciated, thanks!
  • DbHd

    Hi

    Look here:
    <a href="http://weblogs.asp.net/jan/posts/28744.aspx">http://weblogs.asp.net/jan/posts/28744.aspx</a>

    It's in C# but there is plenty of explanation, so maybe it can help you.

    Jan

  • Dragan Panjkov

    I am not aware of any book covering CodeDom and/or Reflection. But I found <a href="http://www.devcity.net/net/article.aspx alias=codedom_1">this DevCity article</a . It's a good starting point too!

    Jan

  • albedo20

    Yes thanks for the response.  It looks like there are some good examples, that I could probably use.  Unfortunately I dont know how to translate Csharp code, as mentioned in the original post.  I'm struggling as it is, to understand VB.NET 
  • codedom - execute functions