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


ADVERTISEMENT

VB In A Laptop Through USB Port And A USB-RS232 Converter To Communicate With A Microprocessor Using RS232 Protocol

Oct 18, 2010

I have developed a microprocessor based devise. It can communicate with laptop through RS232 as a VB application. Now most of laptops have USB port only. So I want to use USB replacing RS232 port on laptop side but not change anything on the device side. Can I do this using a USB-RS232 converter? How to change the VB software?

View 1 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

Get A Port Number From FaxServer?

Mar 10, 2010

I am trying to figure out the port number of a fax server. It gives everything but the port info. I see in the documentation there is .GetPort but I am on windwo xp and I am not seeing that the method.

View 1 Replies

Get Ip Address And Port Number Assigned By .net?

May 30, 2011

I have 2 winforms, one acts as server (ie Winform:Server role) and another one as client (ie Winform: Client role). In my LAN setup, there are 6 PCs and these PCs connected to each other via a 8-port switch and each PC has more than 1 LAN card.

There is one PC running [Winform: Server role] and 5 others running the [Winform: client role]. In [Winform: Server role], I'm using following code to obtain local ip address and port number and the [Winform: Server role] will listen to all incoming TCP requests according to these auto assigned ip address and port number.

Dim Listener As System.Net.Sockets.TcpListener
Dim Client As New System.Net.Sockets.TcpClient
Dim Message As String = ""

[Code]....

I need to clarify my intention. My current approach to my intention maybe incorrect. I attempt to create a 'zero configuration client-server networking' and that is plug & play. The server will know where the client and vise versa. I know there is a program (i.e. MaxiVista) has done that exactly.

MaxiVista has 2 applications, i.e. server and client. Users only need to execute the server application in PC designated as server role and execute the client application in another PC designated as client role. Then the server will be able to find all executing clients in the same LAN.

My intention is just that. Plug and play 'zero configuration client-server networking' within the same LAN.

View 3 Replies

VS 2010 Get Com Port Number By Friendly Name?

Feb 11, 2012

an application working with a modem through usb virtual port,on every different computer it gives different COM port numbers so I have to guess it. How to get COM port number by friendly name like in Windows Device Manager if i know GUID, PID & VID of device. Does anybody have a code snippet?

View 4 Replies

.net - Send File FTP Over SSL With Custom Port Number

Sep 21, 2011

I want to upload and download a file to FTP over ssl with custom port number or FTP with implicit SSL. I am using .net ftpwebrequest & ftpwebresponse method for this. here is my code:

[Code]...

View 1 Replies

Identify Which Com-Port Number Is Micro Mouse Connected To?

May 30, 2012

Example, when i plug in my device, the programme is supposed to identify which com-port is connected to it and update the textfield accordingly, however this is my first time using such a device and im not too sure

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

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

TCP - Send A String Held In A Var To An IP Address And Port Number Both Also Held In Vars

Dec 9, 2011

I wish to send a string held in a var to an IP address and Port number both also held in vars. I also wish to listen to a signals coming in on a particular port number so when particular strings are received I can trigger other transmissions.

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

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

Know When Laptop Lid Is Closed?

Sep 28, 2010

I have a laptop with windows 7 and I am trying to make a program for it. I want it to do is after a certain time of day when I close the lid of my laptop it will make it go to sleep. But at every other time of the day I want it to stay awake when I close the lid.

I have been looking all over the internet and i don't understand what people are saying.

If anyone can tell me a way of knowing when my laptops lid is closed in vb.net that would be fantastic.

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







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