DoEvents(?) issue

A

avi

Hello,

I have a code that should load EzPaste form as a kind of splashscreen
and unload it when the main form (BinsUserForm) finishes to load and
show

EzPaste.Show
DoEvents
BinsUserForm.Show
Unload EzPaste

The problem is that after the main form (BinsUserForm) is loaded and
displayed, the first one (EzPaste) shows itself again for a few
milliseconds and disappears after that

Is there a way to cancel the display of EzPaste the second time after
BinsUserForm is displayed?

The main form is a quite heavy one with a lot of boxes and commands
buttons, making it slow to load

Thanks a lot
Avi
 
P

paul.robinson

Hi
Why not unload EzPaste before you show BinsUserform? If you need
values from EzPaste simply capture them as variables before unloading
the form.
regards
Paul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top