- 博客(20)
- 资源 (14)
- 收藏
- 关注
原创 屏蔽窗体标题栏双击和移动事件、ALT+F4键
屏蔽窗体标题栏双击和移动事件protected: virtual void WndProc( Message % m) override { __super::WndProc (m); if(m.Msg == 0x84 && m.Result == (System::IntPtr)2) // 不让拖动标题栏 {
2009-11-01 22:01:00
942
原创 VC++2005 WINFORM app.config
调用方法:1.设置 2.static System::String ^constr=System::Configuration ::ConfigurationManager ::AppSettings ["con"]->ToString ();取值3.app.config内容如下: http://192.168.52.12//SERVER//"/> 引自
2009-10-31 20:17:00
558
原创 无法访问局域网内IIS服务器的解决办法
http://www.mfxb.com/System/Server/2107/http://msdn.microsoft.com/zh-cn/vcsharp/cc339518.aspx
2009-10-31 14:50:00
448
原创 webclient上传文件
http://www.cnblogs.com/lmjob/archive/2008/10/14/1310617.html
2009-10-31 13:01:00
355
原创 c
#includeint main(){ int a[]={1,2,3,4,5}; printf("%d/n",a); printf("%d/n",&a); int *ptr=(int *)(&a+1); printf("%d/n",*(ptr-1)); return 1;}5
2009-10-23 21:23:00
344
原创 C++实战笔试题网址
http://blog.163.com/gongdashizhan/ cout cout cout cout // const char* a="abdfnd"; const char**p; p=&a; *p="abdfdf34"; cout cout
2009-10-11 21:17:00
408
原创 CLR 控制台应用程序
CLR 控制台应用程序运行C程序Console::ReadLine(); 可以让终端停住/例如:#include "stdafx.h"using namespace System;int main(array ^args){ char a[100]; int n=sizeof(a); Console::Write ("{0} ",n); //Console::W
2009-10-11 20:16:00
1735
原创 在Ubuntu下KDevelop安装及汉化
一、安装:运行新利得软件包管理器->搜索->kdevelop,双击安装相关包。(89M) 安装ctags、konsole包,编译调试用。 sudo apt-get install ctags sudo apt-get install konsole 不然运行时会提示: /bin/sh: ctags: not found /bin/sh: konsole: not found 二、汉化: 1、下载K
2009-10-10 17:20:00
2139
1
原创 解决ubuntu打开网页慢问题
具体操作 --------------------- 安装dnsmasq 命令: sudo apt-get install dnsmasq 编辑dnsmasq的配置文件 命令: sudo gedit /etc/dnsmasq.conf 找到下面这一项 #resolv-file= 用下面的一条语句替换 resolv-file=/etc/resolv.dnsmasq
2009-10-10 16:10:00
2739
原创 E: 无法获得锁 /var/lib/dpkg/lock - open (11 资源临时不可用)
sudo rm /var/lib/dpkg/locksudo dpkg --configure -a
2009-10-07 15:47:00
1345
1
原创 ubuntu Multiget多线程下载
这个软件非常的好,百分之百的信心推荐给你,马上就去体验吧,了解更多可以到官方。下载ubuntu的deb安装包,直接运行安装即可。下载地址:http://multiget.sourceforge.net/
2009-10-06 14:43:00
570
原创 无法复制用户的Xauthorization文件解决办法
在终端或者ssh中执行以下命令即可:sudo touch ~/.Xauthority && sudo chown $LOGNAME ~/.Xauthority && chmod 775 ~/.Xauthority
2009-10-06 14:41:00
3265
原创 ubuntu设置极点五笔
1.download http://www.linuxidc.com/Linux/2008-08/15023.htm2. 解压到桌面3.拷贝到/usr/share/scim/tablessudo mkdir /usr/share/scim/tablessudo cp freeime.bin /usr/share/scim/tables4.
2009-10-04 16:29:00
681
原创 C++创建txt文件
System::Void WriteTxt() { System::IO::FileStream ^objFileStream = gcnew System::IO::FileStream("E://a.txt",System::IO ::FileMode::Create, System::IO ::FileAccess ::Write); System::IO::
2009-09-15 17:37:00
3794
1
原创 去除sql server中重复的数据--完全相同的记录方法
select distinct * into #Tmp from 学生考试信息 drop table 学生考试信息 select * into 学生考试信息 from #Tmp drop table #Tmp
2009-09-15 17:31:00
538
原创 自动编号的更新
--创建得到最大id的函数create function f_getid()returns intasbegin return(select isnull(max(id),0)+1 from tb)endgo--创建表create table tb(id int default dbo.f_getid() primary key,name varchar(10))go--创建触发器,在删除表
2009-09-05 09:52:00
375
原创 datagridview更新到数据库视频教程地址
http://itboba.com/v/itbb0157/http://itboba.com/category/2/1/10
2009-09-03 13:50:00
504
原创 判断datagridview 中的checkbox列是否被选中
for(int i=0;idataGridView1 ->Rows ->Count-1;i++) { if((bool)this->dataGridView1 ->Rows [i]->Cells [0]->EditedFormattedValue==true ) System::Windows ::Forms ::MessageBox ::Show ("选
2009-08-31 17:36:00
1194
原创 关于const char*, char const* and char *const 等的区别
1 关于const char*, char const* and char *const 等的区别 2 3 助记方法: 4 把一个声明从右向左读 5 比如: 6 char * const cp; 7 //cp is a const pointer to char 8 9 const char * cp; 10 //cp is a pointer to const char;
2009-08-01 21:06:00
304
原创 Ubuntu 9.04上网设置
打开System-Preference-Network connections,在弹的界面中Wired标签里面可以看到已经有eth0这个网卡设置,但是对它Edit修改其成为固定IP地址时发现网关始终填写补上,系统会自动填写为空。在网上找到了修改配置文件的方法但始终不行。后来经过实验发现这样设置即可:首先打开Network connections设置窗口,不去管那个默认的eth0,我们
2009-08-01 18:43:00
1914
firefox 3.5 支持firebug 1.5 aptana 2.0.5 调试javascript
2012-04-24
firebug 1.5.0 xp 版 配合firefox 3.5 aptana 2.0.5 安装 使用
2012-04-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人