08 2006 档案

Start without Debugging VS start
摘要:相信大家在编译程序的时候,不会去注意Start without Debugging VS start这两个编译的效率有什么不同?上网看了好多的文章,其中有一个是介绍用到BITMAP的时候,用如上两种运行的效率差的非常的多。原文如下:Performance drops dramatically for me in VS2005, if I run something in debug-mode... 阅读全文

posted @ 2006-08-29 12:04 糊涂小猪 阅读(1506) 评论(1) 推荐(0)

C#中对ini文件的操作。
摘要:using System;using System.Runtime.InteropServices;using System.Text;using System.Windows.Forms; namespace LX7.CLX7ClsLib{ /// /// Create a New INI file to store or load data /// public class CLX7Ini... 阅读全文

posted @ 2006-08-24 12:39 糊涂小猪 阅读(1266) 评论(0) 推荐(0)

C#中提取字符串的解决方法
摘要:在做项目(C#)的时候,遇到了一个需要提取字符串的,查了资料,无非就是两个方法。string.subString()和string.Split()这两个方法,起初想用subString()来提取,可后面发觉此方法不太适合,因为源字符串的长度是SQL语句的SQL文,非常的长,如果长度算错了一个,筛选出来的结果就差之千里了。发觉此方法有此局限性后,就换成SPLIT()方法来实现,写到一半的时候,发觉不... 阅读全文

posted @ 2006-08-23 18:16 糊涂小猪 阅读(3892) 评论(1) 推荐(0)

C#中的[DllImport("kernel32.dll")]的意思是啥?困惑ing。
摘要:[DllImport("kernel32.dll")] private static extern int GetPrivateProfileSectionNames(IntPtr lpReturnedString , int nSize , string lpFileName);还有就是有没INTPTR这方面的资料,这个是不是跟C中... 阅读全文

posted @ 2006-08-05 12:08 糊涂小猪 阅读(5320) 评论(4) 推荐(0)