Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Display message box on remote computer

Reply
 
Old 09-22-2008   #1 (permalink)
Prasan


 
 

Display message box on remote computer

Hi all,

Can any one tell me how to display pop up or message box on remote
computer using vbscritping

Regards,
Prasan.

My System SpecsSystem Spec
Old 09-22-2008   #2 (permalink)
hb21l5


 
 

RE: Display message box on remote computer



"Prasan" wrote:
Quote:

> Hi all,
>
> Can any one tell me how to display pop up or message box on remote
> computer using vbscritping
>
> Regards,
> Prasan.
>
I have tried this in the past. The closest I have got to this is copying a
VBS script (with msgbox("") inside it) to the target PC and execute the
script like this from my PC.

strComputer = "IP address of PC"
Set objProcess = GetObject("winmgmts:\\" & strComputer &
"\root\cimv2:Win32_Process")
strCommand = "cscript " & Chr(34) & "C:\admRun.vbs" & Chr(34)
objProcess.Create strCommand,null,null,intProcessID
Set objProcess = nothing

The target PC makes the alert noise of a msgbox showing, but you cant see it.
I'm going to persume that its running in another instance on the target PC.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Remote desktop can not find remote computer Network & Sharing
display on remote computer Vista networking & sharing
Vista: This Computer can't connect to the Remote Computer Vista networking & sharing
Computer Management: Can't connect to a remote computer Vista networking & sharing
Remote Desktop - Vista/XP, Display Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46