how to Dynamically Load .dll at runtime??????

N

NY Terry

Dear all:
anyone could tell me how to load .dll at runtime? I'm
writing a class (a .dll file) for my .aspx web page. In this class I have to
load other .dll at runtime. The name of .dll would be stored in database and
I would get it then load it. Therefore, at the time I compile this .dll
file, I don't know which .dll I will load at runtime. Is it possible to do
it? As I know so far (I'm a newbie here ^^" ), late binding is available for
those .dll which names are known already.
 
F

fzjr4n

Use the Assembly.Load() static method to load a .dll file at runtime. You
can then use reflection to access the classes...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top