help with plugins

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
4 posts Page 1 of 1
Contributors
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

help with plugins
XTechVB
i'm trying to make my app support plugins, but i cant figure out how, i already tried using reflection but i cant make it work.
what i need exactly is a plugin system that adds menu items to the main form's menustrip!

can someone help me?
You can find me on Facebook or on Skype mihai_92b
User avatar
muttley1968
Hardcore Programmer
Hardcore Programmer
Posts: 622
Joined: Thu Jun 17, 2010 11:54 pm

Re: help with plugins
muttley1968
If the plugins are developed by you then why not try Creating a folder all plugins are copped to this folder and on launcher of your program it checks this folder and ads a process.start event for each program and just make them pass paramters with each other
User avatar
XTechVB
VIP - Site Partner
VIP - Site Partner
Posts: 727
Joined: Thu May 20, 2010 10:32 am

Re: help with plugins
XTechVB
muttley1968 wrote:
If the plugins are developed by you then why not try Creating a folder all plugins are copped to this folder and on launcher of your program it checks this folder and ads a process.start event for each program and just make them pass paramters with each other
i know how to add them to the menustrip.
the plugins are in dll format, and i need to execute them via the menustrip
You can find me on Facebook or on Skype mihai_92b
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: help with plugins
mandai
You could make a function in the class library that returns a menu item.

There is some sample code here that shows how to load/call a function in a class library: viewtopic.php?f=21&t=2527&p=15993#p15993
4 posts Page 1 of 1
Return to “Coding Help & Support”