Chris,

Could the windows app update the status of a sql server table and then
have your ASP.NET app read the table periodically and wait for the 
result. ( using the sleep ??? - not sure what will do the wait best )

If you write the excel file with a random string after the filename
and save that filename to use a key and insert into the table then 
the windows program can mark the completed flag to Y to indicate it's 
done.

Is the windows program running as a service ? ( always there )

Just a thought.

Paul


--- In [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
> 
> 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 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