|
-
Dec 7th, 2012, 04:33 PM
#1
Thread Starter
PowerPoster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|