Two thread for two independant windows ?

  • Thread starter Thread starter Patrick Toledano
  • Start date Start date
P

Patrick Toledano

Hello,

I am building small application using interface with Outlook and Word.

The first window is a startup whith a smooth blinking using clock control.
This window display upon the second window is displayed. The second window
instanciated by the first one (Dim W as New W2 ... W2.Show).

The load of multiple pst files in tree control is long. Thus, I want the
first window (Startup window) blink continously upon completion load pst
files on the second window, and stop blinking and close the first one after
load of pst files in second window.

The problem is (I believe) that the two windows are managed by the same
thread... And the first window stop blinking immediately after call the
second window.

I need some help with VB code... Thanks a lot, Patrick
 
Hi there,

It is a bit hard to understand what you are saying, but I believe you may be
opening the second window as a modal form.

Try opening the window with just "Show()".

Also, make sure you dont have any code that stops the "blink" firing when
the window looses focus.

Good luck!
 
Back
Top