How To Create Plug-in To For Project

Apr 23, 2010

create plugin for my project.

View 1 Replies


ADVERTISEMENT

Working On A Project That Is Based On Modules And Plug-ins?

Aug 24, 2011

I'm working on a project that is based on modules and plug-ins. Any of these modules might alter some part of a database in various ways. One module might write or edit one table, while another module might write or edit other tables.

The modules all communicate via events raised on a common object. Therefore, when a person using module A enters a certain change that would edit data managed by module A, the module raises a Proposed Edit event such that all other modules that might be affected by the edit will have a chance to accept or reject the edit. If no module rejects the edit, then module A makes its changes and raises an Edit event, at which time all the other modules make any changes they need to make.

That's the basic pattern, but there's a problem. If I don't share a transaction during the edit, then module A can successfully edit their tables, but module B might fail to edit their table. In some cases, the failure by B should rollback the changes made by A. Therefore, it would make sense for module A to share an open transaction for all the other modules to use while making their changes, and this gets either committed or rolled back, depending on whether everyone was successful, or not.

The problem with that design is that a person could write a new module C that had a bug which caused it to fail to update correctly. That would cause it to signal that the transaction failed, such that all the other modules, which had been working up to that point, would no longer work because this new module kept canceling the transactions. In other words, the modularity of the program has now been lost. Every module depends entirely on every other module that even cares about its data.

In most cases, what would be lost if certain modules failed would be minor, whereas what would be lost if other modules failed would be catastrophic, as there would be no way to re-create the lost data with any kind of ease.As long as this explanation is, it may not be sufficient. At least it might start a discussion. Do the actions of all the modules act in the same transaction, or should they be left to succeed or fail on their own?

View 11 Replies

Visual Studio 2008 - Create VS2008 Plug In With Net?

Jun 26, 2009

Anyone know of any examples on creating plug in's for VS2008 - preferably with VB.net?

View 1 Replies

Create A New Project From An Existing Project?

Nov 8, 2011

I have one successful VB program in VS Studio 2010 Express Now, I want to add features to it but keep the original as is. Is there a way to save the current project with a different name without loosing the path, resources used and code? I did try to copy the project directory to a different directory named "TMP" but it does not work.

how to create a new project from an existing project?

View 2 Replies

Get The Last Plug Date Of A Usb Device

Nov 4, 2010

I want to get the last plug date of a usb device, and view the tech article below [URL] But i did not understand the following sentence: "To determine when the device was last connected to the system, obtain the LastWrite time value from the respective Disk and Volume GUID Registry keys for the device."

View 2 Replies

Use IE Plug-ins / Add-ons With Webbrowser Control?

Mar 10, 2011

I have a Browser application written using the .NET webbrowser control. As I understand, the 'webbrowser' control is based on Internet Explorer.

So, I was wondering if it is possible to use the add-ons or plug-ins (like Adblock, IE7pro etc.) that were developed for Internet Explorer with the webbrowser control.

This will really save me a lot of time as many of these plug-ins provide the functionality that I am looking for and are freely available.

View 1 Replies

VS 2010 Program Plug-ins?

Mar 6, 2010

I'm making a game luncher, and I want other ppl to make plug-ins to start their game. So whats the best way of creating plug-ins? Dlls? And how can I use it?

View 10 Replies

Implement The Player Class Through Plug-ins?

Mar 16, 2009

I've never actually used Reflection, but I've been warned in the past that using it may cause slow performance. My question is what part(s) of it is/are slow.

I'm thinking about creating a board game and I wanted to implement the player class through plug-ins. That way there could be several different player classes (i.e. human players, and several configurable AI classes). If implemented this way, where should I expect performance hits? Only when initializing the player class? When passing arguments to methods in the player class? In the entirety of execution of methods from the player class? Or is it going to affect the whole application?

The reason I ask is that the AI will be extremely processor intensive. Through testing it seems like it may take around 1-30 seconds to determine a move on my quad core (Core 2 Q6600) processor, depending on the effort spent to optimize the move and testing different branches on separate threads.

My concern is that if I implement the AI via a plug-in, the move determination would slow down considerably to the point where it wasn't playable on lesser hardware.

View 2 Replies

Make A System With Plug-in Applicable?

Aug 18, 2011

those applications that has a plug-in features. What I meant by plug-in is that the application has a capabilities of integration with 3rd party softwares for enhancements.

View 13 Replies

VB 2010 - How To Detect Plug / Unplug Of USB

Jul 17, 2011

