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


ADVERTISEMENT

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

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

.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 VB6 Program Into .Net Program?

Jul 21, 2009

I have been trying to integrate our old VB6 program into a VB .Net application (running the VB6 pgm inside the VB .Net pgm). Following recommendation from another website, I created an interface program in VB6 (InterfaceVB6) so I can pass the VB6ClientPgm Window Handler to my VB .Net program. Please see following code to see how I load the VB6ClientPgm in the Dot Net program.

1. In the VB6ClientPgm, I have to use "mainForm.Show VbModal" to show the form otherwise it gave me an error "Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page." from the Dot Net program.

2. If I change the code to "mainForm.Show VbModal", when the VB6 program is loaded, the form is not positioning to the top of my tabpage. Instead, it is positioning on the left upper corner of the Dot Net application. Also, because of the VbModal mode, I cannot use any other functions in the Dot Net program unless I close the VB6ClientPgm. BTW, I used the same concept to load VBDotNetClientPgm (written in VB .Net) and it works.Is it possible to accomplish what I want to do (load VB6 pgm in VB .Net program)?

===1. VB6ClientPgm - client program to be loaded into the Dot Net program
Public Function IPlugin_GetMainWindowHandler() As Long
Load mainForm

[code]....

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

How To Create Plug-in To For Project

Apr 23, 2010

create plugin for my project.

View 1 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

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

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

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

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

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

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

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

VS 2010 : Program To Save Settings To Another Program Without Running The Program That Is Being Edited?

May 5, 2012

is it possible by 1 program to save settings to another program without running the program that is being edited?

View 6 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

VS 2010 Program Program That Generates A Batch File Stops Responding?

Sep 26, 2011

I've been working on a program that generates a batch file, then when you press a button, it executes that batch file. There are multiple batch files attached to each item in the list box.

[code]...

The only thing that it does when I press the button, is starts the batch file, then goes to function searchtitle, which executes the batch file again when it finds out it didn't work properly.The button text doesn't change, none of the items are being added to my first list box, and I can't do anything to the window after pressing the button. It constantly opens the batch file every 5 seconds or so.

View 2 Replies

VS 2010 - Wide Search -program Allows Users To Insert Documents Along With A Bunch Of Their Attributes Into The Program

Apr 14, 2011

The program allows users to insert Documents along with a bunch of their attributes into the program. The documents are stored in a relational database. One of the required functionalities is allowing the user to look for such documents. The User normally search directly for the obvious attributes of the document, like a unique ID, or it's Title. The problem is that from the search parameters is not allways known which ones will the user fill. For example the user inserts the name and version of the deocument, another time the user enters part of the Title and the person that delivered the document, or might just enter the document number and nothing else. Some of the data might even be incomplete, like title, name of the person who created the document and so on. The idea from the person who designed the system (I'm only reimplementing it) was to allow easier searches for the user, and allowing the user to search for more parameters tod with the idea that "the more parameters, the more specific results", since the results are always group of documents instead of single documents.

View 14 Replies

VS 2010 Program Will Need To Store Some Settings For When The Program Gets Closed Then Opened Again?

Jan 28, 2009

My program will need to store some settings for when the program gets closed then opened again. I would then like to reload the settings?

- Flat file
- Database
- Registry
- Other

View 1 Replies

VS 2010 VB 2010 - Program For Multiple Choice Test?

Apr 2, 2011

I'm really new at programming and was looking for guidance about a project I have.I have to design a program that administers a multiple choice test to users. It delivers questions one at a time, from a predefined test file for the user to answer. It also marks and displays a score at the end of the test.

First, a QUESTION form verify's the user's registration status and access. The user provides a registration number and password and the program reads it from a "registration.txt" file to determine if the user is eligible to take the test (i.e., they are registered to take it). If it is correct, then the user presses the "Begin" button. If not, then a message appears and the student tries again to enter the information.

A read only text box will display the score at the end of the test (String with format correct/total) and the user can't retake the test.Second, a QUESTION form opens after clicking "Begin" on the entry form. The questions are going to be from a "testfile.txt" file.Each question is on multiple lines in the file. The first line consists of the question followed by possible answers followed by the correct answer ( 3 items are separated by "#"). The current question number and the question will be displayed in textboxes.'n'= possible answers; so each of the next 'n' lines provides a possible answer. All possible answers will be displayed in a Listbox.After the user selects an answer, an ''Enter'' button is pressed. This will submit and evaluate the answer. If nothing is selected a textbox should appear and display the error message (APPEARS ONLY IF THERE IS AN ERROR). After pressing ''Enter'', the next question is displayed.When all questions answered, the entry form is displayed again and displays the score.

I know that's a lot of information, but I wanted it to be really clear. Would it be best to cycle/loop the questions with a DoWhile loop? And how would I store the answers while the user goes through the test?

View 7 Replies

VS 2010 Use Program As Default Program?

Mar 12, 2011

I want to associate my program with a certain filetype. I know how to do this, but my question is: how i can i see witch file is opened?

View 1 Replies







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