How To Detect Network
Jun 22, 2010i need a code on how to detect network in the dashboard.
View 2 Repliesi need a code on how to detect network in the dashboard.
View 2 Replieshow to detect a wireless network in .net?
View 1 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 to handle the Network failure error message,and how to simulate it?
View 3 RepliesI 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.
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]...
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]....
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).
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 Replieshow can get and send something to server not download and upload(geting information for login users and send information to server)
View 10 RepliesIm gonna develop an application s/w using VB.Net & Oralce for a small company with 4 employees and a MD.
Each has their own PC connected through a Hub.The task of MD is to check in the employees daily work progress & to calculate their incentives in daily basics...
And each emp should be able to check their daily incentives from their PC using the passwords provided by the s/w Now my doubt is. how should I show the daily incentives updates to all emps PC from MD pc?(i.e) if i install the s/w in all PCs, will they'll get the updates automatically? DOES VB.NET can be used here or should we use ASP.NET?
I want to use my SQL Server DB over a network. I have setup server client applications.The thing is for my current DB, I need to give it to server administrator who attaches the DB to SQLExpress instance and only then my network computers can access that.My question is, is there any way that my vb.net application could attach this DB through code at runtime, and DB gets all rights that are necessary to access it over the network?
I can attach DB using Create procedure but for this I need to know the sa password. Is there any way that I could achieve the same goal without sa passord and sa intervention?My only purpose is to enable my DB to be accessible over the network with all read /Write rights.
I have a nearly finished program. I have been able to install and run on my development PC, but I can't install it on another PC on same network.
Where to ask for help on this one please. Some very basic help is needed I think.
Using Visual Studio 2008, Vis Basic
if there was a way that I could get all the IP's on the network and put them into a listbox?
View 4 RepliesI'm using the details on connecting to a server from a client here: [URL]
It's quite out dated but I just need it for a quick project. I need the client to auto-connect. This program will be running on the LAN only, is there a way to find on what computer the server is running on (i.e. all computers hosting the specific server on port x). I've seen it on a couple of games that run on LAN. Without access to the internet, they manage to display all available games on the local LAN. I'm doing this with VB.net.
how can i detect in VB.Net 2010 that which network card I'm currently using for internet? Like Local Area network, Wireless Network Connection, Cellular Modem or Bluetooth Modem?
View 4 RepliesHow could i get name of Active exe on Network pc?
View 1 Repliesi want to track the application for that i am storing network user in table. how to get the network user name in .net 1.0
View 2 RepliesPart of an application that I'm building searches the network that the current computer is connected to and returns a list of the IP & MAC addresses and the hostname. It is based largely on the post by richard__deeming at [URL] At the moment, it will only get the information about computers that are in the same workgroup, but I have several computers that need to be shown, that are joined to a domain rather than the workgroup. How can I get the program to find every computer on the network?
View 2 RepliesI need to know how the network is being monitored by the help of vb.net.
View 1 RepliesIs there any easy way to find out , which network am I connected to via programmatically. I mean we can check the Network is available through "My.Computer.Network.IsAvailable", same way can i find the name the network (Either Direct or via VPN).
I have to do something if my network is connected to a particular network.
I am using VS2008(VB.Net) windows application. Custome upload some file through FTP in www.XXXX.com. The file store into a computer which IP is 192.XXX.X.XXX and C:XMLOrder folder. Now I want to access this through code to read the files.
View 7 RepliesI have an application where i have to schedule some msg to my network users and as per the sheduler msg should be popup on their machine on local network.
View 3 RepliesWhat I Want Is To Get All The IP Addresses On A Network And Put Them Into A List
View 2 RepliesI have barcode reader work by rs232 , i using converter from rs232 to TCP/IP to make it connect by TCP/IP, Now barcode send data on this Ip "192.168.0.125" on local network and the IP port is 50000 How i can listen to this ip to read the data send to this ip?
View 8 RepliesI have done my application programming in VB. But now i am trying to do some application related to network programming. But i am unable to find the winsock control in Visual Studio 2010.
View 5 RepliesI'm currently doing my project to check my server status with ping option. but i got problem to check either the network is plugged or unplugged...I need this checking automaticly using timer...here what i have done....to ping the server is success but when pulgged back the network...error come around..
Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
Timer4.Interval = 30000
If My.Computer.Network.IsAvailable Then
If My.Computer.Network.Ping("www.mine.my", 500) Then
[code].....
How to make a vb.net application that allows me to play online games using web proxies?
I tried
Private Sub enableProxy()
Dim proxy as new WebProxy("115.160.178.253:80")
WebRequest.DefaultWebProxy = proxy
End Sub
But that only works for httpwebrequests.
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.
i am trying to show if the computer is connected to the internet and showing the network name at the same time.example (when connected) "Connected To NetworkName"
[Code]...