Program To Talk To A Network Switch?

Dec 21, 2011

I am not new to programming but have little experience and am trying to learn VB 2010.
We have HP Procurve network switches and I know that with a telnet application I can login to the switch and it will tell me which MAC address is connected to which switch port. Im trying to write a computer inventory program to track my computers and it would be really cool if I could figure out how to determine which computer is plugged into which port on the switch. Problem is that I have no idea how to go about doing that.

Is this anything anyone has tried before or does anyone know how to go about doing it?
Ive been hunting on line but havent found anything useful so far and thought Id ask here in the off chance someone knows what Im talking about.

View 4 Replies


ADVERTISEMENT

Switch Network SQL Server 2008 R2 Database To A Mobile SQL Server CE *.sdf File

Nov 2, 2011

I have developed a VB.NET program using a strongly typed dataset. This dataset has its connection to a SQL Server 2008 R2. The software should now be additionally used offline. The database should be exported to a *.sdf database. If no connection to the SQL server is produced, the software have to try to connect to the *.sdf database.I would like to achieve:

1. Export the data in the SQL Server 2008 R2 database to a local *.sdf file.

2. This *.sdf file has to work as an alternate connection string in the strongly typed dataset.

View 1 Replies

Switch Project From Program To C#?

Jun 29, 2010

Is there a way to change the language of an ASP.NET project from Visual Basic to C# easily? I would even be willing to re-write the code as it's still fairly simple at this point.

View 2 Replies

Make The Program Automatically Switch To Tab 2?

Apr 27, 2009

I have a web browser on my form and it is definitely big enough to warrant a tab control, with the web browser being on the second tab. I have a button on the first tab that should have the browser navigate, but how do I make the program automatically switch to tab 2? i.e., this is what happens:

1 - user is on tab 1,

2 - user clicks a button on tab 1,

3 - the program does what it needs to do and automatically switches to tab 2

For instance, here is the button that will be clicked:

Private Sub swap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles swap.Click
If video = False Then

[Code].....

So the button will make the web browser go somewhere, I just want to have the form switch to the other tab automatically so that the user doesn't have to do it. I tried using webbrowser1.focus() to no avail. Is there a tab switch?

View 2 Replies

Can't Manage To Figure Out, The Program Has To Switch To The WoW Window?

Nov 2, 2009

I'm Jojo and i'm developing a program to help ppl in WoW.There's just 1 function which I can't manage to figure out, the program has to switch to the WoW window when I click a button.

View 19 Replies

Switch Off Procedure Separator In Program 2008?

Jan 6, 2010

How to switch off the annoying (to me anyway) horizontal line that seperates procedures in Vb?

I've setup a new Dev machine for myself and for the life of me I can't figure out how to switch it off in VS2008.My mind is obviously failing with age, I know I did it on the old machine!

View 2 Replies

VS 2010 - Program Checking The Colour At A Specific Coordinate - Switch Between Windows ?

Apr 16, 2011

Basically what I want to do is create a program that every now and then (maybe 10 minutes) switches between either, all the windows currently open, or a selection of all the windows currently open, then checks the colour of a location on the screen. At the moment I have the program checking the colour at a specific coordinate, so that's all good. The problem I have now is how to switch between windows.

I've thought up a few ways to do this. The windows that I care about checking all have the same name, the same process class, but different process IDs. I already managed to stick all the process IDs into an array of integers hoping that I could use them but I don't have a clue how to bring a window to front using just the process ID. So the first method would work if I could figure out a way to do that.

My second idea, which is a pretty rubbish way of doing it, would be to simply simulate pressing Alt+Tab however many times to change between windows.

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

How To Talk To A Modem

Jan 26, 2009

I'm a novice and after toying with some basic ideas on how to talk to a modem with VB.net, I think there may be much more to it than I realize. (?) I know my modem is fine, I can use hyperterminal to call out on it with no problem.So, how involved is it to talk to a modem? My initial thinking was that I could simply talk to it via a serial port using AT commands sent and rcvd as a string.(?)My modem is set up with COM2 9600 8n1.I've setup a serial port with the same parameters in my code.

View 13 Replies

Create A 2 Applications That Can Talk To Each Other?

Feb 17, 2012

