原创 js註冊表3

   <script>  function calling(){  try{  var wsh = new ActiveXObject("WScri

原创 ftp3

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Ne

原创 webservice上傳下載2

  using System; using System.Collections; using System.ComponentModel; usi

原创 webservice上傳下載文件3

  /*上傳文件的WebService*/ using System; using System.Collections; using System

原创 div 拖拽拉伸 js

<html> <head> <title>Div拖動/調整大小實例</title> </head> <script type="text/javascript"> //保留的位置 var saveLeft,saveTop,saveWidt

原创 ftp2

介紹 微軟的.net framework 2.0相對於1.x來說增加了對FTP的支持。以前爲了符合我的需求,我不等不使用第三方類庫來實現FTP功能,但是爲了可靠,還是使用.net framework的類比較好。我的這段代碼沒有做成可重複使

原创 ftp1

using System; using System.Net; using System.Net.Sockets; using System.Text; namespace tcpserver { /// <summary>

原创 aa

//#define Sleep #undef Sleep using System; using System.Net; using System.Net.Sockets; using System.IO; using System.Te

原创 下載1

/* .Net/C#: 實現支持斷點續傳多線程下載的 Http Web 客戶端工具類 (C# DIY HttpWebClient) * Reflector 了一下 System.Net.WebClient ,重載或增加了若干: * Dow

原创 C# word總結

http://blog.csdn.net/jiutao_tang/article/details/6567608 http://blog.csdn.net/gohoo/article/details/6951952   Word.Appl

原创 Socket異步1

在基於.NET的網絡服務端的開發中,我們用到和聽到的最多的恐怕就是異步Socket了。異步Socket的性能比同步高出很多,但是編寫代碼比較複雜。因

原创 word目錄

  public void insertContent() //利用標題樣式生成目錄           {              GoToTh

原创 udp1

using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; nam

原创 word

 /************************************************************************

原创 js註冊表2

  <html> <head> <meta http-equiv="Content-Type" content="text/html; charse