.net - Computer Names On A Network, Computer.name?
Mar 15, 2012The way we get my.computer.name, can we also get the name of all computers on a network?
View 1 RepliesThe way we get my.computer.name, can we also get the name of all computers on a network?
View 1 Repliesgetting the computer names which are logically connected in the network using vb.net.
View 2 RepliesI 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 Repliesi 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 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 Repliesi have a list of Hostnames from computers in my network and now i want to know how i can get the computer-description from these computers.
View 3 RepliesI 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]....
I need to create an application that detects the Installed andNot-Installed names of drivers in a computer. How to make this? Does this make easier to identify the Not-Installed drivers?
View 5 Repliescan anybody teach me how to do that(I'm newbie in network programming), to detect all the computer name's list in the network(LAN with(out) domain) and also the IP's list of the computers.
View 30 RepliesHow do i determine the network name of my computer?
View 2 RepliesIm trying to shut down the other PC on my local network through VB.net.. But whenever I run it.. It always says " CANNOT CREATE ACTIVEX ".. How can i solved this problem? By the way im using Windows XP..
Dim strComputer
Do
strComputer = InputBox("Please enter the computer name you want to reboot", "Input")
[code].....
I am trying to get the names of the USB devices attached to a computer. I saw system.management would do what I need, but. It says its not defined and I cannot find system.management as a refrence.
I am building in VB2008. Can some one point me in the right direction?
I have a computer that takes in a barcode through a Visual Basic program on one computer and I want to be able to compare that barcode as a String to data on a different computer on the same network by ethernet connection where the data is stored in an Excel 2010 file (.xlsm) in Column A in a workbook called 'Data.xlsm'. Before the data is allowed to be saved or used further in the program on the first computer, I would like for the comparison to happen.
Some more details that you all may or may not need.
Computer 1 (where barcode is scanned): Windows 7, Office 2010
Computer 2 (where data file is stored): Windows XP, Office 2007
i'm trying to upload an image from a vb form with theMy.Computer.Network.UploadFile, but the system responde me with error 404.Here is the code i'm using.Dim siteUri As New Uri("http://localhost:80/users/user_6/prova.jpg")Dim localuri As String = "D:calendariSonia.jpg"
View 6 RepliesIncomplete - Computer.Network.UploadFile?
View 5 RepliesI'm working in a project and i need to list only the online computers in my network and put them in a listbox how can i do this
View 5 Replies[Code]...
This code is put within a timer that executes every 3 seconds. ( instead of a while loop ) Whenever I run this code, the program takes time to upload the files in the folder to the ftp server, and it becomes (not responding), but it doesn't stop working, after the "not reponding" message, it reponds, but then it becomes not responding.. this is making the uploading process very Slow. I've heard so many things about application.doevents() and Threading and etc.
to do a program that can send a message in other computerthru LaN or Computer NetworkExample im in Server and i will send it is \PC-01here is the picture i design it but i don't know the code
View 1 Replieshow to find the list of SQL servers on the local machine...and not the network...
I searched in google but everywhere its for the list of SQL servers on network....I just want my PC SQL server name....
I'm trying to download a file from the internet by clicking a button in MS Access.
I'm trying to use My.Computer.Network.DownloadFile as described here: [URL]
Private Sub Command2_Click()
My.Computer.Network.DownloadFile("http://www.example.com/temp/xml_test.xml", "C:xml_test.xml")
End Sub
but the 'Microsoft Visual Basic for Applications' IDE that I'm typing this into seems to have no idea what I'm talking about (text just turns red).
Can I just not do this through the built in VB editor or can I simply load a library or something to make it work?
Sorry but I'm very new to VB and to Access so search results are not specific enough for me to understand - lord knows I've tried.
I'm using Access 2010 but the DB was created in an previous version - not sure if that matters.
My.Computer.Network.DownloadFile("http://MyDomain.info/MyFile.zip", SaveFileDialog)Hi, the above don't work, what i need is for it to popup a savedialog for the user to browser for a location to download the file
View 4 RepliesI wrote this sub routine that is running, but it only returns the local Computer name and Serial number. Any one know the why to grab the Computer name and serial by IP address? I am using VB 2010.
[Code]...
is there are possible way in VB.net to add all the IP addresses and or computer names where the workgroup of the computer is located?
for example I am in a workgroup named: HOME
is it possible to get all IP/computer names in the workgroup HOME?
I have a problem when trying to detect the computers network connection status.
Here is the code I have used:
Dim IsAvalible As String = My.Computer.Network.IsAvailable
If IsAvalible = True Then Label1.Text = "Connected" Else <code>
<code>If IsAvalible = False Then</code> I <code>
Label1.Text = "Disconnected"</code></code>
End If [/ICODE] End If[/ICODE]
But for some even when the network is disconnected or the computers wifi is turned on I still get the result of "Connected". I think there something wrong with the code.
In VB .Net I want to login other computer in network by username and password.[code]...
View 9 RepliesI'm developing an application that controls the rest of the machines inside a local network and when i try to send a command to Shutdown remotely a pc in this LAN, i get the error Acces Denied, i've changed the Security Policies of that machine por testing purpose at:[code]Changed to this option "Classic - local users authenticate as themselves" as i read in other posts.But still getting the same error, i dont know what's wrong... all OS on my LAN are Windows XP Pro Sp2, and all of them boot Administrative user without entering any password.
View 9 Repliessample vb .net source to copy file from a network computer?
View 2 RepliesCode:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Counter As Integer
[CODE]...
The code is suposed to go through all the computer names in a list box and ping them.
get all the computer user names and passwords to show in a text box? (in VB 2008)
View 6 Replies