The following line doesn't dismiss my Popup after one second when called
from my html. It does work however when run on the desktop in VBScript. What
I was looking for was just a brief message indicating a program was started
and running. Instead I get a Popup I must dismiss manually. What gives?

CreateObject("WScript.Shell").Popup "Running: MyProg", 1, "title", 64

Parameter "64" gives me button OK and the information icon. Is there a way
to call a Popup without any button?

thanks
LJB

RE: wscript.shell Popup not working? by v-phuang

v-phuang
Wed Dec 03 02:48:13 CST 2003

Hi,

Here is a link ,you may take a look to see if that is you want.
http://groups.google.com/groups?q=Richard+Mueller+Message+Box+without+button
&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Oq5aWhJSDHA.2148%40TK2MSFTNGP12.phx.gbl&rn
um=1

If you have any concern on this issue,please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Re: wscript.shell Popup not working? by ljb

ljb
Wed Dec 03 07:21:39 CST 2003

I believe I can use that. Thanks

Sorry I posted twice in this group. Obviously some are able to see the first
post which I can't see....even today.

I wonder why the timeout parameter of shell.popup doesn't have any effect
when called from an anchor tag in html? Works fine in stand alone vbscript
though.

thanks
LJB

"Peter Huang" <v-phuang@online.microsoft.com> wrote in message
news:ZMDC8oXuDHA.1676@cpmsftngxa06.phx.gbl...
> Hi,
>
> Here is a link ,you may take a look to see if that is you want.
>
http://groups.google.com/groups?q=Richard+Mueller+Message+Box+without+button
>
&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Oq5aWhJSDHA.2148%40TK2MSFTNGP12.phx.gbl&rn
> um=1
>
> If you have any concern on this issue,please post here.
>
> Regards,
> Peter Huang
> Microsoft Online Partner Support
> Get Secure! www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
>



Re: wscript.shell Popup not working? by v-phuang

v-phuang
Thu Dec 04 03:45:49 CST 2003

Hi,

I am researching the issue, if I have any new information I will update
with you as soon as possible.

Have a nice day.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


RE: wscript.shell Popup not working? by kimlei

kimlei
Fri Dec 05 14:55:08 CST 2003

Hi LJB:

Thanks for the post. The method you are using is actually using the Windows
Scripting Host to generate the dialog. In HTML, you can do this in a much
simpler way. That can be done by using the showModalDialog() method. And
you can use a timeout (window.setTimeout()) to programmatically close the
dialog if you need. Here're the references to these methods:

showModalDialog():
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodald
ialog.asp

showModelessDialog():
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodele
ssdialog.asp

setTimeout():
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/settimeout
.asp

Thank you,
Eldon


Re: wscript.shell Popup not working? by ljb

ljb
Fri Dec 05 15:12:48 CST 2003

Thank you!

These things I'll have to try.

"Eldon Lei [MSFT]" <kimlei@online.microsoft.com> wrote in message
news:cq4jXI3uDHA.3088@cpmsftngxa07.phx.gbl...
> Hi LJB:
>
> Thanks for the post. The method you are using is actually using the
Windows
> Scripting Host to generate the dialog. In HTML, you can do this in a much
> simpler way. That can be done by using the showModalDialog() method. And
> you can use a timeout (window.setTimeout()) to programmatically close the
> dialog if you need. Here're the references to these methods:
>
> showModalDialog():
>
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodald
> ialog.asp
>
> showModelessDialog():
>
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodele
> ssdialog.asp
>
> setTimeout():
>
http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/settimeout
> asp
>
> Thank you,
> Eldon
>