Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net Send from ASP page

Status
Not open for further replies.

grifster

Programmer
Jul 16, 2003
2
IE
I'd like to use Net Send from an Intranet page as a Messenging service, using the following code (similar to previous post
<%
Set server_shell = Server.CreateObject(&quot;wscript.shell&quot;)
server_shell.Run &quot;net send username testmsg&quot;
Set server_shell=nothing
%>

Is there a way I can I get this code to execute at the client rather than the server, so that the pop-up will be sent from the client machine?
TIA.
 
Not if your object a Server object

ooooooooooooooooooooooooh bugger.
 
Yup - Sorry!! If its a WScript object, can I force that to execute from an intranet page?
 
Not with ASP. ASP executes on the server and has no real connection to the client system, it is only producing a file to send out in response to a request that came in.
you;ll need to look into client scripting and activeX components in order to execute things on the client machine.

[sub]01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111[/sub]
minilogo.gif alt=tiernok.com
The never-completed website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top