Re: do pop up boxes stop all events?



<tadamsmar@xxxxxxxxx> wrote in message news:1190142911.175101.318410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 18, 12:24 pm, "Mike Williams" <m...@xxxxxxxxxxxxxxxxx> wrote:
If you display a standard VB MsgBox when your code is running in the VB
IDE then Timers and other events will be stopped (although you can get
around that problem using the API MsgBox function instead) but there
should be no problem when your code is run as a compiled exe, where
Timers and various other events will still work fine while the dialog is being
displayed and only the code in the Sub that displayed the MsgBox will
be halted.

I think that can't be true, since calls to my public sub (a different
sub) are also halted. But timer events work fine.

Well of course you are free to think what you want, but "thinking" something does not make it so! Which part of my description are you suggesting is untrue, and which part of your own statement "calls to my public sub are halted" makes you think that it is untrue?

If you are "calling" functions from within the block of code that displayed the standard VB MsgBox then of course those calls will fail to work, because the execution of that entire block of code is halted until the MsgBox has been dismissed by the user!

Perhaps you might like to post your entire code (or at least a section of that code which demonstrates the problem)?

Mike


.



Relevant Pages

  • Re: do pop up boxes stop all events?
    ... If you display a standard VB MsgBox when your code is running in the VB ... Timers and various other events will still work fine while the dialog is ... sub) are also halted. ...
    (microsoft.public.vb.general.discussion)
  • Re: do pop up boxes stop all events?
    ... If you display a standard VB MsgBox when your code is running in the VB IDE ... then Timers and other events will be stopped (although you can get around ... I have a public sub in the form. ...
    (microsoft.public.vb.general.discussion)
  • Re: do pop up boxes stop all events?
    ... If you display a standard VB MsgBox when your code is running in the VB IDE ... then Timers and other events will be stopped (although you can get around ... I have a public sub in the form. ...
    (microsoft.public.vb.general.discussion)
  • Re: do pop up boxes stop all events?
    ... real-time data and displays it. ... If you display a standard VB MsgBox when your code is running in the VB IDE then Timers and other events will be stopped but there should be no problem when your code is run as a compiled exe, where Timers and various other events will still work fine while the dialog is being displayed and only the code in the Sub that displayed the MsgBox will be halted. ...
    (microsoft.public.vb.general.discussion)
  • Re: boolean localization problem
    ... What you're seeing is an artifact of using MsgBox for output display. ... text representation (probably by using CStr() internally). ...
    (microsoft.public.scripting.vbscript)

Loading