摘要: Error info:Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))I try to found the solution. and I found out it is NOT possible to us 阅读全文
posted @ 2013-01-23 18:46 Vincent.Dr 阅读(1650) 评论(0) 推荐(0)
摘要: 1 public class PortfolioReport 2 { 3 string TemplateFileName = "Temp.xlsx"; 4 string NewFileName = @"C:\NewFile.xlsx"; 5 6 private WorkbookPart WbPart = null; 7 8 //Manager function 9 public PortfolioReport() 10 { 11 Cop... 阅读全文
posted @ 2013-01-23 18:22 Vincent.Dr 阅读(846) 评论(0) 推荐(0)
摘要: Using OpenXml.The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.---solutions---Add WindowsBase.dll in 'Add Reference' - 阅读全文
posted @ 2013-01-23 11:50 Vincent.Dr 阅读(786) 评论(0) 推荐(0)