03 2011 档案

摘要:I met some troubles when tring to create directory with access rights, fortunately, I found some useful imformation, just mark them as below,View Code Imports System.Security.AccessControlImports System.IO Public Class Form1 ' Add access control for Windows Account to directory or file Private S 阅读全文
posted @ 2011-03-11 15:42 C.Jun 阅读(274) 评论(0) 推荐(0) 编辑
摘要:这里是一些如何得到Office缩略图的步骤:创建一个新的文档,文档可以为任意类型(docx, xlsx, pptx等类型都可以)。保存文档,这里必须注意将"Save Thumbnail"勾上,否则不能产生缩略图效果。接下来将API封装成一个类,方便使用。using System;using System.Diagnostics;using System.Drawing;using System.IO;using System.Runtime.InteropServices;using System.Text;public class ShellThumbnail : IDi 阅读全文
posted @ 2011-03-07 15:34 C.Jun 阅读(586) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示