- 博客(11)
- 收藏
- 关注
转载 error LNK2019 __stdcall _com_util::ConvertStringToBSTR 解决方案
项目"->属性-> 配置属性->链接器->输入 加入comsuppwd.lib (用于debug模式) release 要换成comsupp.lib
2012-09-20 11:02:41 575
转载 无法解析的外部符号 "__declspec(dllimport) *******::`vftable'" 的解决方法
经过在VS2010中测试,找到 无法解析的外部符号 "__declspec(dllimport) const CDialogSK::`vftable'" 的解决方法有2种:第一种:必须把项目属性中的 MFC的使用设置为“在静态库中使用 MFC”,否则就会出错。相应的运行库得改为MT或MTD。第二种:把“class AFX_EXT_CLASS CDialogSK : public CDial
2012-09-20 10:28:39 2310
原创 windows mobile 控制关闭和隐藏
在windows mobile 中有些机子点叉后也是关闭,在MSDN中有下面一段代码可以解决CancelEventArgs.Cancel 属性获取或设置指示是否应取消事件的值。 private void Form1_Closing(Objec
2011-07-05 15:40:31 213
原创 my first VBA 有新建菜单项、打开其它表并读内容等
Private Sub AddData() Dim FileName As Variant Dim xlBook As Workbook Dim xlApp As Application Dim xlSheet As Worksheet
2011-07-04 16:55:15 241
转载 C# 排列组合算法
<br />/*<br /> * A Combination & Permutation Algorithm Implemented with C#<br /> * Nov. 25, 2006<br /> * by Adrian<br /> * E-mail(Windows Live Messenger): sanyuexx@hotmail.com<br /> * Blog: http://www.cnblogs.com/dah<br /> */<br />using System;<br />using
2011-03-15 09:37:00 471
原创 C#服务程序 的安装与卸载
<br />1 服务程序的开始与停止. <br />public Service1()<br /> {<br /> InitializeComponent();<br /> StartAppPath = Assembly.GetExecutingAssembly().GetName().CodeBase;//安装路径<br /> <br /> StartAppPath = StartAppPath.Substring(8,
2010-09-26 10:20:00 1044
原创 c# 断开GPRS
<br /> class CloseGPRS<br /> {<br /> private const int SUCCESS = 0;<br /> private const int ERROR_NOT_ENOUGH_MEMORY = 8;<br /> private const int RASBASE = 600;<br /> private const int ERROR_BUFFER_TOO_SMALL = RASBASE + 3;<br
2010-06-29 09:48:00 833 1
原创 c# 读写XML``增加节点`删除节点
<br />public static int UpInterval;<br /> public static string UpLoadFile;<br /> public static int UnfinishCount;<br /> public static List<string> name = new List<string>();<br /> public static string path;<br /> //读<br /
2010-06-24 16:40:00 389
原创 C# 测试CDMA网络连接
private void Test_Click(object sender, EventArgs e) { bool result = false; uint dwStatus = 0; List lst = null; if (connManager.WaitForConnected(10,
2010-03-09 11:04:00 277
原创 C# 解压缩文件、生成解压ZIP文件
/// /// 压缩 /// public static void BZip2ComPress(string path) { BZip2.Compress(File.OpenRead(path + @"/目标文件名"), File.Create(path + @"/生成文件名"), 4096);
2010-03-09 10:50:00 1346
原创 C# 用TAPI拨打电话``
//拨打 private void call() { if (this.numText.Text == "") { MessageBox.Show("号码不能为空"); return; } i
2010-02-03 15:24:00 1709 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人