save Excel with a windows form

  • Thread starter Thread starter Shane Carter
  • Start date Start date
S

Shane Carter

I have a windows form that traps an "before save" event in
Excel 2000. What I would like to do is save the Excel in
SQL Server by calling a web service. I thought I could
have serialized Excel and send it to the web service as a
string for database storage, but it seems that Excel
cannot be serialized. This windows form will be a no
touch deployment application so any extra software would
be difficult.

Any ideas?

Thanks,
Shane
 
* "Shane Carter said:
I have a windows form that traps an "before save" event in
Excel 2000. What I would like to do is save the Excel in
SQL Server by calling a web service. I thought I could
have serialized Excel and send it to the web service as a
string for database storage, but it seems that Excel
cannot be serialized. This windows form will be a no
touch deployment application so any extra software would
be difficult.

0% related to .NET Windows Forms programming. You may want to turn to
this group:

<
 
You can also send a byte array to a web service, so after the file was
saved, read it from disk (system.io.file) and send the file's bytes, and
store that in SQL Server. For a no touch deploy app to perform a disk read,
the security to the server must be full-trust, but I guess as you are using
automation, it is already the case.
 
Back
Top