Im needing to create a 2 applications that can talk to each other. One wil run on a server as the server application and others will run on workstations as clients. I want them to connect to the server app much like a chat program would work. I want to be able to send commands from the server to the workstations such as reboot, open this file, things like that. I also would like to be able to send the commands backwards to the server if needed as well. i think a chat program could be modified to do this by "watching" the message and if the word "reboot" comes through then the server/workstation would convert that to a command.

View 9 Replies

Make Two Applications Talk To Each Other?

Jan 18, 2010

I use several different applications for analysis of pupil data. Each of these applications require similar or identical data but because they don't draw their information from the same sources there is often a need to enter this data more than once which obviously is a waste of time. Some of the data is accessed through the intranet via IE, other applications are standard Windows apps. I would like to create some sort of bridging application to allow data to be automatically shifted from one location to another but have no idea how to use one application to control another

With regard to getting data from the intranet, I have managed to write an application that can retrieve some (but not all) data off a particular page of HTML. It does this by searching the source HTML but some of the data that appears on the page isn't present in the source file. This is very frustrating because I can see it in the browser but can't seem to access it through my application.

View 4 Replies

VS 2008 VB Apps Talk To Each Other?

Aug 22, 2009

What I want to produce is a form with about 20 text box's on it that are linked to a timer. That is easy, what isn't easy for me is how to get the data in a loaded form from access to another VB app. (timer form will be limited to one instance)

I have an access database which copies a string to clipboard and then opens a vb app. I have a button on that app which captures the clipboard text and moves it to an empty field starting a timer (lots of fields, keeps searching till it finds an empty field).What I want to know is: can access talk to a vb form that is already loaded and start a function?ORIf access can't talk directly to a vb app, can vb apps talk to each other and swap data (not just keystroke macros eithre)?

I can get access to copy text to the clipboard, launch a VB program that grabs the text in the clipboard and starts a timer, but can I get that VB app to talk to a second application?EDIT: I should add that VB doesn't need to talk to any tables in access, just what is in the clipboard.

EDIT: Tried to make 2 instances of the same app talk to each other using my.settings but it didn't work.
Could I make them talk to each other through a file other than my.settings file OR make the my.settings file absolute regardless of how many instances?

View 4 Replies

Talk To USB HID Device Using 2010 In A 64bit App

Jun 28, 2011

I have a USB HID temperature sensor. I am trying to communicate with it using VB.NET 2010 in a 64bit app I am writting. I had some code mcHID.dll that works, but it is a 32bit app and I don't want to change my whole app just for this dll.

View 7 Replies

Use A Web Service To Talk To An Active Directory?

Mar 6, 2009

Alright, I'm currently trying to use a Web Service to talk to an Active Directory. I've spent hours scourging the net and can't find a solution to this.The current password is Testing1234

And I want to change it to Complete9876 But I get this error message:

System.Runtime.InteropServices.COMException (0x800708C5): The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (Exception from HRESULT: 0x800708C5) obviously, this makes little sense, since the password does indeed meet the requirements. Here's the

[Code]...

View 7 Replies

VS 2008 Using PrincipalContext To Talk To AD For Un/pw Validation?

Jan 12, 2012

This code works perfectly on my users WEB SERVER - which is in the domain of that system...

Dim domainContext As PrincipalContext _
= New PrincipalContext(ContextType.Domain, "domainname", "DC=domainname; DC=morexxx; DC=moreyyy")

[code].....

View 3 Replies

[2008] Talk To Practicount With OLE Access

Feb 22, 2009

I've downloaded this word counting application that says I can use it from my own app Here's some of the doc PractiCount and Invoice Enterprise OLE Automation Interface Top Previous Next Programmer's Guide to PractiCount and Invoice Enterprise OLE Automation Interface PractiCount and Invoice Enterprise Edition includes OLE Automation interface to access its internal objects and structures and to control counting and report generation from your programs.

[Code]...

View 2 Replies

Talk To A Byte-type Named Pipe Server?

May 22, 2011

I am writing a VB.net client to write to and read from a named pipe in byte transmission mode.I learned from the MSDN article that CallNamedPipe() only works for message-type named pipes.

So do I have other choices, or do I have to change the pipe server code to message type.

View 1 Replies

Convert Single Instance Program To Network "Multi-Seat" Program

Apr 26, 2012

I have developed some programs for processing and issue-coding electronic documents. I am teaching myself how to work with SQL Server because I want these programs to work with electronic documents imported into SQL Server as opposed to messing around in a folder stuck on the desktop, for example. From there I want to expand on the program so that it is a network enabled program.

