摘要: 首先引用COM组件 Microsoft Shell Controls And Automation 这里需要注意 DLL的属性Embed Interop Type 设为False 否则会引起互操作类型异常 代码如下 ShellClass sh = new ShellClass();Folder dir = sh.NameSpace(Path.GetDirectoryName(sFile));FolderItem item = dir.ParseName(Path.GetFileName(sFile));string det = dir.GetDetailsOf(item, iCol); i.. 阅读全文
posted @ 2012-03-05 13:30 老鱼_678 阅读(3717) 评论(1) 推荐(1) 编辑