×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

(OP)
I try it, but they always appears in queue. So, what i should to do?

RE: How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

Use a different language …

Sorry, sounds flippant but unfortunately VBS MsgBox is an implementation of the underlying Windows MessageBox API call which displays a modal dialog. And a modal dialog/window behaves exactly as you describe, by design. And it isn't something you can change in vbScript (in other languages you can effect a workaround by either a) calling MessageBox API directly with a few of the parameters tweaked or b) displaying a window you create that appears like a MsgBox, but doesn't have the modal behaviour)

RE: How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

(OP)
strongm, so, it's impossible in vbs script?

RE: How i can run many MsgBox'es simultaneously (in one time and in one screen several windows)?

In pure vbscript, yes.

However, as I say, there are workarounds. You can achieve option b from my previous post by embedding your vbscript in an HTA and call window.showModelessDialog rather than MsgBox

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close