View Single Post
Old 07-01-2009   #4 (permalink)
Pegasus [MVP]


 
 

Re: Pop-up message...

You could write your own C++ program to generate a pop-up message.
Alternatively you could use this script. It isn't elegant but it works . . .

Set WSHShell=WScript.CreateObject("WScript.Shell")
iTime = Timer
Do
WSHShell.Popup "Hello World",10,"Test message"
If timer - itime >= 10 then Exit Do
Loop


"Steven Sinclair" <StevenSinclair@xxxxxx> wrote in
message news:52748538-4FE2-4C49-9971-2BB9A7626D40@xxxxxx
Quote:

> So, then, what are my options? I'm merely trying to display an
> automatically-timing out informational message to the user. I simply don't
> want any user interaction other than the display of the actual message.
>
> Thanx.
>
> "Pegasus [MVP]" wrote:
>
Quote:

>>
>> "Steven Sinclair" <StevenSinclair@xxxxxx> wrote in
>> message news:C6CA38D6-798C-4EB8-82CB-166F4463B552@xxxxxx
Quote:

>> > In using this script to pop-up a Windows message...
>> >
>> > ----------
>> > strTitle="INSERT_WINDOW_TITLE_HERE"
>> >
>> > Dim WSHShell
>> > Set WSHShell=WScript.CreateObject("WScript.Shell")
>> >
>> > WSHShell.Popup"INSERT_WINDOW_MESSAGE_TEXT_HERE",3,strTitle
>> > ----------
>> >
>> > How can I get this message window to appear with no buttons?
>> >
>> > Thanx.
>>
>> Sorry, you can't under VB Script.
>>
>>
>>

My System SpecsSystem Spec