Please HELP: PLUGIN For .NET application

M

Mat

i am developping invoice windows application.
Some features are specific for each company , which use the application. or
some companies need additional features.
i would like then to develop these features as plugin.
Plugins will be put in directory PLUGINS in application directory. each
plugin will be put a directory (any name) under directory PLUGINS and can
have multi files (dlls).

Question:
How can i recognize the main dll of the plugin( dll which contains connect
class) and load it on runtime. yes, System. reflection but i need concrete
example

in VB6 i can use CREATEOBJECT("main.connect"). where main is assembly
name(main.dll) and connect is the class.
In my case, main.dll can be any name. budget.dll, specialexpenses.dll. but
each of them contains class connect.

does it have equivalence in .NET?
 
H

Herfried K. Wagner [MVP]

* "Mat said:
Some features are specific for each company , which use the application. or
some companies need additional features.
i would like then to develop these features as plugin.
Plugins will be put in directory PLUGINS in application directory. each
plugin will be put a directory (any name) under directory PLUGINS and can
have multi files (dlls).

Question:
How can i recognize the main dll of the plugin( dll which contains connect
class) and load it on runtime. yes, System. reflection but i need concrete
example

Simple example:

<URL:http://dotnet.mvps.org/dotnet/samples/codingtechnique/downloads/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