get dsofile.exe:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q224351add a reference to dsofile.dll to your project, then try something likeDSOleFile.PropertyReader p = new DSOleFile.PropertyReaderClass();DSOleFile.DocumentProperties dp = p.GetDocumentProperties("e:\\testfile.xls");string sTitle = dp.Title;string sComment = dp.Comments;
http://support.microsoft.com/default.aspx?scid=KB;en-us;q224351add a reference to dsofile.dll to your project, then try something likeDSOleFile.PropertyReader p = new DSOleFile.PropertyReaderClass();DSOleFile.DocumentProperties dp = p.GetDocumentProperties("e:\\testfile.xls");string sTitle = dp.Title;string sComment = dp.Comments;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货