Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Remote Message Pop-ups

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,2936
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Remote Message Pop-ups
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Remote Message Pop-ups - 5/10/2005 12:06:51 AM   
  Atanu

 

Posts: 6
Score: 0
Joined: 4/14/2005
From: India
Status: offline
Hi,
My Question :
How can we display a custom pop up message box in a remote machine using WScript or VBScript and read the return value from the message box back to the current machine? E.g., say, we have 10 machines in a network and I need to send an instantaneous message to all the Users, as under, from my machine MC1Ö

ReturnVal=Msgbox( ÓHave you registered for Service A with system administrator?Ô, VBYesNo,ÔRegistration InfoÔ)

I need to catch the values ReturnVal corresponding to each machine from my machine MC1.

Purpose : Use of custom pop-up messages provide an instantanoues way to retrieve feedback from team members who are otherwise more deeply involved in work, thus saving time and effort.

_____________________________

Charged, Recharge and Discharge.....
-Atanu
 
 
Post #: 1
 
 Re: Remote Message Pop-ups - 5/10/2005 12:19:29 AM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
I am not sure that this can be done with vbscript alone, but you could use a third party tool from www.sysinternals.com called psexec. This will allow you to launch an exe/bat file on a remote PC. Why not just include this into your login script, then you can either log their responses to network location that everyone has access too, or to a folder on the hard drive. If you use the HD method, you can then use a script to connect to the PC and retrieve the info.

(in reply to Atanu)
 
 
Post #: 2
 
 Re: Remote Message Pop-ups - 5/10/2005 3:51:33 PM   
  Atanu

 

Posts: 6
Score: 0
Joined: 4/14/2005
From: India
Status: offline
Thanks for the quick reply,
I am aware of that tool (psexec) and just want to get it done using only VBscript or Wscript probably using WMI.

Any help regarding this will be greatly appreciated.....!

(in reply to Atanu)
 
 
Post #: 3
 
 Re: Remote Message Pop-ups - 5/10/2005 4:16:21 PM   
  token

 

Posts: 1917
Score: 0
Joined: 1/14/2005
From:
Status: offline
Remote execution only allows for non-interactive process; therefore, you can't use stdout or stdin. psexec is probably your best bet.

(in reply to Atanu)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Remote Message Pop-ups Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts