Home All Groups Group Topic Archive Search About
Author
14 Apr 2005 10:39 AM
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

Author
14 Apr 2005 10:47 AM
Herfried K. Wagner [MVP]
"Dave Sauny" <davesa***@gmail.com> schrieb:
> 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>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
14 Apr 2005 10:56 AM
Supra
take  alook of tutotial
http://www.devcity.net/Articles/111/1/vbnet_se_dll.aspx

Dave Sauny wrote:

Show quoteHide quote
>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

>