XjeaxaxX XjeaxaxX

Niner since 2005


  • Paul Vick and Erik Meijer - Dynamic Programming in Visual Basic

    Although a long video, it touched on a topic with which I have been able to get very little support.  On my current project, I have a great need to call methods and variables dynamically... and researching to find out how to do this via reflection has been, to put it mildly, a pain.  It seems that the VB world consists of two levels of programmers:

    A)  Those who know reflection backward and forward and all the technical mumbo-jumbo about how the compiler works.

    B)  Those who do not know anything about reflection.

    In my experience, it seems that A) and B) cannot and do not know how to converse with each other in plain English.  I think A) was just born that way, for they often fail to know how to instruct others in their godly ways.

    As it was, I ended up using stuff like:

    CallByName(Me, "Method" & integerVariable, CallType.Method, parametersArray)

    just to call:
    Method2(param1, param2)
    or Method3(param1, param2, param3)

    I took me about 7 full pages of written dialouge back and forth between about 20 so-called "experts" to discover even this!

    With the next release, I hope that this becomes an easier task.  I am excited about things such as:


    as well as the dynamic interface options.

    Although this info could have been relayed in about 5 minutes, I really appreciate you approaching the subject in "real English" terms!