Get The IP Address Of A Computer?
Jun 6, 2010How do I get the Internet IP of a computer using VB? not the xxx.xxx.x.xxx of a router. This code will go into a Windows Forms control and will be storable.
View 5 RepliesHow do I get the Internet IP of a computer using VB? not the xxx.xxx.x.xxx of a router. This code will go into a Windows Forms control and will be storable.
View 5 RepliesI'm trying to use the DHCP API (using the references on pinvoke.net) to retrieve a computer's MAC address when given the IP address but I can't get the code to work. I've run all the C# code on pinvoke.net through the C#-to-VB converter but I'm stuck now.
Here's what I have so far. The value of res is always 5 (should be 0). Thing is, I can't find any documentation on what the return codes mean
vb
Private Sub GetMACDim client As String = "1.1.1.1" Dim server As String = "0.0.0.0" Dim si As New NativeMethods.DHCP_SEARCH_INFO si.SearchType = NativeMethods.DHCP_SEARCH_INFO_TYPE.DhcpClientIpAddress si.ClientIpAddress = Convert.ToUInt32(StringIPAddressToUint32(client)) Dim res As UInteger Dim oInfo As IntPtr
[code]....
I tried to get os version of remote computer using ip address with WMI ,It shows "RPC server unavailable" error.If anybody have solution for getting remote system information without WMI in vbnet,
View 1 Repliesdoes anyone know how to get a computer's mac address with an IP address?
View 25 RepliesHow can I get the IP address of my computer (on which my application is running)in vb.net
View 3 RepliesHow to get the remote computer name and IP address with vb.net !!! We are running a vb.net application on Intranet. We have users in remote areas who use the application. So I would like to know their computername and password.
View 3 RepliesActually it is possible to find the mac address of host computer using but i just want the code for access the visitor's computer mac address in c#.net
View 1 Replieshow to get physical address of computer having Windows 7.
View 8 RepliesI've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.
I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.
I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.
What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.
I am new in to .NET. I am creating an application where I have to perform Mail Merge from my program. I have created a form which contain RTB and user can write letters. I programmatically add tags for address, name, comp. name et while saving the letter. I have a datasource - in for mof a dataset to whom I have to send the letter.This is where I am stuck. I don't know how to open the selected letter and replace the tags and how to do mail merge.
View 6 RepliesI would like to detect the Address and Port number of the Parallel Port in computer.
View 4 RepliesAre there any IP Address filters or masks available in Windows Forms as per following screenshot? A backslash shouldn't be allowed or it should be filtered somehow.
View 1 RepliesSocketException was Unhandled: Only one usage of each socket address (protocol/network address/port) is normally permitted I get this error every time i click collect a second time.
[Code]...
Can anyone point me to some code which can help obtain the network address from the host IP and subnet mask?
View 3 RepliesI made web browser which consist address bar that I use it to type addressess in it i.ewhen I type [URL] it opens [URL] but when I go to anther page in google it doesnot show it's link in address bar lix InterntExplorer or other international browsers so how to show any link or any sub page's link in my browser address bar ?
View 1 Replies ' Use Your work Group WinNT://&&&&(Work Group Name) Dim DomainEntry As New DirectoryEntry("WinNT://Wokgroup") DomainEntry.Children.SchemaFilte
[code].....
i have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 RepliesI have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
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 Replieshow can i look up for a specific computer given ip or computer name ...retrieve the user logged on..
View 2 RepliesProblem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...
I have to create an online application which i can apply it on every employee's computer in my company and i have create the application on visual basic 2008 and SQL 2005 using windows application and database. The problem is i do not understand how am i going to run the application on every employee's conputer. Because i have create the application on my computer, must i install SQL on every employee's computer? or any other software i have to used.
View 8 RepliesThis line of code freezes on my Win7 dev computer but not my XP dev computer.I am using Visual Studio 2003.
strOutputFile = "c: est.mp3"
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 RepliesIn member register page, I added email address validation but it only check the email address format, such as .com, .net, .org.If user inputs fake account such as aaabbb01010@gmail.com, how to verify it and return an error?
View 2 RepliesI have exe file that lunch a program takes 5 inputs. this exe locates in computer B and I need to execute it from computer A using VB.net customized application that pass the inputs through it.
View 3 Replies