PC Review


Reply
Thread Tools Rate Thread

Display a pop-up Dialog Box

 
 
Alan Tang
Guest
Posts: n/a
 
      10th Aug 2004
Hello:

Would you mind to tell me ho can I display a pop-up dialog Box?

Does need VB Script?

Thanks!

 
Reply With Quote
 
 
 
 
John Zeman
Guest
Posts: n/a
 
      10th Aug 2004
On Tue, 10 Aug 2004 23:59:38 +0800, Alan Tang wrote:

> Hello:
>
> Would you mind to tell me ho can I display a pop-up dialog Box?
>
> Does need VB Script?
>
> Thanks!


I use Frank Westlake's free and versatile popup.exe utility for my popup
boxes.

You can download it and his other utilities here:

http://gearbox.maem.umr.edu/batch/f_...-Freeware.html

John
 
Reply With Quote
 
Guest
Posts: n/a
 
      11th Aug 2004

>-----Original Message-----
>You can download it and his other utilities here:


Thanks for your utility. Does any tools that can display
the dialog and will not display the dos prompt. It was
because I will add to scheduler. When the schedule is
start, it will display the mtask!

Thanks!
 
Reply With Quote
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
      11th Aug 2004
(E-Mail Removed) wrote:

>>-----Original Message-----
>>You can download it and his other utilities here:

>
>
> Thanks for your utility. Does any tools that can display
> the dialog and will not display the dos prompt. It was
> because I will add to scheduler. When the schedule is
> start, it will display the mtask!
>
> Thanks!

Hi

You can hide the command prompt if you run PopUp.exe from
a VBScript:

'--------------------8<----------------------
' PopUp.exe is available at
' http://gearbox.maem.umr.edu/batch/f_...-Freeware.html
sPopCmd = "F:\tools\FrankWestlake\PopUp.exe"
Set oShell = CreateObject("WScript.Shell")
oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message""", 0, False
oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message2""", 0, False
'--------------------8<----------------------


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 
Reply With Quote
 
Alan Tang
Guest
Posts: n/a
 
      11th Aug 2004
Hello:

Thanks for your information. I have try and it can Min. the windows
but due to I have many dialog in windows. It also cause many Min windows
in the task bar. It is possible to using another program or VB script
that can display only one windows?

Thanks!

Torgeir Bakken (MVP) wrote:

>
> You can hide the command prompt if you run PopUp.exe from
> a VBScript:
>


 
Reply With Quote
 
Michael Bednarek
Guest
Posts: n/a
 
      12th Aug 2004
On Wed, 11 Aug 2004 12:45:24 +0200, "Torgeir Bakken \(MVP\)"
<Torgeir.Bakken-(E-Mail Removed)> wrote in
microsoft.public.win2000.cmdprompt.admin:

>(E-Mail Removed) wrote:
>
>>>-----Original Message-----
>>>You can download it and his other utilities here:

>>
>>
>> Thanks for your utility. Does any tools that can display
>> the dialog and will not display the dos prompt. It was
>> because I will add to scheduler. When the schedule is
>> start, it will display the mtask!
>>
>> Thanks!

>Hi
>
>You can hide the command prompt if you run PopUp.exe from
>a VBScript:
>
>'--------------------8<----------------------
>' PopUp.exe is available at
>' http://gearbox.maem.umr.edu/batch/f_...-Freeware.html
>sPopCmd = "F:\tools\FrankWestlake\PopUp.exe"
>Set oShell = CreateObject("WScript.Shell")
>oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message""", 0, False
>oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message2""", 0, False
>'--------------------8<----------------------


I would have thought that once you start using VBS, a PopUp command line
tool like Frank's becomes obsolete, given that methods like MsgBox or
PopUp are available within VBS.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
      12th Aug 2004
Michael Bednarek wrote:

>>You can hide the command prompt if you run PopUp.exe from
>>a VBScript:
>>
>>'--------------------8<----------------------
>>' PopUp.exe is available at
>>' http://gearbox.maem.umr.edu/batch/f_...-Freeware.html
>>sPopCmd = "F:\tools\FrankWestlake\PopUp.exe"
>>Set oShell = CreateObject("WScript.Shell")
>>oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message""", 0, False
>>oShell.Run sPopCmd & " /OK /T ""My title"" /M ""My message2""", 0, False
>>'--------------------8<----------------------

>
>
> I would have thought that once you start using VBS, a PopUp command line
> tool like Frank's becomes obsolete, given that methods like MsgBox or
> PopUp are available within VBS.

Hi

Not in all cases. MsgBox will halt your VBScript to someone press
the OK button, and the same goes for PopUp without a timeout.

If you want a message box on the screen that doesn't halt your script
and that is visible until the user press OK, there is nothing builtin
in VBScript for this (unless you launch secondary "helper" scripts).


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display 'read only' dialog (vba) kimkom Microsoft Powerpoint 5 26th Nov 2008 01:40 PM
Display Dialog Box Thom Little Microsoft Dot NET Framework Forms 0 26th Aug 2006 11:13 PM
Display Dialog Steve Wagner Windows XP Embedded 2 3rd Aug 2006 06:25 AM
Re: display a dialog box from a com add-in Eric Legault [MVP - Outlook] Microsoft Outlook VBA Programming 0 31st Mar 2004 08:24 PM
How to display a dialog box DVN Microsoft Access VBA Modules 1 19th Feb 2004 01:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:46 PM.