[Code]...

View 1 Replies

Run A Program From A Network?

Apr 9, 2010

I have my program that runs from a workstation and the SQL DB is on the SERVER.I am having a lot of problem with it as the VB.NET program wont refresh the dataset.I would like to test the same by putting the SQL DB on a network drive, and run the program from another workstation.Just to narrow down the problem.My Question is this. I install the SQL DB on machine A and then install my program on Machine B?

What should I do to get Machine B to access the SQL DB on Machine A.Will sharing the SQL FOLDER be good enough for my program to access the DB of course, I have to modify the connection string on my program, but other that is there anything more to be done.

View 2 Replies

Deployment :: Vb Dot Net Program Can Not Run From Network?

Oct 16, 2009

My Vb Dot Net Program Can Not Run From Network. When i try to register my program to GAC,it said my assembly dont have strong key,

i cannot put strong key, because i put component vb6 to my program..

View 2 Replies

Share A Program On Network?

Sep 8, 2009

I have written small a software. I want to install it on a server and and make it accessible for all the other users on network.

How can I retrieve the server name (the computer program installed) with .NET?

Also, sharing the "Program Files" folder doesn't look like a smart idea for making the program accessible from the other computers.

View 2 Replies

Connect Program Via Network To Database

Feb 7, 2010

I make my Program to Connect via Network to Database..[code]

View 5 Replies

Deployment :: Allow Dot Net Program To Run From Network Without Strong Key?

Nov 1, 2009

how to allow dot net program to run from network without strong key ? since i have program put on network, ussually i put strong key on that assembly, and it can work and run from network this program.. but there is some component com object that make me to cannot compile if i put my stong key, so i compile it without stong key, but it came i cannot run this program from my network..

View 5 Replies

Detect Network Failure In Program?

Sep 29, 2009

How to handle the Network failure error message,and how to simulate it?

View 3 Replies

Disable Network Adapter Using Program?

Jul 12, 2011

How can i do about disabling a network adapter using VB.NET.

View 1 Replies

Getting A Local Network Chat Program?

Aug 26, 2011

I need a program that can send and receive msgs to everyone that's on that program and on that network, then is there a way to add chat rooms to the program 2. I looked all around the Internet and MSDN and found a lot of results but non worked property.

View 6 Replies

How To Make A Network Monitoring Program

Jun 6, 2010

I'm sorry if this is in the wrong section but I don't know where else to post.I am new to vb.net and would like to tackle it head on.I would like to know how to make a network moitoring tool thatwould check who is on the network. I cant find any tutorials.

View 2 Replies

Communications :: Program Stalling On Network Reading?

Oct 8, 2008

I am playing with network sockets as I need to work on a client-server application. So I have tried this simple code from VS help:

Code:
Dim tcpClient As New TcpClient()

'The following line do not belongs to original code 'But I needed to add it as debugger told me that 'I couldnt getStream from closed sockets

tcpClient.Connect("127.0.0.1", 8000)
Dim netStream As NetworkStream = tcpClient.GetStream()
If netStream.CanWrite Then

[code]....

So, I supposed that the code above would write the message to the loopback IP (127.0.0.1), it would be kept in the network buffer and would be spited out when it readed the same loopback IP. However, when it gets the line whre it should read the stream, the program just stalls and keep reading it forever. I have tested the stream with as if it was just awaiting for something to read. I have tested the stream with getStream.DataAvailable and it returned me False, what makes me guess that the data is NOT being properly written to the IP.

Firstly I thought that it could be something with the loopback IP, then I tried to provide the machine local IP (192.168.2.25) but I got the same behavior: code stalls...

View 5 Replies

Connecting A Matlab Neural Network With Program

Dec 1, 2011

I developed a neural network to train for face detection of the extracted images. However my program is built on VB.NET and I need to know the techniques by which I could load this neural network (Exported using NNTOOL) into memory and call it from VB.NET [code]I do not quite understand how this works, any suggestions on whether I could conenct the Neural network to VB.NET using this code and if so could you please explain to me about the Matlab.Execute and Matlab.GetFullMatrix functions.

View 1 Replies

Find Network Domains Connected In Program?

Dec 22, 2009

How do I determine which network domain I am connected to from VB.Net?

View 1 Replies







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