I am trying to detect plug/unplug of usb flashdrive using WMI. I used this code:
Imports System.Management
Public Class Form1
Private WithEvents m_MediaConnectWatcher As New ManagementEventWatcher
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim query2 As New WqlEventQuery("SELECT * FROM __InstanceOperationEvent WITHIN 1 " _
[Code] .....

View 2 Replies

VS 2008 Thread Execute Plug-in

Jul 8, 2010

A thread execute plug-in!.Basically it executes the given sub on a separate thread using delegates.I also made a "Delegate Execute" plug-in to invoke a sub.[code]

View 9 Replies

Way Of Implementing A Plug-in Based System

Feb 18, 2011

I've written a pretty good browser in vb.net (it's in the "Share your Project" forum). I now want to give users and other developers the ability to extend/add buttons & functions to it. Can anyone suggest to me a good way of implementing this bearing in mind that I've never tried to do anything like this before? (so basically a way of implementing a plug-in based system. I was planning on these being small snippets of code which my application has the ability to compile.)

View 5 Replies

Write Firefox Plug-in Using Program?

Nov 25, 2009

I have a VB.NET User Control (compiled in VS 2008 into a Class Library DLL that is COM interop enabled). This is embeded into a HTML page (using its GUID), is driven by Javascript method/property calls and sends feedback back to the HTML page using <script for="id" event="method()> tags. It was developed for (and works great in!) Internet Explorer.

I am now looking at the possibility of porting this VB.NET Class Library DLL to Gecko-based browsers such as firefox 3.5 based on customer demand. I've downloaded the Mozilla development code, but all the examples are in Visual C++ 6.0.

From what I understand from the Mozilla docs, I should be able to register a specific media type against my DLL (installed in the firefoxplugins directory) and, as long as it supports the correct interface/DLL methods, I should be able to use the object tag to embed in the same way as IE.

I don't mind having different web-pages for IE and Firefox but I don't really want to re-write the VB.NET control in Visual C++ and ideally I'd like to use the same code base for both.

I've googled but not found any examples so I'm guessing this is either hard or impossible! :

(1) Has anyone done this and has a hello world style example?

2) How would I code the VB.NET methods/classes so they appear the same as ones built using Visual C++ 6.0[code]...

View 7 Replies

Free Plug-in To Show Caller-functions

Jul 25, 2009

very often i see code written from others, and when browsing over a function i want to see where this function is called from. Even when i debug my own code, i'd find it a useful feature.In c++ this feature is default in visual studio(its called browse-something), but i havent found any such thing for VB.NET yet, any ideas?

View 2 Replies

Is There Any Application (or Plug In) That Can Test Performance In Seconds

Jul 15, 2011

Currently I'm writing a VB.NET app and it's getting big, resulting in its become very slow.Is there any application (or plug in) that can test the performance in seconds?I mean, when I click a button and it displays a product, I want to know exactly how long it is gonna take.

View 3 Replies

Know What The Port Number Is For A USB Plug Pluged Into My Laptop?

Jul 10, 2010

I want to send On and Off Signals to a USB Cord Connected to my Laptop.Universal Serial Bus, right? In my IDE, I have put a SerialPort Object onto my form. But I don't know how to detect or how to find out at what port number the USB 2.0 Cord is connected to? I wanna start working with Motors and Stepper Mototos with VB.NET. But I fear I am not smart enough to mess with it. I have done many different things with VB.NET, I wans to start messing with Serial Ports, and Serial Communication. It Says COM1, a USB Cord Connected to my laptop is not a COM1.

View 5 Replies

Make Internet Explore Or Firefox Plug-in?

Sep 11, 2009

As from the title "internet explore/Firefox plug-in", i want to make a plug-in for internet explore or even Firefox. I want this plug-in to be shown on the toolbar.

View 2 Replies

Writing A Plug In For Microsoft Internet Explorer?

May 15, 2010

I'm looking at writing a plug in for microsoft internet explorer. but I can't find any documentation for doing so in vb.net so the questions are: is it possible to write an IE plug in in vb.net? where is documentation on it? and of course documentation on installing it. Why? I want to write a password plug in like Roboform for the most part as an educational project second as pasword manager I can use myself..

View 1 Replies

API To Hide Non Plug And Play Devices In Device Manager?

Feb 24, 2012

I'm writing a Windows Forms application in VB.Net 2010. The application's purpose is to recreate the Device Manager in VB.Net. The idea here is to capture the information provided by Device Manager and store it in a database. In turn this information could be used as a configuration management tool.

My device tree is coming along nicely, with one minor exception. There are hidden devices that Device Manager does not display by default. Show Hidden Devices causes Device Manager to display these devices. My Device Manager displays them by default. I want to duplicate the Device Manager behavior of being able to hide and display these devices in my appilcation. I have had some success with this task in that I am able to hide the Plug and Play devices that are marked as hidden by windows by use of the "Don't Display In DM" flag. There is the small issue of the Non Plug and Play Device Class. My question is this... Is there a similar flag for Non Plug and Play devices? I have found a reference to the PNP_DEVICE_STATE and IRP_MN_QUERY_PNP_DEVICE_STATE IRP. It contains a flag

PNP_DEVICE_DONT_DISPLAY_IN_UI. My problem is that I cannot find any guidance as to the structure of this API declare and the coding needed to use it. I'm not even sure if this API will be helpful in accomplishing my task. I want to hide the Non Plug and Play devices and device class in my tree. Can someone please assist me with the locating an API that will accomplish this and the proper coding of the API in VB?

