Re: Please Wait Popup
- From: caincognito@xxxxxxxxx
- Date: 4 Aug 2005 12:08:39 -0700
jasonkester wrote:
> That would be even easier then, right? If it's simply procedural then
> you can just Open(), DoStuff(), Close().
>
> You might want to offer a bit more information about what exactly
> you're trying to accomplish.
Original legacy application X spawns a sub-program which is the
subject of our attention.
This sub-program is written in C#.NET using VS2003 and it fires up a
CrystalReportViewer class. Everything works fine except... The first
time that the sub-program runs after a reboot the CrystalReportViewer
class takes a long time to load. For example 10-20 seconds on a
machine with 1GB RAM. Subsequently it loads quickly. For example 2-3
seconds. Somebody mentioned that this phenomenon may be due to cache
memory.
Anyway, while waiting for the CrystalReportViewer to appear the
customer may think that something is wrong. The boss requested that a
popup display a "Please wait, loading report..." message while the
CrystalReportViewer is loading. He wants the popup to dissappear when
the CrystalReportViewer is done loading.
Pretty simple. I thought I could fire up the please wait popup in a
thread, then tell the thread to die when the CrystalReportViewer is
finished initializing. But it appears that a Windows GUI program in a
thread takes on a life of its own and refuses to be aborted.
.
- Follow-Ups:
- Re: Please Wait Popup
- From: caincognito
- Re: Please Wait Popup
- References:
- Re: Please Wait Popup
- From: caincognito
- Re: Please Wait Popup
- From: jasonkester
- Re: Please Wait Popup
- Prev by Date: Re: Please Wait Popup
- Next by Date: calling a COM function
- Previous by thread: Re: Please Wait Popup
- Next by thread: Re: Please Wait Popup
- Index(es):