0x800a03ec

Read about 0x800a03ec, The latest news, videos, and discussion topics about 0x800a03ec from alibabacloud.com

C # How to export data from ListView to an Excel instance

are used. xlFileFormat. when xlExcel9795 is saved, an error is returned when your Excel versions are not 95, 97, but 2003 and 2007. The exception is HRESULT: 0x800A03EC. The solution is to replace strFileName with Microsoft. Office. Interop. Excel. XlFileFormat. xlWorkbookNormal. XlBook. saveAs (strFileName, Microsoft. office. interop. excel. xlFileFormat. xlWorkbookNormal, Type. missing, Type. missing, Type. missing, Type. missing, Microsoft. office

Microsoft Excel cannot access the file "the file name or path does not exist. • Files are being used by other programs. • The workbook you want to save has the same name as the one currently opened.

determine the cause and location of the exception. Stack trace: [comexception (0x800a03ec): Microsoft Office Excel cannot access the file "D: \ wwwroot \ kobelcosh \ webui \ exceltemplate \ quote5.xls ". Possible causes include :? The file name or path does not exist.? Files are being used by other programs.? The workbook you want to save has the same name as the one currently opened.]Microsoft. Office. InterOP. Excel. workbooks. Add (Object template

. NET path (13) database Export to Excel

= tablename)There are a lot of interesting SQL statements that haven't been touched before. Like what to query out the entire server all database names and so on.Interested to see: http://www.cnblogs.com/eter/archive/2011/08/15/2139063.htmlImport to ExcelIn the test process, encountered some of the problems are more interesting.Question one:An error "exception in HRESULT: 0x800a03ec" occurred while reading an Excel file.Check out MSDN, as Microsoft's

. NET path (13) export database to Excel

interesting SQL statements here. Have not been contacted before. Like what to query out the entire server all database names and so on.Interested to see: http://www.cnblogs.com/eter/archive/2011/08/15/2139063.htmlImport to ExcelIn the test process. It is also more interesting to meet some of the problems.Question one:An error "exception in HRESULT: 0x800a03ec" occurred while reading an Excel file.Check out MSDN, as Microsoft's comrades have told me.

Total Pages: 2 1 2 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.