I am using Visual Studio 2010 Ultimate and Running Windows 7 Ultimate with all Service Packs and updates applied.

View 7 Replies

How To Make A Real Radio - Get A Headset And Plug It Into Computer

May 4, 2010

Today I wan't to ask you how I can make a real radio and here what i mean by real radio:

On the most telephon with touch or untouch screen have fmradio who search radio by using headset for antena. Is thera a way i get a headset and plug it into computer but in witch way i have to write the software.

View 4 Replies

Plugins - Org Chart Control/Plug-In For WPF Multitouch Application?

Nov 5, 2010

I have been working on a UI app (written in VB.NET and using WPF) which creates charts using the Microsoft Chart Control for Windows Forms. The application retrieves data periodically from a remote database, parses and formats the data to create series, and then creates a chart based off the series which is then hosted in a WindowsFormsHost control. So far this process has been working well.

View 1 Replies

.Net 2010 API To Hide Non Plug And Play Devices In Device Manager?

Feb 25, 2012

I'm writing a Windows Forms application in VB.Net 2010. The application's purpose is to recreate the Device Manager in VB.Net. The idea here is to capture the information provided by Device Manager and store it in a database.In turn this information could be used as a configuration management tool.My device tree is coming along nicely, with one minor exception. There are hidden devices that Device Manager does not display by default. Show Hidden Devices causes Device Manager to display these devices. My Device Manager displays them by default. I want to duplicate the Device Manager behavior of being able to hide and display these devices in my appilcation. I have had some success with this task in that I am able to hide the Plug and Play devices that are marked as hidden by windows by use of the "Don't Display In DM" flag. There is the small issue of the Non Plug and Play Device Class. Is there a similar flag for Non Plug and Play devices?

I have found a reference to the PNP_DEVICE_STATE and IRP_MN_QUERY_PNP_DEVICE_STATE IRP.It contains a flag PNP_DEVICE_DONT_DISPLAY_IN_UI.My problem is that I cannot find any guidance as to the structure of this API declare and the coding needed to use it. I'm not even sure if this API will be helpful in accomplishing my task.I want to hide the Non Plug and Play devices and device class in my tree.I am using Visual Studio 2010 Ultimate and Running Windows 7 Ultimate with all Service Packs and updates applied.

View 2 Replies

Plug In For Vb In Order To Use .swf File To Do Flash On Vision Studio 2005?

May 18, 2009

i understand that i need to have plug in for vb in order to use .swf file to do flash on Vision studio 2005. can anyone let me know where to download that component for this.

View 4 Replies

Cannot Create A New Project

Jun 6, 2009

When I try to create a new project (any type), an error message appears saying "The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)". Does anyone know what this means and how to fix it? This same program (VB 2005) is on my other computer and it works fine.

View 2 Replies

Create An CPL Project?

Sep 18, 2009

I can create a control panel app (cpl file) in VB.net

View 2 Replies

Create A Project For Class?

Jul 28, 2011

For extra credit I need to create a project for my class. I am here asking what is some of your ideas on a project I already did a calculator and I don't know what else to do one one

View 3 Replies

Create A Project Programmatically?

Sep 17, 2010

I'm currently working on building a program that will take a MS Access database system produced by my company and create a VB.Net project with all the forms in it (obviously the code should be manually done, but to save time the forms and controls can be produced automatically).I have tried Googling and seem not to be able to find anything about this (which probably means I wasn't searching with the right keywords), I was wondering whether anyone knows any good resources on how to create the VB.Net project programmatically as I already know how to do all the access stuff.

View 1 Replies

Create A Project That Contains A Pet Class?

Jun 21, 2010

Create a project that contains a Pet class. Each object will contain pet name, animal type, breed and color. The form should contain text boxes to enter the information for the pets. A button or menu item should display the pet information on a separate form. Hint: Use a ReadOnly property on the input form to pass the object to the second form.

What I have done so far is create a new class with the name Pet and have instantiated each object with readonly property. I have also created another form where the information entered by the user will be displayed. Guess I kinda need to know what would be the next step? And I want to ensure what I have done so far is correct.

[Code]...

View 7 Replies

Create Constants In Project?

Dec 10, 2009

Calculate and display the total cost of the sale, as well as the total cost of all sales and the average cost of all sales. - Clear the box for the number of yards, the total cost, and return the quality, padding, and installation settings back to their defaults. Use constants for the cost of each quality of carpeting ($4.95 for Fabulous Flat, $8.95 for Precious Plush, or $12.95 for Super Sculptured), the padding charge ($1.25 per yard), and the installation charge ($3.50 per yard).

[Code]...

View 5 Replies

IDE :: Error When Trying To Create A New Project?

Jun 11, 2009

So every time I try to start a new project i get an error: No template information found.See application log in Event viewer for more details. To open Event viewer, click Start,click Control Panel, double-clickAdministrative Tools, and then double-click Event viewe

View 2 Replies







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