One thing I've done in the past for long running processes is to 
spin up another thread to do the processing. Keep the state in the 
Application object so it's accessable to both the thread and any 
page requests, and then use a refresh or XmlHttp to get progress 
information and display stats or a progressbar.

Chris
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> 
> Yes!
> 
> 1) Excel Files will not be a straight-forward table of data... 
Instead,
> most of the files have no data upto 20 rows. This is where the 
trick
> lies.You can't treat the worksheet as a Table. You need to read 
rows one by
> one. Sizes-Code in one place and style, color, sizes in a different
> location.
> 2) There are many different file types(with different layout of 
data) from
> various vendors.
> 
> OK, I was thinking on how to show the status of the file 
processing.. Now I
> have decided NOT to use FileSystemWatcher. If there are more files 
to be
> upload.. FSW wouldn't be the choice.. Am I correct?
> 
> 
> 
> 
>                                                                    
                                                
>                     "Chris 
Hynes"                                                               
                   
>                     <[EMAIL PROTECTED]       To:     
<[EMAIL PROTECTED]>                           
>                     team.org>            
cc:                                                                  
     
>                                          Subject:     RE: 
[AspNetAnyQuestionIsOk] FileSystemWatcher in ASP.NET     
>                     
07/15/2004                                                           
                          
>                     05:26 
PM                                                                   
                    
>                     Please 
respond                                                              
                   
>                     
to                                                                   
                          
>                     
AspNetAnyQuest                                                       
                          
>                     
ionIsOk                                                              
                          
>                                                                    
                                                
>                                                                    
                                                
> 
> 
> 
> 
> Is there a reason you're not analyzing the Excel file in the 
ASP.NET page,
> or passing it directly to the Windows app to be analyzed?
> 
> Just wondering why all the extra dancing around with the FSW and 
the .Net
> Windows app.
> 
> Chris
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 14, 2004 11:36 PM
> To: [EMAIL PROTECTED]
> Subject: [AspNetAnyQuestionIsOk] FileSystemWatcher in ASP.NET
> 
> 
> Hi All,
> 
> I have a ASP.NET page uploading Excel file. This page also has a
> FileSystemWatcher to monitor a file being created in a designated 
folder.
> 
> The uploaded excel file will be processed by a .net windows app 
and writes
> the "status" as textfile for the web application to read and 
display the
> status. I hope this is clear!
> 
> 1) Is there any other way to notify the outcome of uploaded file 
processing
> to an ASP.NET application?
> 2) I have fswStatus_Created event to wait for the "status" file to 
be
> completely created using Thread.Sleep(x) value. But I guess this 
could be
> problematic!!
> 3) I am actually reading the "status" file (inside  
fswStatus_Created) to
> show in a label, but it doesn't display the text. Why?
> 
> I thought of processing the Excel sheet and notify the user by an 
email,
> but
> that option isn't accepted by my company!!
> 
> Any help would be greatly appreciated!
> 
> Thanks in advance.
> 
> Mohan
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>                                                     
>                Yahoo! Groups Sponsor                
>                                                     
>                                                     
>                                                     
>                    ADVERTISEMENT                    
>     (Embedded image moved to file: pic08937.gif)    
>                                                     
>                                                     
>  (Embedded image moved to file: pic11451.gif)       
>                                                     
> 
> 
> 
> Yahoo! Groups Links
>      To visit your group on the web, go to:
>      http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
> 
>      To unsubscribe from this group, send an email to:
>      [EMAIL PROTECTED]
> 
>      Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.
> 
> 
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to