From: WatsonR@IntelligenCIA.com   
      
   "David C. Barber" wrote in message   
   news:qI6dnRF5bNCiMt7YnZ2dnUVZ_q2dnZ2d@comcast.com...   
   >I discovered an amazing hitch in VB6 SP6.   
   >   
   > I run a Sub Main that shows a splash screen, initializes a number of   
   > items,   
   > takes down the splash screen, and shows the main form.   
   >   
   > While trying to track another problem that I couldn't run in the IDE   
   > because   
   > this problem (an ADODB OLEDB connection to an SQL Database that runs fine   
   > in   
   > Windows 2K, and blows up on the recordset open in XP) has to be run on   
   > another machine without VS6 installed, I inserted a whole string of   
   > msgbox's   
   > to track down the offending statement.   
   >   
   > The last msgbox is after the final form show, and before the Exit Sub in   
   > my   
   > Sub Main. Guess what happened to me next?   
   >   
   > When run under these circumstances in the IDE, the main form load event   
   > fires as expected, AND THE FORM ACTIVATE EVENT DOESN'T!   
   >   
   > SP7 anyone?   
   >   
      
   This could be my misunderstanding but I always thought that form activate   
   fires when your application was switched out to another then the application   
   window is made active again and become the front most window.   
      
   In the IDE I don't believe switching from one form to another to include the   
   VB editor constitute an application switch.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|