The Status message will be long and I can't attach it to the filename.
I actually thought of implementing the Database method.
Anyway, Thanks. I will use Database for writing and reading.
"getsmartpaul8
6" To: [EMAIL PROTECTED]
<[EMAIL PROTECTED] cc:
er.net> Subject: [AspNetAnyQuestionIsOk] Re:
FileSystemWatcher in ASP.NET
07/15/2004
02:11 PM
Please respond
to
AspNetAnyQuest
ionIsOk
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
ADVERTISEMENT
(Embedded image moved to file: pic13945.gif)
(Embedded image moved to file: pic25251.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 --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/