I apologize. My newsreader download all messagesa since the begining
of Oct and I did not see one that adressed the issue . All seem to
cover keeping the screen open a certain amount of time. My problem is
that the main form is not loading in background and still takes the
same amount of time to load after thesplash screen disappears.
Specfically it takes a while the "draw" the controls on the screen
With that in mind you have to appreciate that the main thread will be
locked during the startup process. In order to display the splash
successfully it needs to be displayed in another thread, this way it will be
given the time to be able to refresh correctly once displayed and the main
form will continue to load in the background.
Personally I would not use the built in application framework. This has
issues with McAfee's shoddy firewall and if you specify that you want a
single instance application the firewall has the capability to make it
crash. Basically they used TCP sockets for remoting rather than IPC, for
some strange reason or another.
Anyway, it's not that difficult to make your own and well recommended.
It sounds like you are displaying your splash screen modally which
temporarily stops executing the startup code until you dismiss it. A splash
screen does not require a separate thread you simply can't have it show and
wait for input.
Cor was simply pointing out (in his message) that rather than download the
newsgroup messages (which have a limited lifespan) you can search Google and
find the popular newsgroup messages archived there just about forever.
Are you using a Main() function to start the app or have you set a form to
start? Personally I recommend against using a form as you lose some
control. Granted you might be able to jump through some hoops and make it
look the same but it is much more straightforward to start the app through a
Main procedure. When you're ready to simply instantiate and display your
main form.
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.