文件操作
tangzhiping121603
莫愁前路无知己,天下谁人不识君!
展开
-
C#中利用程序打开文件
如何在程序中打开文件(相当于鼠标双击该文件),这里有两种方法:(1)使用进程打开文件,使用方法如下: string fileName = ....; //文件绝对路径 使用Process类的静态方法 System.Diagnostics.Process.Start(filename); 或实例方法原创 2009-07-18 18:19:00 · 6294 阅读 · 2 评论 -
压缩图片
/* * Compress the image * if the image not compressed,and we will get a very big byte data, * beacuse the bmps Resolution is 1200*800 * so we should compress the bmp. */ ///原创 2009-07-21 17:00:00 · 393 阅读 · 0 评论