Time of Update: 2018-12-06
(轉http://tech.ddvip.com/2008-10/122527111786701.html,更詳細見msdn:http://msdn.microsoft.com/zh-cn/library/ms464040.aspx) MOSS中已經提供的webservice都放在虛擬目錄_vti_bin中,對應的物理目錄為c:Program FilesCommon FilesMicrosoft SharedWeb Server
Time of Update: 2018-12-06
最近在想怎麼才能防止DLL非法調用的問題,想來想去也沒想到什麼好的方法。只想到了下面這麼一個方法,但是對一般的人來說還是管用的。平台:WinXP sp3,Visual Studio 2008 Professional(CN)1)程式分為:MyEXE.exe 和 MyDLL.dll2)用MyKey.snk 簽名 MyEXE.exe 和 MyDLL.dll3)測試代碼如下://MyDLLnamespace MyDLL{ sealed public class MyClass {
Time of Update: 2018-12-06
1、建立項目 》建立類庫項目:HttmModules 在類檔案實現代碼: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint;using
Time of Update: 2018-12-06
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><%@ Page Language="C#" AutoEventWireup="true" CodeFile="PreviewImageInFileUpload.aspx.cs" Inherits="PreviewImageInFileUpload" %><!DOCTYPE html
Time of Update: 2018-12-06
如何在select
Time of Update: 2018-12-06
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { int charactersOnPage = 0;//字串中的字元數。 int linesPerPage = 0;//字串中的文本行數。 //根據字型,地區測量每頁的字串個數和行數。
Time of Update: 2018-12-06
常用MIME類型大全 application/vnd.lotus-1-2-33gp video/3gppaab application/x-authoware-binaam application/x-authoware-mapaas application/x-authoware-segai application/postscriptaif audio/x-aiffaifc audio/x-aiffaiff audio/x-aiffals audio/X-Alpha5amc
Time of Update: 2018-12-06
轉(詳見):http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/1bad2198-65cb-445d-84cb-1fae17828eef 分以下幾步驟:1、VS2008建立WCF服務項目2、佈建服務介面UriTemplate [OperationContract] [WebGet(UriTemplate = "/Tests/{sValue}", ResponseFormat =
Time of Update: 2018-12-06
今天碰到了一個很棘手的問題,由於原來從來沒做過這方面的考慮,所以一上來就把我搞蒙了,還好baidu,google了半天(連迅雷都用上了。。。)終於解決了這個問題。 如果你想控制某個.aspx頁面不讓未授權使用者訪問,那麼寫個web.config就OK了,但是如果你想控制rar,zip……等等檔案的訪問就不是這麼簡單的了,有人說隱藏,用session判斷啊什麼的,我覺得這純屬是對付,萬一哪個哥們沒事幹就再那猜地址呢,如果是給小日本寫程式,那這麼寫沒問題。有一種辦法不錯,也不難。嘿嘿,為什麼.asp
Time of Update: 2018-12-06
class CSharp30_Demo1 { public override string ToString() { //隱式變數 int i = 5; var vi = 10; double d = 3.14; var vd = 3.14; string s = "Hello"; var vs = "World"; CSharp30_Demo1
Time of Update: 2018-12-06
MOSS耙梳-搜尋自訂帶參數資訊(例:新聞顯示頁面格式:www.abc.com.cn/content.aspx?newID=8599f29a-88d6-4cba-a0dc-016bb816a116)的規則配置:1、耙梳規則》建立耙梳規則》路徑填入:http://www.abc.com/*2、選擇"包含此路徑中的所有項目",勾選上"對複雜 URL (包含問號(?)的 URL)進行耙梳" 和 "將 SharePoint 內容作為 HTTP 頁面進行耙梳" 兩項, 其它選項
Time of Update: 2018-12-06
Windows什麼時候一年只有一、兩個bug被發現則下面這些文字就成廢品了。寫一個指令碼來一次安裝N個補丁,並且全部自動化佈建為安裝後不重起。建立一個指令檔:AllInOne.cmd指令檔和不定的目錄結構如下:folder ---| | --- AllInOne.cmd | --- hotfix ---| ---| -- WindowsServer2003-KB928255-x86-CHS.
Time of Update: 2018-12-06
CodeCode highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-06
[ipad] 3.2.2 IPAD 越獄教程!最新綠雨一、 準備工作 . s C& w) S& X1 O5 V 引用 ; v/ g2 e; [8 F% _; J2 l4 u- z C: `9 F. }! L3 b' q* }4 a1 E" }8 H2 h1:滿電 IPAD 6 P$ ]- b0 Q1 ]/ e2:雙口 USB供電 轉接線 (有些電腦主板由於本身電源供電系統老化或者品質粗糙導致USB供電不穩定致使資料轉送丟包) I' b1 U1 c0 P. \8
Time of Update: 2018-12-06
其實很簡單,主要是我沒怎麼好好看過js,所以還是想了一會兒才想出來。。。感覺這代碼有種騙人的感覺 CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&
Time of Update: 2018-12-06
懶得說一大堆,直接上代碼 private void 複製ToolStripMenuItem_Click(object sender, EventArgs e) { this.contextMenuStrip1.SourceControl.Select();//先擷取焦點,防止點兩下才運行 RichTextBox rtb = (RichTextBox)this.contextMenuStrip1.SourceControl;
Time of Update: 2018-12-06
SLP代碼保護器(SLP Code Protector) 眾所周知,使用微軟的.NET開發的應用軟體,編譯之後的EXE和DLL檔案,可以使用Lutz Roeder's .NET Reflector很方便的進行反編譯,使得一些核心代碼的安全性受到威脅。這時就可以使用“SLP代碼保護器”(SLP Code
Time of Update: 2018-12-06
我恨啊!我恨為什麼大學課本裡沒有動態SQL這一章呢這個動態SQL浪費了我一個小時的時間啊,再哭。。。baidu.com,google.com我都求助了,最後還是我自己解決了問題,暈。(幹嗎現在還那麼搶搜尋市場呢。。。)Sample:----------------------------------------------注意:SQL中單引號的表示方法為
Time of Update: 2018-12-06
using System;using System.Collections.Generic;using System.Text;using System.Reflection;//使用反射namespace CUI.UseAttribute{ //應用AttributeUsage特性來控制如何該特性的用處 [AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)] public
Time of Update: 2018-12-06
1)DOS啟動時的出錯資訊 Bad partition table 錯誤的分區表 Cannot find system file 未發現系統檔案 CMOS battary state low CMOS 電池電能不足 Unrecognized command in CONFIG.SYS CONFIG.SYS中有無法識別的命令 (2)DOS工作時的出錯資訊 Assess denied 拒絕訪問 Bad