Re: do pop up boxes stop all events?



On Sep 18, 12:24 pm, "Mike Williams" <m...@xxxxxxxxxxxxxxxxx> wrote:
<tadams...@xxxxxxxxx> wrote in message

news:1190129993.634123.273640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I am developing a data acquisition system that takes in
real-time data and displays it. It seems that pop-up boxes
(Msgbox, Commondialog) stops all other processing. If
I leave one up too long, the my processing gets way behind
and has to play catch-up.

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.

How are
you collecting and displaying your data?

Mike


.



Relevant Pages

  • Re: Resize Message Box
    ... to display using the built-in "MsgBox" capability is ... >> Sub showmsg() ... >> Tom Ogilvy ...
    (microsoft.public.excel.programming)
  • Re: Custom outlook form with button in the inbox
    ... Author of Configuring Microsoft Outlook 2003 ... > display any message. ... > End Sub ... > MsgBox "You clicked Click Me button" ...
    (microsoft.public.outlook.program_forms)
  • Re: Form has record displayed when open
    ... > record and display the info for that record. ... > End Sub ... > Private Sub cboSampleID_NotInList ... > MsgBox Err.Description ...
    (microsoft.public.access.forms)
  • 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: 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