473,320 Members | 1,900 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.

Creating a plugin architecture

Hi all,

I want to create an MDI app that allows reporting on XML data files
downloaded from the equipment that we manufacture, this MDI app will
have several default reports but due to the nature of the data different
people will want to see it in different ways.

What I would like to do is have several standard reports/graphing MDI
Children that come as standard, then allow the user to apply a plugin
that will allow them to view their own reports. We would create the
plugin for them based on their needs and this would give them exactly
what they want without bloating the application with needless extras.

I think, and I am probably way off here as I've never done this before,
that I could create a windows form, make it an MDI child and compile it
into a dll, this form would contain all the functionality to extract the
data and display it as the customer requires.

Is this right? if not what is the best way to achieve what I want?

How would I register the plugin, I assume a command in the host app, but
how would it store the info regarding the plugin, maybe in an xml config
file?

How do I know what functionality is available within the plugin? do I
need to use reflection?

Any advice, website links, books etc that you could recommend would be
greatly appreciated.

Many thanks

Joe
Nov 16 '05 #1
2 4669
See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/co...nframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/co...forplugins.asp

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
"Joe_Black" <Jo******@newsgroups.nospam> escribió en el mensaje
news:OV**************@tk2msftngp13.phx.gbl...
Hi all,

I want to create an MDI app that allows reporting on XML data files
downloaded from the equipment that we manufacture, this MDI app will have
several default reports but due to the nature of the data different people
will want to see it in different ways.

What I would like to do is have several standard reports/graphing MDI
Children that come as standard, then allow the user to apply a plugin that
will allow them to view their own reports. We would create the plugin for
them based on their needs and this would give them exactly what they want
without bloating the application with needless extras.

I think, and I am probably way off here as I've never done this before,
that I could create a windows form, make it an MDI child and compile it
into a dll, this form would contain all the functionality to extract the
data and display it as the customer requires.

Is this right? if not what is the best way to achieve what I want?

How would I register the plugin, I assume a command in the host app, but
how would it store the info regarding the plugin, maybe in an xml config
file?

How do I know what functionality is available within the plugin? do I need
to use reflection?

Any advice, website links, books etc that you could recommend would be
greatly appreciated.

Many thanks

Joe

Nov 16 '05 #2
Carlos J. Quintero [.NET MVP] wrote:
See this links:

Creating a Plug-In Framework
http://msdn.microsoft.com/asp.net/co...nframework.asp

Search Dynamically for Plug-Ins
http://msdn.microsoft.com/asp.net/co...forplugins.asp


Thanks Carlos

Thats exactly what I am after.

Joe
Nov 16 '05 #3

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

Similar topics

2
by: Chua Wen Ching | last post by:
Hi there, I had some doubts on creatings plugins. As most example on the internet shows how to write plugins onto a plugin host which is normally a windows form program. 1) Can i replace...
5
by: Tamir Khason | last post by:
Friends, maybe someone knows good references for .NET plugin based program architecture. E.g I want to be able to "put" class library(dll) in some place (where I do not the name of the class, but...
3
by: CSharpNewBie | last post by:
Hi I am looking to create a Plugin Architecture. I looked at this extend or enhance the User Interface (UI) article http://www.codeproject.com/csharp/extensibleui.asp and It looks good and I...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
4
by: anglozaxxon | last post by:
I'm making a program that consists of a main engine + plugins. Both are in Python. My question is, how do I go about importing arbitrary code and have it be able to use the engine's functions,...
1
by: Olie | last post by:
I was quite surprised to find virtually nothing about this but I may have been searching for the wrong thing. I want to know the best way to provide a programming interface to a plugin. I...
1
by: David S. Zuza | last post by:
This is hard to find. I want to create a host program and then create add ins for it that can extend it's functionality. Problem is, is that I am an intermediate to new .NET programmer and I can't...
3
by: gregbrant | last post by:
Hi all, I'm trying to write a plugin system for a website whereby a user can drop a class in the App_Code directory and then pass the class name on the query string of the aspx file and the ASPX...
1
by: Bill Woodruff | last post by:
Visual Studio 2005, .NET FrameWork 2.0, C#, WinForms Application Hi, I've read the recent posts by and to 'Thunderbird' (and learned a lot, thanks, from the usual masters Skeet and Paladino,...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
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: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.