How To Get Type Of A Remote Network Device

Sep 3, 2010

I am writing a network diagramming application with SNMP autodiscovery. I can query SNMP devices but I need to be able to differentiate between laptops, servers, and workstations. The only response I recieve is cpu information, os version, and the cpu stepping. Any idea on how to get the type of a remote network device? This might be more a networking question.

View 1 Replies


ADVERTISEMENT

Connect To A Remote Network By Creating A Temporary Connection On The Fly By Using The Remote IP/Host Name?

Jan 20, 2010

Rather than use an Entry name of an existing VPN connection, is it possible to connect to a remote network by creating a temporary connection on the fly by using the remote IP/Host name, username and password?

View 6 Replies

Create A Remote Control Device?

Aug 1, 2009

How would i create a remote control device so i could access any pc with this software and view there screens, share files, etc.

View 2 Replies

Communications :: Find Device On Network By Its Mac Address?

Feb 6, 2009

I have a small embedded web server and to setup its network parameters I use a serial port, however this is giving me a lot of trouble due to USB to serial adapters (in some computers work in other doesn't).

However the other day I saw that Buffalo has a little program to find their NAS boxes (or network drives) when you don't know their IP address or got the wrong one so I assume they do it by looking for mac addresses.Is there any way of doing this with VB 2005 or higher? Basically I don't know the IP of the embedded server so I need to find it on a network, how do I find it?

a) I could do a general IP scan assuming it is on the same subnet than the host computer
b) if it has a different subnet... a general IP scan is not going to work, is it?

View 2 Replies

C# - Find Through Which Network Device User Is Connected To Internet?

Apr 1, 2011

Using the code below i will get all network interfaces wich are enabled and functional on the machine.

Private netIntrfc As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces()
For i As Integer = 0 To netIntrfc.Length - 1
If netIntrfc(i).OperationalStatus = OperationalStatus.Up Then

[code]....

But my problem is how to get the default one, the one(ethernet adapter) through wich user is connected to internet?I need to change some settings of default(through wich user is connected to internet) adapter. settings i change through registry so i could sample add same settings for each network interface but that could cause problems and makes no point then?

EDITED:for now i have done like code below, so if this can help someone other...

Dim u As UdpClient = New UdpClient(System.Net.Dns.GetHostName, 1)
Dim localAddr As IPAddress = CType(u.Client.LocalEndPoint, IPEndPoint).Address
Private netIntrfc As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces()

[code]....

View 1 Replies

Checking IP And Port Of Switch / Router That Links To Remote Device

Oct 10, 2009

Our company has setup several remote devices that link to a switch Whenever there are problems on the device, some technicans will replace it using a new one We have a vb program that can automatically update the device setup in our server when technicans replace devices. So we do not need to login and update the setting manually However, our program cannot handle the case that there are more than 1 device that need replacement Therefore, our idea is to retrieve the ip and port of the router/switch that links to remote device using VB.net.

View 2 Replies

Remote Shutdown PC In A Network?

Oct 14, 2010

How to remote shutdown a PC in a network using vb .net?

View 5 Replies

Local And Network Printers For ALL Users On A Remote Pc?

May 30, 2012

I have this partially working but only shows printers for one user, need all local and network printers mapped for ALL users on a remote pc so I can migrate them, I know I need to do some sort of for each method but not sure what will work

[Code]...

View 1 Replies

Open A File From A Remote Network Share?

Jan 14, 2010

I am trying to open a file from a server

I currently have

Dim attachedFilePath As String = "\myservermyshare est.txt"
File.Open(attachedFilePath, FileMode.Open, FileAccess.Read, FileShare.Read)

This does not open a file.

However, if I change the path to be local then there is no issue.

Dim attachedFilePath As String = "c:... est.txt"

So, is there a way to open a file from remote storage?

View 1 Replies

Copy The MSI From The Network Location, Store It Locally On The Remote Computer, Then Run It?

Apr 18, 2011

