Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: help please help C#-net send problem


Message #1 by "satish chandra" <sat_chand@h...> on Wed, 12 Jun 2002 11:37:04
That's exactly what {net send [machinename] 'Test'} does - ie sends a
windows popup
message to a machine over a network.

All I've done is put the net send command in a batch file and the ASP Exec
object excutes
that batch file with the net send command line in it.

However this only works internally over a network: I wouldn't know how to do
a net send remotely
to a machine on another network - I'm not sure that any firewall worth its
salt would
let you do that anyway.

Phil

-----Original Message-----
From: satish chandra [mailto:sat_chand@h...]
Sent: 13 June 2002 11:17
To: ASPX_Professional
Subject: [aspx_professional] RE: help please help C#-net send problem



Thanx for your reply. but my problem is a bit different. I want to pop-up 
an 'alert box' on a remote machine (on a windows network) using a C# 
program running on my machine. how can i do that ?

thanx very much











> Hi Satish

There is a traditional component in ASP that can do this that will
execute batch files: the component is called 'ASPExec'.

Then just create a batch file with this line:
net send [computername] 'Hi there!'

http://www.serverobjects.com/products.htm#free

However I'm sure you can do it with System.Net namespace - Anyone?

Then


-----Original Message-----
From: satish chandra [mailto:sat_chand@h...]
Sent: 12 June 2002 12:37
To: ASPX_Professional
Subject: [aspx_professional] help please help C#-net send problem













Hi there, 

I am trying to send a windows 'net send' message from a C# program. Can 
anyone pls let me know how can it be done. The idea is to be able to send 
a 'net send' message to anyone on the network when a button is clicked on 
the form. I am using C# as the code behind.


thanx in advance 

satish



  Return to Index