DUA - message box?

  • Thread starter Thread starter frednorge
  • Start date Start date
F

frednorge

Greetings!

Im looking for a method to display a message box initiated from DUA, the
challenge is to have the message box display in focus in front of the custom
shell. Anyone know if that is possible without involving the custom shell
application?

Im thinking of a message box that tells the user that the system is updated
and that the system now will restart.

Looking for any good ideas of how to make this happen :)


Best regards,
Fred
 
I had a similar problem and ended up creating a simple application using
Visual Studio (<50KB) to put suitable message box's on the screen.
It is downloaded from the server as part of a DUA update and allows me to
warn the user that something is about to happen and give them time to stop
what they are doing.

David
 
Well I haven't tried this myself but it should work. If you are
comfortable with VBScript, you can create one to throw up a MsgBox.
Then in the DUS, you can use the EXECUTEPROCESS command to start
cmd.exe and pass it arguments to run wscript.exe with your VBScript.
For example,

15,0,0,0,C:\WINDOWS\system32\cmd.exe,0,/c C:\WINDOWS
\system32\wscript.exe //nologo test.vbs,
1,4294967295,,1,,,,1,,,,,,,1,,WinSta0\Default

If you don't know VBScript, there are some great tutorials online. It
isn't too difficult to create a script to display a message box.

Kyle
 
Back
Top