I'm using System.Management.ManagementScope to connect to a remote computer and install an MSI package. This works great if the MSI is located on the remote computer, but it fails if I try to use a network location to run the MSI from. The UNC path is correct because if I manually type it from the remote computer it runs fine. There must be a limitation (security I'm thinking) that prevents things from running via WMI if the exe isn't local to the remote machine.My last hope will be to copy the MSI from the network location, store it locally on the remote computer, then run it - but I'd really rather not have to do that.

View 3 Replies

Remote Desktop - Modify That Program To Allow Me To Connect To Computers Not On My Network?

Jun 12, 2011

I have created a program that allows me to remotely access computers on my network (not all done by me i found some code online) however i want to modify that program to allow me to connect to computers not on my network. How can i go about doing this? My program consists of a client and a server. When the server runs it listens for the client on the client side i enter the IP address and it connects so i can send remote commands to the remote system.

View 4 Replies

Transaction Manager Has Disabled Its Support For Remote / Network Transactions.

Apr 12, 2012

I'm using SQL Server and ASP.NET.[code]I have worked this way in another application with the same environment without a problem, but here I have this problem.

View 1 Replies

Error 2145320939 - No Wia Device Of The Selected Type Is Available

Oct 25, 2005

No WIA device of the selected type is available.I'm using VB6, Windows XP SP2, HP ScanJet 5300c.Here's the code:

Dim objWIA As WIA.CommonDialog Dim objDevice As WIA.Device Set objWIA = New WIA.CommonDialog Set objDevice = objWIA.ShowSelectDevice(ScannerDeviceType, False) MsgBox objDevice.DeviceIDI get the error on the ShowSelectDevice line.

I have tested the scanner and it does work. I have contacted HP and they said this scanner is WIA compliant.

View 2 Replies

[VS 2005] Service Control Manager Privileges - Communicate With A Windows Service On A Remote Machine On The Network

Jul 23, 2009

I am trying to communicate with a Windows service on a remote machine on the network but i keep getting an exception saying the following: "System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.

[Code]...

View 4 Replies

Copy A File From A Local Computer To A Remote Computer On The Network?

Dec 19, 2006

I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?

View 2 Replies

VS 2008 Network App - Send Message Or Network Package To Some Of The Clients In The Network

Aug 18, 2009

Here is my idea so far: I have a bunch of computers connected in a local network. One of them is a MySQL server, one will have a vb.NET program wich will act as a "second server" and the rest will be different clients. What I want to do is that the "second server" will send out some kind of message or network package to some of the clients in the network, and they will execute a code based on what message it is, or what kind of package it is. I'll give you a simple example:

[Code]...

View 6 Replies

Make Program Feel If Any Device / Usb Device Plugged Into Computer Or Unplugged

May 5, 2010

how can i make my program feel if any device or usb device plugged into the computer or unplugged.url...

View 3 Replies

Windows Cannot Load The Device Driver For This Hardware Because There Is A Duplicate Device Already Running In The System (Code 42)

Nov 13, 2009

A Problem in accessing a device from VB Windows cannot load the device driver for this hardware because there is a duplicate device already running in the system. (Code 42) This error is because i am using 2 devices of the same company which has the mass usb storage on it and when i install one of the device the other hides. So one is detected the Other is not. It also give a error called designed dragnonacally something...

View 2 Replies

Server-client Type Application That Allows Network Administrator To Perform Tasks

Feb 14, 2012

I am creating a server-client type application that allows the network administrator to perform tasks on remote computers by using TCP sockets (TCPClient and TCPListener).The server application needs to send out a message to a client machine (with client application installed) and from this, the client application will send back the required data (i.e. system info, task progress etc). This part works fine.However, I am having trouble in getting the client application to constantly listen for an information request in the background. It should be listening whenever the application is running. What I want to do is to have an event handler which, when a message comes through, acts upon the instructions to send the relevant information back. The server does not need to constantly listen for data, as it will only receive data after it has sent a request.

View 2 Replies

WMI Network, VB 2008 Gets Invalid Function/invalid Cast Type

Jul 15, 2009

I'm using WMI code and VB 2008 to see NIC status. So far the queries are working, but the methods aren't. For example, I'm trying to set a network card to use DHCP, I get invalid function with this code:

