IDE :: Create A Plugin For VB 6?
Jan 19, 2010
I am working on a migration project to convert a Visual Basic 6 system to a new platform. To make life easier for the programmers I would like to develop some plug-ins for the Microsoft Visual Basic 6 IDE. But until now I've found only information about using vb6 to write plug-ins for other programs. how to create a plug-in for the Microsoft Visual Basic 6 IDE (SP6)?
View 3 Replies
ADVERTISEMENT
May 14, 2009
i want to implement in a program. I'm not asking for code just some advice and maybe a link or 3 to useful pages on the internet.I want to create a plugin system for an application that i want to make. The idea for the plugin system is based on the following...
1-Some graphics editing programs have what i think is called a filter/effects chain. its where you make a list of filters and settings that the program runs to edit the image.
2-In yahoo pipes you take small parts and use them to complete tasks for you mashup (like pulling all the images returned in a search and displaying them).
The system i want advice on is basically a plugin chain system modeled after these 2 idea's where the user selects plugin's and forms a chain out of them.for instance if i wanted to display a picture then i would form a chain of plugins like this
legend:[(inputs)what it does(outputs)]
[show open dialog plugin(output filepath)] -> [(filepath input)open picture plugin(output bitmap object)]->[(input bitmap object)Display a picture plugin(make a form for display)]
The code for the task's will of course be in the plugin's.The problem is i have never done any plugin system before. the hardest part i need help with is getting the plugin's loaded and sending the output's to each other. Also another problem i think is that the plugin's could be for anything (parsing text, displaying a picture, opening a url, downloading a file, etc, etc)Again I'm not asking for code just advice and some useful links to information.
View 1 Replies
Dec 21, 2008
I am trying to create a plugin system where plugins can be dynamicly loaded (we don't know how many there are, what their classes are called, ...)This is sample code for a plugin:
Code:
Public Interface IPlugin
Sub bla()
Function bla3() As String
End Interface
[code]....
This code SHOULD msgbox("yay") when it finds a type that implements my IPlugin interface. Yet it never finds one. I can't find what I did wrong. It gets to the debug.print("2"), but never gets past the "If GetType(IPlugin).IsAssignableFrom(t) Then".
View 4 Replies
Sep 24, 2009
I have found a lot of articles about Reflection and know how to create a class. I'm practicing how to work properly with the reflection to create a module/plugin-based application.So I found a simple example which is working great, but it isn't dynamic enough, 'cause it is hard-coded. I need to read all the .dll's from the application.startuppath & "modules" & *.dll and get there names (without the .dll).Code is was testing for practice returns the form (I know that this is not the correct way to call the dll dynamically):
vb.net
Imports System.Reflection Public Class Form1 Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOK.Click Dim assemblylink As [Assembly] assemblylink = [Assembly].LoadFrom(Application.StartupPath & "/" & "LoginAssembly.dll") Dim LoginFrm As Form LoginFrm = assemblylink.CreateInstance("LoginAssembly.Login") LoginFrm.Show() End Sub
View 8 Replies
Dec 15, 2010
i need to develop a plugin to evaluate web interfaces. Can someone guide me about how to develop plugin in vb 2008 express.
View 4 Replies
Jun 1, 2011
Is there a significant enough difference with .NET from regular native code to maketraditional plugin systems not very useful? Either way, there must be some system for making a program extensible after it is compiled. To allow third party development withoureleasing the source code. Anyone have info on this? I said .NET, but of course specifically I mean Visual Basic
View 2 Replies
Jun 9, 2011
I've got a C#.NET background and due to circumstances I'm trying to make a plugin written in VB.NET. I've created a new class project which gives me a DLL. This class implements a C# interface which all works.My only question is this... In my C# code I've got an implemented DLL (which loads at runtime) with the following declaration before the class...
[Plugin(PluginType.Storage)]
public class XmlPlugin<T> : IStoragePlugin<T>
{
[code]....
How do I write [Plugin(PluginType.Storage)] in VB syntax?
View 2 Replies
Aug 11, 2009
make a way for my webbrowser to be able to add plug in?
View 4 Replies
Oct 28, 2009
Ive created an application that reads plugins but I can't figure out a way of making a form thats housed in the plugin into an MDI for my existing application.[code]...
View 3 Replies
Dec 4, 2007
I've been reading a lot of the posts but i just can't seem to get mine to work,What am i suppose to fill in under Server Name? i'm using my godaddy's free hosting account's mysql but i can't seem to find any thing that'll teach me how to use that exactly it just keep saying 'unable to connect to any of the specified mysql hosts' am i filling in something wrongly?
View 5 Replies
Oct 4, 2010
For many Java games/programs I use, you can download plugins/mods. Now I'm wondering if this is possible in VB?
View 3 Replies
Nov 5, 2009
I need to write an app that that will iterate over our database, and perform various anaylsis on each record. In order to do this (partially for the learning exercise in creating plugin support) I want to use a Plugin model.
Currently, I have a simple Interface in my main app, which plugins can Implement. My app then loads all DLL's in a folder looking for ones implementing the Interface.
As you can see in the pseudo-code below, I have to keep performing a loop through all loaded plugins calling the process methods.
Sub ProcessData()
For Each Record In MyDataSet
For Each Plugin In MyPluginCollection
[Code].....
View 3 Replies
Mar 8, 2012
I am trying to make a plugin system in vb.net and i am using interfaces to do that. I have managed to implement the plugins but now i am having problems with setting the plugins in a dictionary or some sort of array.
The system is simple. I have the main application and i have plugins. The application needs 2 mandatory plugins and that is data and authentication. Other plugins are free to use so i have 3 interfaces. Data, Authentication and CustomPlugins.
I load the plugins with this
CODE:
It works fine like this but i want to make a collection of plugins because i don't know how many plugins the customer make. So initially i thought to make a collection
CODE:
But that doesn't work. The main focus is to load as many plugins as i like but have then in some sort of array. A dictionary would be perfect but is not a must.
View 2 Replies
Jun 1, 2010
I have a windows form application in which I'm attempting to utilize a plugin (class library). In the code I have it load the assembly from a dll file, which means I have not been able to debug. Furthermore I have not found out how to compile the library so I've had to use the debuged dll version for testing. I've run into a bug in which I create a new object and send that data through an interface to the plugin in an attempt to retrieve a blank slate group box from the plugin. However instead of reading the parameter as a new object i managed to step through the code once (don't ask me how, I don't know and I haven't been able to repeat it) and it appeared that the code was registering the parameter as "nothing" thus why I received a null reference error in the main program.
View 2 Replies
Sep 20, 2010
ve been exploring with IThumbnailProvider in VB10. The first attempt I made was to handle MKV file thumbnails. I made the library and everything looked OK when I tested it against MS's Thumbnail app that came in the Windows API pack. Then I attempted to implement it on my computer, and every single thumbnail in the OS broke. Not a single thumbnail was generated by the system. So, after a bunch of trying to rescue thumbnails, I reformatted, reinstalled Windows, and got everything back to normal.
Today, I tried again. This time, using BLP files which are often used in Blizzard games (Warcraft III in particular). To avoid the same issue, I threw the compiled result into a Virtual Machine and tested it there, and it looked lovely. After a bit of experimenting and tweaking, I got it exactly as I wanted, cleaned the thumbnail cache, tested it one last time, and then installed it on my actual PC. Bam, all thumbnail generation is broken again.
View 2 Replies
Sep 10, 2010
I recently set up a Redmine server for my time. Redmine's Wiki uses CodeRay for syntax highlighting. However, most of my team prefers to code in VB.NET, which CodeRay doesn't support.Are there any plugins out there that offer syntax highlighting for VB.NET in CodeRay? If not in CodeRay, maybe through some other library (that could be integrated into Redmine)?
View 2 Replies
Apr 29, 2010
i am wondering how to make a trackbar with vlc activex plugin i have it part working but i want to make it more accurate meaning how do i make it display the exact seconds then it is right now here is the code
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
With TrackBar1
.Minimum = "0"
[code]....
that is the timer i am using to set the track bar's values and the trackbar1 to take the time and play it at that time?
View 1 Replies
Jun 16, 2010
I would like to know if it's possible to create a microsoft word plugin via visual basic that when activated from a visual basic application did the following:
Creates a word document with a pre-made template Connects to an access (or MS SQL) Database Obtain ID from the application from which it was called The fieds related to the ID provided are filled in the spaces where they should go Show the document for it to be inspected by the user who initiated the request
That's pretty much it, I have no clue on how word plugins are made through visual basic... I've created the visual basic application that's inteneded to communicate with the plugin. So, could you help me find some good tutorials, tips or a place to start?
View 1 Replies
May 26, 2010
I'm working on a project where I'm experimenting with building and implementing plugins. I have a structure called "sensor" in the plugin that contains several elements. I would like to be able to return that structure to my main program through the interface, but it doesn't work. The plugin works fine if I'm passing strings or other variable types, but when I switch from strings to my structure, I get a couple of errors. On my main form where I try to call the function, I get the error 'value of type iMyPlugin.sensor cannot be converted to frmMain.sensor'. In the plugin code, I get the error 'GetSensorReading cannot implement GetSensorReading because there is no matching function on the interface'. Is what I want to do possible, or is there a better way to do what I want?
[Code]....
View 2 Replies
Apr 18, 2012
I'm seeing strange behaviour with a plugin for Readsoft that I'm developing.
I want it to stop on a breakpoint but it doesn't. The msgbox just before the place I put the breakpoint is displaying correctly, and the one right after it too.
here is the class with the breakpoint I want to stop to
here is the ReadSoft programm with the Msgbox displayed after the breakpoint line where debug didn't stop
PS : I'm using Visual Studio 2010 Professional, coding in VB.NET
View 3 Replies
Jan 23, 2012
I have developed an application with a plugin architecture using interfaces. I realized that when I release the API for 3rd party plugin development, someone would be able to create a loader program to replace my main program quite easily. Is there any way I can make the plugin dependent on my main program? All my main program does is get an icon and a description of the plugin from the DLL plugin (using the interface) and then calls the dll's interface function to create and display the form.
View 2 Replies
Feb 7, 2009
how to use the eSMS Outlook plugin. Send a mail with Vb.net trough Outlook is easy, but I don't know how to use the SMS plugin from Vb.net.
Dim subject, Recipient, Message As String
On Error GoTo errorHandler
Dim oLapp As Object
Dim oItem As Object
[code].....
View 4 Replies
Jun 30, 2009
I am working on an application with plugins. I have created the plugin host and the plugin, now I need to figure out how to pass data back to the main application from the plugin. IE: I have MainApp that has plugins in a subfolder. It loads the plugins and shows a menu item the launches the plugin. When the plugin launches it opens a windows form inside the plugin. The form does some calculations and then returns data in a string array. How do I pass that string array back to the main application?
View 2 Replies
Jan 25, 2012
How add excel plugin in visual basics project? i created a form application and need to add excel plugin in visual basics project...
View 1 Replies
Jun 17, 2009
[URL]. Attached is a MEF WPF and WinForms project that I have been playing around with. I was able to add two 'plug-in' buttons to the form but how do I provide functionality to the buttons? How can I add objects from a separate assembly, like most plug-ins do? Let's say I want to break out each menu (File, Edit, View, Tools) into their own assemblies, leaving the main application window as a blank form that will import each assembly on startup. Also, could functionality from the Edit menu assembly interact with the code from the File menu assembly? I have also not created custom user controls before so as you can see I am having trouble creating a plug-in menu structure.
View 10 Replies
Jul 11, 2010
I was wondering if you could point me in the right direction as far as developing a super simple plugin for MS Project (both 2007, which uses the old style ribbon, and 2010 which uses the new ribbon). What I need to implement: create an executable that installs a new button, with a specific icon, in some per-determined section of the ribbon
when the user presses the button MS project needs to save a file in a specific format and location and then call a batch file.
that's it - pretty basic, right? Turns out, I know nothing about this space - so apologies in advance for how trivial this may be. Note: I'm not tied to a specific language - whatever is simpler / faster will do. BTW, does anyone sell components like this one? I don't necessarily need to code this if there's decent stuff out there for sale.
View 1 Replies
Jul 2, 2009
I'm trying to build a call center application in MS Access but can't seem to find the necessary Erlang C plugins/DLLs.
View 3 Replies
Feb 26, 2009
My company uses outlook as the email client and we login to an exchange server. Out address book (not individual contacts) has all the users connected to our company network.
Our company dont have IM ;-( .. I am thinking about developing an outlook plugin like Gmail's Gtalk . is this possible(technically)? Or how difficult it is? Will I be able to get the list of all users (from address book) who have opened their outlook so that I can show them in the online list? Can I do this without a DB (just sent the message to the recepient and show them)?
View 3 Replies
Apr 27, 2010
i am learning how to use the vlc plugin so i can make a simple media player but i am having trouble loading a video.[code]
View 2 Replies
Aug 16, 2011
I am looking for the best way to make a plugin type system for themes. have allow users to create custom GDI based controls in a dll plugin that is to be able to be switched on runtime by users. My issue is there is no way to have a dynamic inheritance so how can I make it so the controls show in the toolbox and can be changed on runtime?
View 5 Replies