LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Saving a spreadsheet from .Net Web Forms application under Vista

I have a web forms application that uses Excel to generate a spreadsheet. I
need to save that spreadsheet by calling the SaveAs routine. I have no
problems with the code running under XP. Running under Vista I cannot save
the spreadsheet. I was originally trying to save it to the App_Data
directory that is created in c:\Program Files\MyApp\. Apparently no matter
what I do Vista will not allow me to save a file anywhere under Program
Files. I've tried using the SpecialFolder options for MyDocuments and
Internetcache - those don't work under Vista either. I also tried to save to
the c:\Windows\Temp directory, again without success.

Can somebody tell me what I need to do in order to save a spreadsheet in a
manner that works under both XP and Vista?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open an excel file (have 2007, Vista) without saving first JimC Excel Discussion (Misc queries) 12 May 30th 10 08:51 AM
Forms--Vista--2007 Excel Lost in Excel Excel Worksheet Functions 2 December 29th 09 09:58 PM
Invisible Application/Visible Forms? roy_ware Excel Programming 3 October 10th 07 02:53 AM
XP versus Vista spreadsheet S S Excel Worksheet Functions 2 August 28th 07 09:07 PM
Saving Forms kirkm[_6_] Excel Programming 2 February 23rd 07 03:32 AM


All times are GMT +1. The time now is 06:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"