Dim classInstance As New ManagementObject("rootCIMV2", "Win32_NetworkAdapterConfiguration.Index='7'", Nothing)
Dim outParams As ManagementBaseObject = classInstance.InvokeMethod("EnableDHCP", Nothing, Nothing)

View 3 Replies

Remote Desktop - Make An Application Of Remote Management For Images

Aug 5, 2010

I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?

View 8 Replies

VS 2008 My.Computer.Network.Ping() Cannot See Network Under Windows 7

Nov 18, 2011

I have a .NET 2.0 *.dll that calls My.Computer.Network.Ping(). The *.dll is then run out of an *.exe via AppDomain.CreateDomain() and Invoke(). The problem is that this works just fine under Windows XP but under Windows 7, I get an exception saying that no network connection is available. I tried the Ping() call out of a small console application under Windows 7 and it works just fine.

[Code]....

View 6 Replies

.net - Using A FileStream On A Network When The Network Drops?

Mar 26, 2012

I am writing some code as part of a framework for opening a file.The file is of custom type and should not be opened by more than one instance of my application. To stop multiple file opening I use a filestream to create a lock file and then keep said filestream open. This seems to work in preventing another instance of my application from opening the file ( as it will fail in recreating the lock stream in the files open code ) but if the file is on a network share and the network drops then the original application also can not access the file any more.The code to get the lock stream is as follows:

Try
' We need to keep this stream alive to prevent other applications gaining access to the lock
mLockStream = New FileStream(mLockPath, FileMode.CreateNew, FileAccess.Write, FileShare.None)[code]....

In this I create the lock stream the first time round and then if another application tries to create it, it throws an exception and stops them from getting any further. This is kind of how it needs to work, unfortunately as I said, if this is done across a network and then the network connection is dropped for some reason then I can not delete the lock stream as I get an IOException telling me a process cannot access the file as it is open in another process ( which shouldn't be happening I don't think).

View 1 Replies

Connect To Remote Computer And Display The Status Of Process Running On Remote Computer?

Dec 27, 2009

I'm trying to develop a windows application where i can get connected to remote server and look for process state going in remote server.We have many remote servers where automatic installation of software going on. We have an xml file(installstatus.xml) where it tells us at what stage the installation is (Example : Inprogress , Completed, Failed.)

So our aim is to develop a windows application where i can get connected to that servers and look for their installation status(may be we can use installstatus.xml to look for installation status). Every time i connect to a server, the server information should get stored in XML file(i want to create a xml file where all the servers list i connect to should get stored)

The UI at left side should will have list of servers i can connect to. When i get connected to server, at right side of UI, i want to display the status of installation (In progress, failed , completed).

View 1 Replies

Transfer Files From One Computer In One Network To Another Computer With A Totally Different Network

Jun 22, 2011

I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.

View 7 Replies

Get LAN Name (not Device Name)

Jun 21, 2011

I can get the LAN Device Names (using code below) but how do you get those strings from the "Name" column (see image) that the user can change?

' get list of enabled lan card device names
Dim cat As New PerformanceCounterCategory("Network Interface")
Dim instances As String() = cat.GetInstanceNames()
For Each instance As String In instances
Debug.WriteLine(instance)
Next

View 2 Replies

How To Run Device Via USB

Aug 2, 2009

I am using VB.NET. How can I run device via USB? I mean device, such as lamp by USB.

View 1 Replies

Communicate With A PCI Device?

Apr 29, 2010

I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...

View 2 Replies

Determine Device IRQ In .Net

Mar 22, 2012

How do you retrive a given device IRQ in VB.Net? I can find no examples of this anywhere.

View 4 Replies

How To Detect A USB Device

Oct 23, 2009

I need to detect a usb device when it is connected to PC.I found next code that is working. But it works only with Mass Storage.Imports System.Management

Public Class Form1
Private WithEvents m_MediaConnectWatcher As ManagementEventWatcher
Public USBDriveName As String

[code].....

View 4 Replies







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