473,320 Members | 1,904 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,320 software developers and data experts.

Problem in LoadPlugins in Application

Hai all,

i am developing an applciation which loads all configuation plugins in
MainForm when clicks on corresponding plugin button.

let me explain :

SomePlugin is a class library projects which contains 3 UserControls.Every
user control has its own functionality like save,clear,edit....etc.

i buit that SomePlugin Project for generation a .dll .

In my MainApplication i had one folder called Plugins.i copied SomePlugin
dll in that folder.

In MainApplication if i click on a button i need to load the SomePlugin
library dynamically and need to show that UserControl names as linkButtons
in one panel.
And if click on any of the Link i need to show that corresponding
usercontrol in anther panel.

If i have 5-6 Plugin applications and clicking one by one i need to unload
active plugin form Memory and need to show current plugin.

can any one help me please..

thanking u ...




Nov 24 '06 #1
2 1196
i want to load user controls ..
"Vadym Stetsyak" <va*****@ukr.netwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Hello, chandu!

If you want to unload assemblies from memory you have to load them into
separate Application Domain.
This link will help you (
http://www.codeproject.com/csharp/Dy...ginManager.asp )
cHai all,

ci am developing an applciation which loads all configuation plugins
cin
cMainForm when clicks on corresponding plugin button.

clet me explain :

cSomePlugin is a class library projects which contains 3
cUserControls.Every
cuser control has its own functionality like save,clear,edit....etc.

ci buit that SomePlugin Project for generation a .dll .

cIn my MainApplication i had one folder called Plugins.i copied
cSomePlugin
cdll in that folder.

cIn MainApplication if i click on a button i need to load the
cSomePlugin
clibrary dynamically and need to show that UserControl names as
clinkButtons
cin one panel.
cAnd if click on any of the Link i need to show that corresponding
cusercontrol in anther panel.

cIf i have 5-6 Plugin applications and clicking one by one i need to
cunload
cactive plugin form Memory and need to show current plugin.

ccan any one help me please..

cthanking u ...



--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Nov 24 '06 #2
Hi Chandu,

the link will help you loading an assembly dynamically,

http://msdn.microsoft.com/library/de...e&hidetoc=true

An assembly is loaded dynamically... (Assembly contains a control),
other words control is accessible or loaded in to memory...

Umm... Problem if single assembly contains multiple controls.....

Thanks
-Srinivas.
chandu wrote:
Hai all,

i am developing an applciation which loads all configuation plugins in
MainForm when clicks on corresponding plugin button.

let me explain :

SomePlugin is a class library projects which contains 3 UserControls.Every
user control has its own functionality like save,clear,edit....etc.

i buit that SomePlugin Project for generation a .dll .

In my MainApplication i had one folder called Plugins.i copied SomePlugin
dll in that folder.

In MainApplication if i click on a button i need to load the SomePlugin
library dynamically and need to show that UserControl names as linkButtons
in one panel.
And if click on any of the Link i need to show that corresponding
usercontrol in anther panel.

If i have 5-6 Plugin applications and clicking one by one i need to unload
active plugin form Memory and need to show current plugin.

can any one help me please..

thanking u ...
Nov 27 '06 #3

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

Similar topics

2
by: Programatix | last post by:
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be...
9
by: Sudesh Sawant | last post by:
Hello, We have an application which communicates using remoting. There is a server which is a Windows Service. The server exposes an object which is a singleton. The client is a Web Application...
12
by: SJD | last post by:
I've just read Christoph Schittko's article on XmlSerializer: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/trblshtxsd.asp . . . and very informative it is too....
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
4
by: pjdouillard | last post by:
Hello all, Here is the context of my problem: We have an ASP.NET 1.1 application that has its own application pool setup and that runs under the identity of a NT Domain service account (this...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
1
by: cvairetti | last post by:
Hi, I just write an application in C# that show an interface with five button, each button starts an external application that it comes in front of the main C# application with focus on. When the...
6
by: Tony Johansson | last post by:
Hello! We have a C#.ASP.NET application that runs on a IIS 6. The application contains actually several asp pages but there is no GUI. The application receive an xml file that is processed....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.