home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,350 of 10,840   
   Max to Steve Gerrard   
   Re: Timer Events   
   02 Jan 07 06:33:24   
   
   From: nospam@spamcatchers.com   
      
   Thanks Steve,   
      
   I had a break in the  2nd timer event that was not being hit but I will do   
   the visual test. and run it as an EXE   
      
   The out of process component is media player and the audio is playing   
   without a hiccup however your suggestion my be correct it that its not   
   returning it's position because there is no processor time.   
      
   All the best   
      
      
   Max   
      
   "Steve Gerrard"  wrote in message   
   news:0OidnXeP9YCb3wTYnZ2dnUVZ_oytnZ2d@comcast.com...   
   >   
   > "Max"  wrote in message   
   > news:4598fc4c$0$5748$afc38c87@news.optusnet.com.au...   
   >>   
   >> This second timer is not firing while the long running process is taking   
   >> place, the do events is working because the status of the long running   
   >> process is updated in the status bar of the application and that works.   
   >>   
   >   
   > I would bet that the second timer is firing with each DoEvents (unless you   
   > just have the code mangled up).   
   >   
   > It is more likely that it is is firing, but you are not seeing the out of   
   > process component updated as you expect.   
   >   
   > It should be easy to put in a visual queue that the second short timer is   
   > indeed firing during the long loop - a debug statement, a character added   
   > to a text box on a form, whatever works.   
   >   
   > You might well find that the issue is more to do with the out of process   
   > component not getting any processing time to update itself, since your app   
   > is so busy when it is in the long loop.   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca