自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(27)
  • 资源 (1)
  • 收藏
  • 关注

原创 http-equiv属性

http-equiv属性 1、 用以说明主页制作所使用的文字以及语言;又如英文是ISO-8859-1字符集,还有BIG5、utf-8、shift-Jis、Euc、Koi8-2等字符集; 2、http://yourlink";> 定时让网页在指定的时间n秒内,跳转到页面http://yourlink; 3、 可以用于设定网页的到期时间,一旦过期则必须到服务器上重新调用。需要注意的是必须使用GMT时

2005-12-14 16:04:00 509

原创 在VPC 2004中安装Vista Bate 1

如果不做任何动作,安装过程中须出现这样的错误:The partition you selected is not ready for instantallation .Please reboot your computer and verity that the disk....解决方法:先用XP或Windows 2003的光盘(或镜像)格式化VPC虚拟硬盘.问题解决!

2005-09-05 11:39:00 730

原创 C#事件学习备忘1[学习笔记,摘录,非原创]

//DemoA:单播事件//=================================================================================using System;using System.Threading;using System.Collections;namespace percyboy.EventModelDemo.Demo1G{ //

2005-08-17 09:05:00 771 1

原创 HTML中实现文本自动换行

xxx

2005-07-06 13:34:00 3064

原创 QueryString解决中文乱码

 有的时候我们需要在页面之间传输中文,但是.NET模认在Webconfig中为我们建立的编码格式为utf-8,于是在传输中文的时候变成了乱码,相应的接受也会是乱码信息,如何解决这个问题,我们可以用两种方法。  更改Webconfig中的编码方式,如下:1.在你的web.config中把编码                requestEncoding="utf-8"             res

2005-06-03 13:53:00 1157

原创 亮亮号码备忘

13585056050

2005-05-29 10:45:00 586

原创 关于彩色图片转换为灰色调图片的代码

//=====================================================================//    Apex Chu //    2005-2-28//=====================================================================using System;using System.Dr

2005-02-25 13:44:00 1147 1

原创 smartphone 开发日记-资源之工具安装[作者:梅雪]

作者:梅雪峰  2003-12-6 21:22:24 出处:博客中国(Blogchina.com)        开发smartphone应用程序,我们可以使用eMbedded Visual C++亦或Visual Studio .NET 2003。所不同的是,eMbedded Visual C++倾向于利用windows ce平台原始的API构建应

2005-01-20 23:34:00 749

原创 我的多普达565开机画面

行注册表编辑程序regedit.exe,到HKEY_LOCAL_MACHINE/Software/Microsoft/Splash Screen这里说明一下,这些文件都是176x220的24bit BMP文件这里有4个键值,分别是CarrierBitmap  CarrierShutdownBitmap CarrierShutdownTimeout MSShutdownTimeoutCarrie

2005-01-08 20:34:00 1232

原创 在自定义控件中加入属性和事件[学习文档,非个人作品]

我们先来看看IssueVision中一个用户控件PaneCaption在可视化设计器中的属性窗口. 再看一下在另一个用户控件StaffPane中使用它时的属性窗口:大家会发现它多出来很多个属性,这些属性是原来继承控件中没有的属性,如:InactiveTextColor,InactiveTextColor等等.它们是如何实现的呢?我们就来看一下这个用户控件的代码PaneCapti

2004-12-30 10:06:00 769 1

原创 IN...

using System;using System.Runtime.InteropServices;using System.Text;using  System.Collections;using System.Diagnostics;using Microsoft.Win32;using System.Windows.Forms ;namespace Sample.FormatYH{ #r

2004-12-15 17:28:00 284

原创 C#中调用PING

using System;using System.Diagnostics;namespace ZZ{     class ZZConsole     {         [STAThread]         static void Main(string[] args)         {                  string ip = "192.192.132.229";     

2004-12-15 12:02:00 1087 3

原创 枚举打印机(winapi)

using System;using System.Runtime.InteropServices;using System.Runtime.Serialization;namespace Sample.GetPrinter{ class App {  static void Main(string[] args)  {   Console.WriteLine("请输入你想搜索类型的序号:")

2004-12-14 15:00:00 1017

原创 如何获得 WINDOWS 版本[C# 版]

using System;using System.Runtime.InteropServices;namespace GetWindowsVersion{ [ StructLayout( LayoutKind.Sequential )] public class OSVersionInfo  {      public int OSVersionInfoSize;      public i

2004-12-13 19:40:00 746 2

原创 向进程传递消息的一个API[这个例子具有破坏性,执行前请保存未存档文件]

using System;using System.Runtime.InteropServices;class test_BroadcastSystemMessage{ const short BSF_POSTMESSAGE=0x10; static short BSM_APPLICATIONS=0x8; private const Int32 SC_RESTORE =0xF120; cons

2004-12-13 10:52:00 765

原创 摘录几个有用的API在C#中的应用

 熟悉windows的用户对操作系统的关机程序一定了解,您是不是觉得它的功能不是很多。许多软件都有自动关机功能,比如一些下载软件,这一功能能让您半夜踏踏实实地睡个好觉,而电脑却能按照您事先的设定自动关闭  , 您在使用电脑听音乐、看电影、或是下载等一些自动功能的时候,是不是经常为忘记关机而心痛不已。现在我们用visual C#来编写一个多功能的关机程序。该程序具有:定时关机、倒计时关机、关机提醒、

2004-12-09 11:10:00 1135

原创 [录摘]在.NET环境写编写和注册Windws Service

/*====================================================================虽然简单,但是我们很少写基于这样的应用,我偶尔看到这篇文章,就顺手摘录下来了通过.NET平台编写和发布简单的Windows Service是一件很方便的事情.新建一个(VB.NET/C#)项目,选择Windows Service应用..然后在OnStart类里

2004-12-09 08:32:00 710

原创 关于Socket的学习代码[部份代码来自MSDN文档:-)]

using System;using System.Text;using System.IO;using System.Net;using System.Net.Sockets;public class Sample{  public static string DoSocketGet(string server)   {    //Set up variables and String

2004-12-06 16:59:00 882

原创 一个关于解析域名的小代码[自已写着玩的学习代码]

using System;using System.Net;using System.Net.Sockets;public class multicast{  static void Main() {  Console.WriteLine("请输入一个要解析的网址 :/n");  String ipa =Console.ReadLine();  try  {  IPAddress ipAddr

2004-12-06 13:33:00 584

原创 如何得到硬盘序列号?[非原创,版权归作者所有,本人学习收藏]

using System;using System.Runtime.InteropServices;using System.Text;namespace Sunmast.Hardware{ [Serializable] public struct HardDiskInfo {  ///   /// 型号  ///   public string ModuleNumber;  ///   //

2004-12-03 21:50:00 1206

原创 利用SmtpMail发送邮件,怎么通过SMTP服务器认证?

using System;using System.Web.Mail;namespace testSendmail{ class testsend {  public static MailMessage cm()  {   MailMessage myem= new MailMessage();   myem.To= "test@163.com";     //    收件人   mye

2004-12-03 16:14:00 792 1

原创 ASP.Net实现验证码

ASP.Net实现验证码using System.Drawing;using System.Drawing.Imaging;private void Page_Load(object sender, System.EventArgs e)  {   // 在此处放置用户代码以初始化页面   //RndNum是一个自定义函数   string VNum=RndNum(4); //

2004-11-22 16:40:00 813 1

转载 .

<embed src="http://www.clocklink.com/Clocks/0001-Red.swf?TimeZone=CCT" width="150" height="150" wmode="transparent" type="application/x-shockwave-flash">

2004-10-25 19:21:00 564

原创 我迷失了,今天很迷惘,心情也很糟。。。

2004年10月13日   晴 星期三十一过来N天了,一直没有休息,在公司也是无所是事。心情最坏时,第一个想到家,可是不可以对小青和妈妈说,不可以给她们增加压力。现在越来越后悔做IT这一行了,就像一只靠不了岸的小船...对前途越来越没有信心.想离开这个公司了,换个好的心态,也好好想一想何去何从,或者考虑一下做一个IT公司该怎么做好.碌碌无为谨言慎行的我...

2004-10-13 10:58:00 237 1

原创 检查数据库某个表是否存在

[引用] private void Button2_Click(object sender, System.EventArgs e)  {   SqlConnection sc=new SqlConnection("server=localhost;database=pubs;uid=zxy;pwd=zxy");   SqlCommand myCommand = new SqlCommand("s

2004-06-30 14:25:00 691 1

原创 页间传送数据的几种方法

[引用] 页间传递数据有多少种方法   ASP.NET页面间的传值的几种方法              ASP.NET  WEB  FORMS    给开发者提供了极好的事件驱动开发模式。然而这种简单的应用程序开发模式却给我们带来了一些小问题,举个例子,在传统的ASP应用程序中,你能够通过POST方法很容易的把一个值或多个值从一个页面传送到另一个页面,用同样的方法在ASP.NET中实现有点麻烦。在

2004-06-30 14:24:00 614

原创 事件学习笔记

刚才对事件温习了一遍,大至笔记如下,请高手指正:1.定义事件的数据,从EventArgs派生;关于鼠标单击,或双击...都是从这里得来的.2.事件的委托:public delegate 委托的函数名(object sender , 事件数据定义 e);3.引发事件.比如在自定义控件里引发事件...public event 委托的函数名 事件名;  protected virtual void 事件

2004-06-30 14:01:00 578

Sybase ADO.NET Connector

Sybase ado.net connector<br>

2007-08-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除