Quantcast
Viewing all articles
Browse latest Browse all 27026

VS 2010 Plug-in Based Application (Step by Step)

Hi,

I've been searching the web on how to create an application which uses plugins. Now there are a lot of websites, but it seems they all use the same method, which I don't understand. (Seems they all copy from the same source)

What I want to do is -> open application/form -> load plug-in(s) -> create CommandButtons (whatever) of the plug-in(s) on main form -> click on button -> plug-in-interface creates a new TabPage (whatever) ... adds a textbox, adds a... blabla, etc. (you catch my drift)

What I do understand is that I need to create a ClassLibrary (as project) when I want it to be a plugin.

Let's start with the basic steps I took

Step 1 - I created a project named "Example"
Step 2 - I added a class (myPlugin) to the project "Example"
Step 3 - I changed the code of myPlugin to:

Code:

Public Interface myPlugin
    ReadOnly Property title() As String
End Interface

What does that mean? What does it do? Are there more things I need to add? Once I know the answer to these kind of questions I have, I perhaps can go on to the next step.

Thanks in advance.

I'm using VS2012 Professional btw.

Viewing all articles
Browse latest Browse all 27026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>