文件名称:DSOFile 读写文件摘要
文件大小:97KB
文件格式:RAR
更新时间:2016-06-17 02:57:48
DSOFile
DSOFile 修改文件文件摘要 System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "regsvr32"; p.StartInfo.Arguments = "DSOFile.dll"; p.Start(); p.WaitForExit(); p.Close(); p.Dispose(); string path = @"C:\Documents and Settings\Administrator\桌面\Image\5-6-7-8.24.jpg"; DSOFile.OleDocumentProperties dso = new DSOFile.OleDocumentProperties(); dso.Open(path, false, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess); dso.SummaryProperties.Title = "This is the Title"; dso.SummaryProperties.Subject = "This is the Subject"; dso.SummaryProperties.Company = "RTDev"; dso.SummaryProperties.Author = "Ron T."; dso.Save(); 此项目是vs2012 winform程序开发。发现一个奇怪问题,我用控制台程序,死活报错,用winfrom就可以运行。知道的大能们给我 59295569@qq.com发下解决方案,谢谢
【文件预览】:
WindowsFormsApplication2
----WindowsFormsApplication2()
--------CFileInfo.cs(7KB)
--------wrapper.cs(5KB)
--------Form1.cs(1KB)
--------bin()
--------obj()
--------Interop.Shell32.dll(52KB)
--------Properties()
--------Program.cs(536B)
--------Form1.Designer.cs(1KB)
--------Interop.DSOFile.dll(11KB)
--------App.config(187B)
--------Form1.resx(6KB)
--------WindowsFormsApplication2.csproj(4KB)
----WindowsFormsApplication2.v11.suo(46KB)
----WindowsFormsApplication2.sln(962B)