mercredi 24 octobre 2018

How to get access to the functions from a module

I need to get access to the public functions in a module (not a class). This is what I have tried:

    Dim asm As Reflection.Assembly = Assembly.GetExecutingAssembly
    Dim my_modules = asm.GetModules
    For Each my_module In my_modules
        Dim all_methods = my_module.GetMethods
        Stop
    Next

But that doesn't even get down to the module itself, I just get the name of the executable.





Aucun commentaire:

Enregistrer un commentaire