Stupid DLL's!

D

Dave Sauny

Hi,

I'm trying to write a program which searches through a directory and
picks up the dll's which i am creating and is then able to use them to
access certain things. I have difined an interface for the dll's in
order to use specific methods, however, in order to use the DLL's they
need to be added to the reference table. The only way I know of doing
this is by right clicking on the references section of the open
project. However, this will not do as I want to add these references
as the program executes, depending on the DLL's in a specified folder,
so they are not known at compile time!

Please help if you know of anyway I can add references to these DLL's
on the fly!

Thank you

Dave
 
H

Herfried K. Wagner [MVP]

Dave Sauny said:
I'm trying to write a program which searches through a directory and
picks up the dll's which i am creating and is then able to use them to
access certain things. I have difined an interface for the dll's in
order to use specific methods, however, in order to use the DLL's they
need to be added to the reference table. The only way I know of doing
this is by right clicking on the references section of the open
project. However, this will not do as I want to add these references
as the program executes, depending on the DLL's in a specified folder,
so they are not known at compile time!

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/PlugIns.zip>
 

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