Important alert: (current site time 7/16/2013 12:44:12 AM EDT)
 

winzip icon

[A++] Plugin Example

Email
Submitted on: 4/21/2005 7:45:02 PM
By: Justin Lilley  
Level: Intermediate
User Rating: By 12 Users
Compatibility: VB 6.0
Views: 20190
author picture
(About the author)
 
     This is simple the best plugin example here on PSC. With this basic example you will be able to take you programs to a whole new level! Learn how to completely control your exe, with a plugin, in DLL format. This example will also load as many dll's that are compatible for the program in the main file list. If you want to make your applications completely customizable, here is the way! Give an example plugin to the public with your program, and have them make anything they want for your program. This code is defiantly worth a look at; also if you enjoy this code or find it useful, please vote. Thank you, and happy coding. :)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 7 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
4/21/2005 8:09:39 PMJustin Lilley

My apologies already, a screen shot cannot show the power of the plugins, I ask that you download the code and try it, please don’t judge it by the screen shot. Thank you.
(If this comment was disrespectful, please report it.)

 
4/21/2005 10:46:47 PMAndrew M. Goncharov

Look at http://www.vb.kiev.ua/dwns/codepad/
(If this comment was disrespectful, please report it.)

 
4/21/2005 10:51:46 PMAndrew M. Goncharov

... and look at right side of the screen: those are plugins ready to use in CODEPad and MSOffice
(If this comment was disrespectful, please report it.)

 
4/21/2005 11:36:26 PMBill K of Boston

@Andrew
who is comfortable using code or links from a Russian website ...

(If this comment was disrespectful, please report it.)

 
4/22/2005 12:34:41 AMSkeeve

Hey bill get out of the cold war. There are actually some good programmers over there. You may not understand the comments but you can always try one of the many translation programs online.
(If this comment was disrespectful, please report it.)

 
4/22/2005 8:55:50 AMCodepiler

I was reading an article in the NY times that says russia is home to not only some of the best hackers in the world but also programmers. Go RUSSIA!
(If this comment was disrespectful, please report it.)

 
4/22/2005 10:10:19 AM

russian programmers are great, and cheap:)
(If this comment was disrespectful, please report it.)

 
4/22/2005 11:03:43 PMJustin Lilley

Well, I was wondering how you guys liked the program? Interested in some topic related feedback.
(If this comment was disrespectful, please report it.)

 
5/30/2005 3:27:42 PMNathan Arendt

Nice example of how to setup a plugin system. My only suggestion is that in a plugin system you use in a real program should not hold all the plugins active in an object array (could lead to lots of memory being used). Holding only the progmatic id (say in the menus tag field or in an array) and then creating the plugins on demand would be better.
(If this comment was disrespectful, please report it.)

 
7/1/2005 8:05:55 PM

I can't get this to show more than 1 dll in the menu. please help
(If this comment was disrespectful, please report it.)

 
1/22/2007 10:01:10 AM[HalfDemon]

nice shot code dude.. thanks.. got my project started off :)
(If this comment was disrespectful, please report it.)

 
2/2/2007 5:07:30 PMEmblem

This is sweet, inspired me to add a plug-in system to my currently Awesome VB Project

Thanks alot
(If this comment was disrespectful, please report it.)

 
6/12/2007 4:18:40 AMTimo Böhme

Nice idea to do the plugins by late-binding.
(If this comment was disrespectful, please report it.)

 
8/30/2007 9:02:07 PMCharles

sweet code. i made my own plugin system, but this is so much simpler!
(If this comment was disrespectful, please report it.)

 
9/7/2007 11:18:07 AMManga

Thanks :)
This is very usefull with the MSScriptControl..
(If this comment was disrespectful, please report it.)

 
2/23/2008 10:48:52 AMMak

Justin Lilley
Great I was looking for this for long time, Do you have an idea to implement it to Autocad such as toolbar ot partial Menu to add to existing during run time?
(If this comment was disrespectful, please report it.)

 
4/2/2013 1:52:55 AMCris Leonard Jaime

error
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.