|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exe for checking Computer on NetworkHi,
I am trying to copy files from one computer to another, the problem I am facing is that the program chokes when the other computer is not available (shut down/off the n/w). is there any way programmatically that i check whether the other computer is available? Thanks, Stephen Stephen wrote:
> Hi, Just ping it (using the ping executable or the Win32_PingStatus WMI class).> > I am trying to copy files from one computer to another, the problem I am > facing is that the program chokes when the other computer is not available > (shut down/off the n/w). > is there any way programmatically that i check whether the other computer is > available? > > Thanks, > Stephen > > Thanks John,
will try your suggestion, Stephen Show quote "john smith" <j***@smith.com> wrote in message news:OOxh6JPKGHA.1192@TK2MSFTNGP11.phx.gbl... > Stephen wrote: > > Hi, > > > > I am trying to copy files from one computer to another, the problem I am > > facing is that the program chokes when the other computer is not available > > (shut down/off the n/w). > > is there any way programmatically that i check whether the other computer is > > available? > > > > Thanks, > > Stephen > > > > > > Just ping it (using the ping executable or the Win32_PingStatus WMI class). Hai
To do this you can go for PING are type the IP add of the machine in the run command .Or if you want to check it for prorammatically you try .Net remoting ..Using Connection if can check the ip add is avail or not .And u can also able to create a queue using .net .When the server or machine is switched on all the requesest send to the particular client. Show quote "Stephen" wrote: > Hi, > > I am trying to copy files from one computer to another, the problem I am > facing is that the program chokes when the other computer is not available > (shut down/off the n/w). > is there any way programmatically that i check whether the other computer is > available? > > Thanks, > Stephen > > > |
|||||||||||||||||||||||