Make A Plugin Written In .NET?

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


ADVERTISEMENT

Make A Way For Webbrowser To Be Able To Add Plugin?

Aug 11, 2009

make a way for my webbrowser to be able to add plug in?

View 4 Replies

Make A Trackbar With Vlc Activex Plugin?

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

How To Use Vlc Plugin So Can Make A Simple Media Player

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

Make A Plugin Type System For Themes?

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

Plugin That Makes It Available To Make Visual Studio Language Independend?

Nov 3, 2011

does anyone know if there is a plugin that makes it available to make visual studio language independend? So when I "push" a button I can see and edit the code in C# or in VB.net? I would be ok if I cant use all language specific options.

View 1 Replies

.net - Plugin Architecture - Make An MDI Parent Form Aware Of Children In DLLs

Jan 25, 2010

I'm experimenting with a plugin architecture for my company's internal business system. I have managed to read all .DLLs in a Plugin folder which implement a specific interface. What I am trying to figure out is the best method of communication between the "host" MDI parent application and forms that will be in the .DLLs which I intend to make MDI children.

Currently, I am returning just ToolStripMenuItem objects from the .DLLs to add to the MDI Parent. I've also tested that events wired in the .DLLs to the ToolStripMenuItems do propagate to the code in the .DLLs. I've also managed to return a Form object via the interface and open that form, as the Plugin folder is being "scanned".

However, I am not clear how I would make these forms MDI children. Also, any other forms living in the .DLLs will also have to be MDI children. I created a VS 2008 Addin project just to see what's going on, and it seems that the Addin accepts an Application object on which it adds to the ToolStripMenuItems and does other operations. The code to build the menu inside the .DLL. This is opposite of what I have done so far, where the MDI requests a ToolStripMenuItem from each .DLL and adds the returned object to its own menu.

Would designing my plugin architecture to accept an application object in the same manner the only way I could get forms to open as an MDI child? Am I asking for other, currently unknown to me, headaches by NOT passing in the application object to the .DLL?

View 1 Replies

Make An Application Online Written In VB?

Sep 26, 2011

I am a beginner in vb.net. I have made a project in this. Now I want to make it online.Also how to use asp.net with vb.net?

View 7 Replies

Make A Website Builder Which Has The Html Code Already Written?

Jun 6, 2009

i want to make a website builder which has the html code already written so all you have to do is check which boxes you want and click next or back to go through the process of making a website with specific code implemented in it.

P.s. im using VB 2008 express edition?

View 13 Replies

Return Key Event Make WriteFile For Com Port 0 Bytes Written?

Jan 22, 2010

I have textbox with vbscript, user could type integers, then hit return key, KeyUp event for return would trigge theWriteFile()being called for com port to write string to the device, if Ihit return key slow, I would get 0bytewritten for WriteFile(), timeout happening basically,if I hit return keyquick,

View 1 Replies

How To Develop Plugin

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

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

Plugin System In .net?

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

Plugin That Loads Mdi Form?

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

Use Studio Mysql Plugin?

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

VS 2008 Plugin / Mod In Program

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

A Plugin Architecture In .net And Handling Events

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

Collection Of Interfaces (plugin System)

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

Create A Plugin System For An Application?

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

Debugging Class Library Plugin?

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

Explorer Thumbnail Handling Plugin?

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

Get A .NET Plugin For CodeRay (or Any .NET Syntax Highlighting)?

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

Microsoft Word Plugin For A SQL Database?

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

Pass A Structure Through An Interface To A Plugin?

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

Plugin Doesn't Stop On Breakpoints?

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

Plugin Which Is Dependent On Main Program?

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

[2008] Use The ESMS Outlook Plugin?

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

[VB2008] Plugin Data Handling

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

Add Excel Plugin In Visual Basics Project?

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

Adding Two Plugin Buttons To Form With Functionality?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved