473,387 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Dinamically loads unreferenced dlls

Hi all.

I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.

How can I do it using pure .Net?

Thx in advance.

[]s
Cesar
Nov 21 '05 #1
2 836
"Ronchese" <ro******@smlinfo.com.br> schrieb:
I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.


Yes, this can be done with managed code. Basic plugin sample:

<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://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
Thx man.

That samples will be valuable! I'll use the reflections to do the work.

[]s
Cesar

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> escreveu na mensagem
news:%2****************@TK2MSFTNGP12.phx.gbl...
"Ronchese" <ro******@smlinfo.com.br> schrieb:
I'm planning build a user interface program that loads several dlls from a
file list (like plugins). That dlls are not referenced on my program.

That dlls can be build for any person, using one specific interface, and
just added to file list and the my program will be able to load it.


Yes, this can be done with managed code. Basic plugin sample:

<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://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tzu-Chien Chiu | last post by:
I know many linkers can remove unreferenced functions while linking the object files, but I need a tool/script to list all unreferenced symbols. -- Tzu-Chien Chiu XGI Technology, Inc - Extreme...
2
by: Daniel | last post by:
Hello!!! I'm creating controls dinamically in ASP.NET using VB. The problem is that i don't know how to catch the event of each button that i've create (the buttons are created dinamically). ...
2
by: Marco | last post by:
How I can create TextBox dinamically. I have to create 10 textbox dinamically which name will be txtBox_01, txtBox_02, etc... Thanks.
2
by: Jensen bredal | last post by:
I'am trying to change the style of my LinkButton control . I have a set of five control and i need to hilight the selected one. I want to achive this by setting MyLinkButton.CssClass="newStyle"...
2
by: Fabio Cavassini | last post by:
I have this code that load HTML tags (no including <html> or <body>) into a DIV dinamically... after correctly retrieving the HTML, I assign it to my DIV Container ...
32
by: Mateo | last post by:
I have char *array and it is dinamically alocated.... When I pass it to other function, I need to determine size of this array.... Problem: sizeof operator does not work with dinamically alocated...
1
by: Bern McCarty | last post by:
We upgraded a bunch of MEC++ code to C++/CLI about 10 months ago and we've noticed that our images bloated quite a lot in the process. Upon investigating I observed that when a /clr compiland...
5
by: Bern McCarty | last post by:
We upgraded a bunch of MEC++ code to C++/CLI about 11 months ago and we've noticed that our images bloated quite a lot in the process. Upon investigating I observed that when a /clr compiland...
3
by: Kojikabutosv | last post by:
Hi everybody, i have a master page and with tree buttons, how configure the buttons to load pages dinamically in wichone pages. Regards,
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.