ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 9th, 2003, 05:34 AM
sumicooldude sumicooldude is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 48 sumicooldude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Send a message via Yahoo to sumicooldude
sendin Messages over the intranet usin ASP

hi guys,

does nebody has the idea as how to send short messages using ASP.

wat i mean is that we use the command (net send computer-1 hello) in windows 2000 server/professional architecure but i want to replace it with some ASP coding

is it possible

thnx

Sumeet
__________________
the coolest one

Reply With Quote
  #2  
Old July 9th, 2003, 10:03 AM
laidbak laidbak is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Location: In Tha IE -- San Bernardino COUNTY
Posts: 788 laidbak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 4 m 2 sec
Reputation Power: 7
Send a message via ICQ to laidbak Send a message via AIM to laidbak Send a message via MSN to laidbak Send a message via Yahoo to laidbak
The following routine takes two parameters: progName (the Command Line program you would like to call), and strVariable (a string, representing anything you want to pass into the call of the command line).
PHP Code:
 Sub CommandLine(progName,strVariable)

    
'Create Shell Object
    Set objScriptShell = Server.CreateObject("Wscript.Shell")

'
now run your program and dump the results into a .txt file
    objScriptShell
.Run "%ComSpec% /c " progName " "
strVariable _
        
"> " Server.MapPath("shellLog") & "\log"
".txt"0True


End Sub 

REF: http://armbrustconsulting.com/AspShell.html
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > sendin Messages over the intranet usin ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway