|
![]() |
#1 |
Участник
|
Цитата:
версия Ах3
Регистрируем DLL, копируй win\system32 в командной строке regsvr32 dsofile.dll. Либо в любое место на компе тогда regsvr32 [путь]dsofile.dll. Пишем код X++: static void Job130(Args _args) { Com oleDocument = new Com('{58968145-CF05-4341-995F-2EE093F6ABA3}'); Com summaryProperties; FilePath filePath = "C:\\1.xls"; ; oleDocument.Open(filePath, true, 1); // Extract the properties summaryProperties = oleDocument.SummaryProperties(); info(summaryProperties.Title()); info(summaryProperties.Author()); info(summaryProperties.Company()); // Close the DSOFile.OleDocumentPropertiesClass oleDocument.Close(false); info(""); } |
|