<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OLIVER yuehua LEE</title>
	<atom:link href="http://blog.donews.com/oliverlee/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.donews.com/oliverlee</link>
	<description>ONLINE HOME</description>
	<lastBuildDate>Thu, 06 Jan 2011 05:53:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Delphi_将被其他窗体遮住的窗体弹到最前面</title>
		<link>http://blog.donews.com/oliverlee/archive/2011/01/06/1243347.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2011/01/06/1243347.aspx#comments</comments>
		<pubDate>Thu, 06 Jan 2011 05:53:29 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/?p=1243347</guid>
		<description><![CDATA[Delphi_将被其他窗体遮住的窗体弹到最前面 
]]></description>
			<content:encoded><![CDATA[<p>Delphi_将被其他窗体遮住的窗体弹到最前面 <br />
 <br />
 <br />
unit SysFocus;<br />
interface</p>
<p>uses</p>
<p>Windows,Messages,SysUtils,Classes,Graphics,Controls,Forms,Dialogs;</p>
<p>type</p>
<p>TSysFocus=class(TComponent)</p>
<p>public</p>
<p>function GetSysFocus:integer;</p>
<p>function SetSysFocus(hwnd:integer):integer;</p>
<p>end;<br />
implementation<br />
function TSysFoucs.GetSysFocus;//取当前活动窗口</p>
<p>var</p>
<p>hOtherWin,OtherThreadID,hFocusWin:integer;</p>
<p>begin</p>
<p>hOtherWin:=GetForegroundWindow;</p>
<p>OtherThreadID:=GetWindowThreadProcessID(hOtherWin,nil);</p>
<p>if AttachThreadInput(GetcurrentThreadID,OtherThreadID,True) then</p>
<p>begin</p>
<p>hFocusWin:=GetFocus;</p>
<p>result:=GetFocus;</p>
<p>if HFocusWin&lt;&gt;0 then</p>
<p>try</p>
<p>//SendMessage(GetFocus,WM_COPY,0,0);//书上是这么写的</p>
<p>finally</p>
<p>AttachThreadInput(GetcurrentThreadID,OtherThreadID,False);</p>
<p>end;</p>
<p>end</p>
<p>else result:=GetFocus;</p>
<p>end;<br />
function TSysFocus.SetSysFocus(hwnd:integer):integer;//设置某窗口为活动窗口</p>
<p>var</p>
<p>hOtherWin,OtherTHreadID,hFocusWin:integer;</p>
<p>begin</p>
<p>hOtherWin:=GetForegroundWindow;</p>
<p>OtherThreadID:=GetWindowThreadProcessID(hOtherWin,nil);</p>
<p>if AttachThreadInput(GetcurrentThreadID,OtherThreadID,True) then</p>
<p>begin</p>
<p>hFocusWin:=GetFocus;</p>
<p>SetFocus(hwnd);</p>
<p>//SendMessage(hwnd,WM_COPY,0,0);</p>
<p>if hFocusWin&lt;&gt;0 then</p>
<p>try</p>
<p>//SendMessage(GetFocus,WM_COPY,0,0);</p>
<p>finally</p>
<p>AttachThreadInput(GetCurrentTHreadID,OtherTHreadID,False);</p>
<p>end;</p>
<p>end</p>
<p>else result:=SetFocus(hwnd);</p>
<p>end;<br />
end.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2011/01/06/1243347.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL 格式化字符串</title>
		<link>http://blog.donews.com/oliverlee/archive/2010/05/17/1243345.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2010/05/17/1243345.aspx#comments</comments>
		<pubDate>Mon, 17 May 2010 09:51:34 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[未分类]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/?p=1243345</guid>
		<description><![CDATA[select right(&#8216;00000000&#8242; + cast(1 as varchar(8)),8)
显示效果
1&#8212;&#62;  00000001
]]></description>
			<content:encoded><![CDATA[<p>select right(&#8216;00000000&#8242; + cast(1 as varchar(8)),8)</p>
<p>显示效果</p>
<p>1&#8212;&gt;  00000001</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2010/05/17/1243345.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LQ-670K爱普生针式打印机打印增值税发票字体变大</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243344.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243344.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 13:09:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS Windows Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243344.aspx</guid>
		<description><![CDATA[<hr />
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0cm 6.75pt 11.25pt; LINE-HEIGHT: 14.4pt; TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-outline-level: 2" align="center"><font size="3"><strong><span lang="EN-US" style="COLOR: #ff5500; FONT-FAMILY: Arial; mso-bidi-font-size: 10.5pt; mso-font-kerning: 18.0pt">LQ-670K</span></strong><strong><span style="COLOR: #ff5500; FONT-FAMILY: 宋体; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-size: 10.5pt; mso-f]]></description>
			<content:encoded><![CDATA[<hr />
<p class="MsoNormal" style="BACKGROUND: white; MARGIN: 0cm 6.75pt 11.25pt; LINE-HEIGHT: 14.4pt; TEXT-ALIGN: center; mso-pagination: widow-orphan; mso-outline-level: 2" align="center"><font size="3"><strong><span lang="EN-US" style="COLOR: #ff5500; FONT-FAMILY: Arial; mso-bidi-font-size: 10.5pt; mso-font-kerning: 18.0pt">LQ-670K</span></strong><strong><span style="COLOR: #ff5500; FONT-FAMILY: 宋体; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-size: 10.5pt; mso-font-kerning: 18.0pt; mso-bidi-font-family: Arial">爱普生针式打印机打印增值税发票字体变大</span></strong><strong><span lang="EN-US" style="COLOR: #ff5500; FONT-FAMILY: Arial; mso-bidi-font-size: 10.5pt; mso-font-kerning: 18.0pt"><o:p></o:p></span></strong></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><o:p><font face="Times New Roman" size="3">&nbsp;</font></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: left; mso-pagination: widow-orphan" align="left"><strong><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">一、现象描述：</span></strong><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: left; mso-pagination: widow-orphan" align="left"><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">爱普生针式打印机打印增值税发票时，会出现字体变大的现象，参见</span><span style="FONT-SIZE: 9pt; COLOR: #285ab4; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">图（<span lang="EN-US">1</span>）、图（<span lang="EN-US">2</span>）。</span><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shape id="_x0000_i1025" style="WIDTH: 225pt; HEIGHT: 136.5pt" alt="图1" type="#_x0000_t75"><v:imagedata o:href="http://tech.haocai.com/UploadFiles_7265/200701/20070110154547705.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg"></v:imagedata></v:shape><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span style="FONT-SIZE: 9pt; COLOR: #285ab4; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">图（<span lang="EN-US">1</span>）打印增值税发票字体偏大</span><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><v:shape id="_x0000_i1026" style="WIDTH: 225pt; HEIGHT: 132pt" alt="图2" type="#_x0000_t75"><v:imagedata o:href="http://tech.haocai.com/UploadFiles_7265/200701/20070110154549337.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image003.jpg"></v:imagedata></v:shape><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span style="FONT-SIZE: 9pt; COLOR: #285ab4; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">图（<span lang="EN-US">2</span>）打印增值税发票字体正常</span><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: left; mso-pagination: widow-orphan" align="left"><strong><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">二、原因分析：</span></strong><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">计算机在处理数据时有两种数据格式分别为<span lang="EN-US">R AW</span>和<span lang="EN-US">EMF</span>。由于两种数据格式的处理方式不同，就会造成软件和系统之间的兼容性问题。<span lang="EN-US"><br />RAW*</span>：原始图像数据存储格式。电脑发送的作业直接由打印机的驱动程序编译处理，处理后将数据发送给<span lang="EN-US">spooler</span>管理器，进行打印。<span lang="EN-US"><br />EMF*</span>：电脑发送的作业通过系统<span lang="EN-US">GDI</span>函数处理，处理过后在将数据发送给打印机的驱动程序进行编译和处理，最终将数据发送给<span lang="EN-US">spooler</span>管理器，进行打印。<span lang="EN-US"><o:p></o:p></span></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: left; mso-pagination: widow-orphan" align="left"><strong><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">三、解决方法：</span></strong><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">&nbsp;&nbsp;&nbsp; <br />1.&nbsp;Windows 2000/XP</span><span style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">操作系统<span lang="EN-US"><br />1.1 </span>选择<span lang="EN-US">&ldquo;</span>开始<span lang="EN-US">&rdquo;&mdash;&ldquo;</span>设置<span lang="EN-US">&rdquo;</span>－<span lang="EN-US">&ldquo;</span>打印机（打印机与传真）<span lang="EN-US">&rdquo;</span>－鼠标右键点击所使用的针式打印机，然后选择<span lang="EN-US">&ldquo;</span>属性<span lang="EN-US">&rdquo;</span>；<span lang="EN-US"><br />1.2&nbsp; </span>选择<span lang="EN-US">&ldquo;</span>高级<span lang="EN-US">&rdquo;</span>－<span lang="EN-US">&ldquo;</span>打印处理器<span lang="EN-US">&rdquo;&mdash;</span>将<span lang="EN-US">&ldquo;</span>默认的数据类型<span lang="EN-US">&rdquo;</span>选择为<span lang="EN-US">&ldquo;RAW&rdquo;</span>，点击<span lang="EN-US">&ldquo;</span>确定<span lang="EN-US">&rdquo;</span>即可，如</span><span style="FONT-SIZE: 9pt; COLOR: #285ab4; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">图（<span lang="EN-US">3</span>）</span><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><v:shape id="_x0000_i1027" style="WIDTH: 300pt; HEIGHT: 195.75pt" alt="图3" type="#_x0000_t75"><v:imagedata o:href="http://tech.haocai.com/UploadFiles_7265/200701/20070110154553363.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image005.jpg"></v:imagedata></v:shape><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 11.25pt 0cm; WORD-BREAK: break-all; TEXT-ALIGN: center; mso-pagination: widow-orphan" align="center"><span style="FONT-SIZE: 9pt; COLOR: #285ab4; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">图（<span lang="EN-US">3</span>）选择<span lang="EN-US">&ldquo;</span>默认数据类型<span lang="EN-US">&rdquo;</span></span><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: #111111; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US" style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">2.&nbsp;Windows98</span><span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: 宋体; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">操作系统<span lang="EN-US"><br />2.1 </span>选择<span lang="EN-US">&ldquo;</span>开始<span lang="EN-US">&rdquo;&mdash;&ldquo;</span>设置<span lang="EN-US">&rdquo;</span>－<span lang="EN-US">&ldquo;</span>打印机<span lang="EN-US">&rdquo;</span>－鼠标右键点击所使用的针式打印机，然后选择<span lang="EN-US">&ldquo;</span>属性<span lang="EN-US">&rdquo;</span>；<span lang="EN-US"><br />2.2 </span>选择<span lang="EN-US">&ldquo;</span>详细资料<span lang="EN-US">&rdquo;</span>－<span lang="EN-US">&ldquo;</span>后台打印设置<span lang="EN-US">&rdquo;</span>－在<span lang="EN-US">&ldquo;</span>数据格式<span lang="EN-US">&rdquo;</span>中选择<span lang="EN-US">&ldquo;RAW&rdquo;</span>，点击<span lang="EN-US">&ldquo;</span>确定<span lang="EN-US">&rdquo;</span>即可。</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243344.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BCB Import Data To Excel</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243342.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243342.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 13:06:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[Borland C++ Builder]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243342.aspx</guid>
		<description><![CDATA[BCB Import Data To Excel]]></description>
			<content:encoded><![CDATA[<p>Variant WorkExcel, WorkBook, WorkSheet, CellsRange; WorkExcel = Variant::CreateObject(&quot;Excel.Application&quot;);//Start Excel WorkExcel.OlePropertySet(&quot;Visible&quot;,true);//Open Excel WorkBook = WorkExcel.OlePropertyGet(&quot;Workbooks&quot;); WorkBook.Exec(Procedure(&quot;Add&quot;));//Add a new workbook WorkBook = WorkExcel.OlePropertyGet(&quot;ActiveWorkbook&quot;); WorkSheet = WorkBook.OlePropertyGet(&quot;ActiveSheet&quot;); WorkSheet.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Item&quot;,1,1).OlePropertySet(&quot;Value&quot;,&quot;Title&quot;); WorkSheet.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Item&quot;,2,1).OlePropertySet(&quot;Value&quot;,&quot;row(y)=2,column(x)=1&quot;); CellsRange = WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A1:C1&quot;); CellsRange.OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Select&quot;); CellsRange.OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Merge&quot;); WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A2&quot;).OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Select&quot;); //WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A2&quot;).OlePropertyGet(&quot;Cells&quot;).OlePropertySet(&quot;HorizontalAlignment&quot;,&quot;xlCenter&quot;); WorkSheet.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Item&quot;,5,5).OlePropertySet(&quot;Value&quot;,&quot;123456.123&quot;); WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;E:E&quot;).OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Select&quot;); WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;E:E&quot;).OlePropertyGet(&quot;Cells&quot;).OlePropertySet(&quot;Style&quot;,&quot;Comma&quot;); WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A2&quot;).OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Select&quot;); WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A2&quot;).OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Activate&quot;); AnsiString abc = WorkSheet.OlePropertyGet(&quot;Cells&quot;,5,5).OlePropertyGet(&quot;Value&quot;); ShowMessage(abc); return; Query1-&gt;Active = False; Query1-&gt;SQL-&gt;Clear(); Query1-&gt;SQL-&gt;Add(&quot;select * from T_Department&quot;); Query1-&gt;Active = True; int i, row = 3, column = 1; AnsiString T_Value; for (i = 0; i &lt; Query1-&gt;FieldCount; i++) { WorkSheet.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Item&quot;,row,column + i).Exec(PropertySet(&quot;Value&quot;) &lt;&lt; Query1-&gt;Fields-&gt;Fields[i]-&gt;FieldName.c_str()); } Query1-&gt;First(); while (!Query1-&gt;Eof) { ++row; for (i = 0; i &lt; Query1-&gt;FieldCount; i++) //WorkSheet.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Item&quot;,row,column + i).Exec(PropertySet(&quot;Value&quot;) &lt;&lt; Query1-&gt;Fields-&gt;Fields[i]-&gt;AsString.c_str()); WorkSheet.OlePropertyGet(&quot;Cells&quot;,row,column + i).OlePropertySet(&quot;Value&quot;,Query1-&gt;Fields-&gt;Fields[i]-&gt;AsString.c_str()); Query1-&gt;Next(); } Query1-&gt;Active = False; CellsRange = WorkSheet.OlePropertyGet(&quot;Range&quot;,&quot;A1:IV65536&quot;); CellsRange.OlePropertyGet(&quot;Cells&quot;).OleFunction(&quot;Select&quot;); CellsRange.OlePropertyGet(&quot;Cells&quot;).OlePropertyGet(&quot;Font&quot;).OlePropertySet(&quot;size&quot;,10); CellsRange.OlePropertyGet(&quot;Columns&quot;).OleFunction(&quot;AutoFit&quot;);</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243342.aspx/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>主板USB接法大全</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243310.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243310.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:28:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS Windows Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243310.aspx</guid>
		<description><![CDATA[主板USB接法大全]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接法大全</span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">2007</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</span><span lang="EN-US"><font face="Times New Roman">02</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</span><span lang="EN-US"><font face="Times New Roman">09</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">日</span><font face="Times New Roman"> </font><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">星期五</span><span lang="EN-US"><font face="Times New Roman"> 11:10</font></span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">一、概述</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　因为每个</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口能够向外设提供＋</span><span lang="EN-US"><font face="Times New Roman">5V500MA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的电流，当我们在连接板载</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口时，一定要严格按照主板的使用说明书进行安装。绝对不能出错，否则将烧毁主板或者外设。相信有不少朋友在连接前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插线时也发生过类似的</span><span lang="EN-US"><font face="Times New Roman">&ldquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">冒烟事见</span><span lang="EN-US"><font face="Times New Roman">&ldquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。这就需要我们能够准确判别前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">线的排列顺序如果我们晓得</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的基本布线结构，那问题不是就迎刃而解了吗。</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">二、</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口实物图</span></font><span lang="EN-US"></p>
<p></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">主机端：</font></span><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">接线图：</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">&nbsp;<br />VCC<br />Data</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">Data</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">GND<br /></font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">实物图：</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">&nbsp;<br /><v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shape id="_x0000_i1025" style="WIDTH: 266.25pt; HEIGHT: 94.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120002.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">设备端：</font></span><span lang="EN-US"></p>
<p></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">接线图：</font></span><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">VCC<br />GND<br />Data</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">Data</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">&nbsp;</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">三、市面上常见的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的布线结构</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这两年市面上销售的主板，板载的前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，使用的都是标准的九针</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，第九针是空的，比较容易判断。但是多数品牌电脑使用的都是厂家定制的主板，我们维修的时候根本没有使用说明书；还有像以前的</span><span lang="EN-US"><font face="Times New Roman">815</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，</span><span lang="EN-US"><font face="Times New Roman">440BX</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">440VX</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板等，前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的接法非常混乱，没有一个统一的标准。当我们维修此类机器时，如何判断其接法呢？</span></font><span lang="EN-US"><br /></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　现在，把市面上的比较常见的主板前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接法进行汇总，供大家参考。</span><span lang="EN-US"><font face="Times New Roman">(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">说明：</span><span lang="EN-US"><font face="Times New Roman">■</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表有插针，</span><span lang="EN-US"><font face="Times New Roman">□</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">代表有针位但无插针。</span></font><font size="3"><span lang="EN-US"><font face="Times New Roman">)</p>
<p>1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、六针双排</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这种接口不常用，这种类型的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插针排列方式见于精英</span><span lang="EN-US"><font face="Times New Roman">P6STP</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span><span lang="EN-US"><font face="Times New Roman">FL(REV</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">1.1)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，用于海尔小超人</span><span lang="EN-US"><font face="Times New Roman">766</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主机。其电源正和电源负为两个前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口共用，因此前置的两个</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口需要</span><span lang="EN-US"><font face="Times New Roman">6</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">根线与主板连接，布线如下表所示。</span></font><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA1+<br />■DATA1-<br />■VCC<br />■DATA2-<br />■DATA2+<br />■GND</p>
<p>2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、八针双排</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这种接口最常见，实际上占用了十针的位置，只不过有两个针的位置是空着的，如精英的</span><span lang="EN-US"><font face="Times New Roman">P4VXMS(REV</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">1.0)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板等。该主板还提供了标准的九针接法，这种作是为了方便</span><span lang="EN-US"><font face="Times New Roman">DIY</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在组装电脑时连接容易。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">□NUL<br />■GND</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />□NUL<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">■VCC<br /><v:shape id="_x0000_i1026" style="WIDTH: 300pt; HEIGHT: 118.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120003.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image002.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　微星</span><span lang="EN-US"><font face="Times New Roman">MS-5156</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板采用的前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口是八针互反接法。虽然该主板使用的是</span><span lang="EN-US"><font face="Times New Roman">Intel&nbsp;430TX</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">芯片组，但首先提供了当时并不多见的</span><span lang="EN-US"><font face="Times New Roman">USB1.0</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">标准接口两个，只不过需要使用单独的引线外接。由于该主板的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电采用了限流保护技术，所以即使我们把</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的供电线接反，也不会导致主板无法启或烧毁</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设备的情况产生。</span></font><span lang="EN-US"><br /><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA-<br />■VCC</p>
<p></font></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　以下这种接口比较常见，多使用于</span><span lang="EN-US"><font face="Times New Roman">815</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，或</span><span lang="EN-US"><font face="Times New Roman">440BX</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">较早的主板上。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA-<br />■GND</p>
<p></font></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　以下这种接口现在不多见，也见于</span><span lang="EN-US"><font face="Times New Roman">2001</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">2002</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年时期的主板上。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">□NUL<br />■GND<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">□NUL<br />■GND</p>
<p>3</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、九针双排</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这种前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口最常见，大多数主板都使用这种接口，有的还带有插槽来限位。如：精英</span><span lang="EN-US"><font face="Times New Roman">P6IEA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">INTEL&nbsp;D845GLVA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，</span><span lang="EN-US"><font face="Times New Roman">L4IBMGL2(REV</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">1.0B)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，精英</span><span lang="EN-US"><font face="Times New Roman">865PE-A(REV</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">2.0)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，捷波</span><span lang="EN-US"><font face="Times New Roman">P4X400DA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，捷波</span><span lang="EN-US"><font face="Times New Roman">JP4MFM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</span></font><span lang="EN-US"><br /><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■NC<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman"><font size="3">■GND<br />□NUL<br /><v:shape id="_x0000_i1027" style="WIDTH: 184.5pt; HEIGHT: 120pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120004.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image003.jpg"></v:imagedata></v:shape></font></font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　有的主板的第十针也接地了，但这对性能改变不大，也没有多大差别，可以接也可以不接。</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■GND<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman"><font size="3">■GND<br />□NUL<br /><v:shape id="_x0000_i1028" style="WIDTH: 289.5pt; HEIGHT: 89.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120005.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image004.jpg"></v:imagedata></v:shape></font></font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　有的主板上不但带有限位设计，同时也明确标明了每一根针的定义，如微星</span><span lang="EN-US"><font face="Times New Roman">MS-845GLML</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1029" style="WIDTH: 192pt; HEIGHT: 143.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120006.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image005.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　捷波生产的几款主板的前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口虽然也是九针，但空针的位置有所有同和其他厂家有点特殊，空针的位置正好相反，如</span><span lang="EN-US"><font face="Times New Roman">845GPRO,845DBA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">845DBAR2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等主板，空针的位置正好是第十针，而非第九针。</span></font><span lang="EN-US"><br /><v:shape id="_x0000_i1030" style="WIDTH: 286.5pt; HEIGHT: 101.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120007.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image006.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　精英</span><span lang="EN-US"><font face="Times New Roman">L4S5M</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板也是九针前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，但空针的位置是第七针，同时第四针是不使用的，两个</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的正好互反。对于互反的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，我们一定要注意不能接错，因为这种情况因为我们接对了一个，往往按经验来判断连接另一个，造成部件损坏。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■GND<br />■NC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■VCC<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">□NUL<br />■GND</p>
<p>4</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、十针双排</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　精英</span><span lang="EN-US"><font face="Times New Roman">P6STM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，神舟电脑使用的</span><span lang="EN-US"><font face="Times New Roman">FC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span><span lang="EN-US"><font face="Times New Roman">810T</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板使用十针双排</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，第九，十两名为闲置插针，两个</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的接法相同。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■NC<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">■GND<br />■NC<br /><v:shape id="_x0000_i1031" style="WIDTH: 177pt; HEIGHT: 136.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120008.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image007.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　像微星</span><span lang="EN-US"><font face="Times New Roman">845&nbsp;Ultra&nbsp;VER</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板，虽然使用的也是十针双排接法，但两组</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接法相反，并且使用了双地线。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■GND<br />■GND<br />■GND<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">■VCC<br /><v:shape id="_x0000_i1032" style="WIDTH: 117.75pt; HEIGHT: 64.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120009.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image008.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　微星</span><span lang="EN-US"><font face="Times New Roman">815E&nbsp;PRO(VER</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span></font><font size="3"><span lang="EN-US"><font face="Times New Roman">1)N1996</p>
<p>■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span></font><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■NC<br />■NC<br />■GND<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">■VCC<br /><v:shape id="_x0000_i1033" style="WIDTH: 152.25pt; HEIGHT: 106.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120010.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image009.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">&nbsp;<br />5</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、十五针双排</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这种接口不多见，见于佰钰</span><span lang="EN-US"><font face="Times New Roman">P4X266(PR22</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span><span lang="EN-US"><font face="Times New Roman">S)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，硕泰克</span><span lang="EN-US"><font face="Times New Roman">SL</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span><span lang="EN-US"><font face="Times New Roman">65KV2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板上面，虽然插针多，但</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口也只是两个，多余的上面一排都是地线，是为了减少</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">线间的干扰，提高工作性能设计的。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■GND&nbsp;<br /></font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　</font></span><font size="3"><span lang="EN-US"><font face="Times New Roman">NULL<br />■GND<br />■GND<br />■GND<br />■GND<br />■GND<br />■GND<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span></font><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br /></font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">实物：</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">&nbsp;<br /><v:shape id="_x0000_i1034" style="WIDTH: 300pt; HEIGHT: 109.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120011.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image010.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　以下这种接口不多见，多见于一些</span><span lang="EN-US"><font face="Times New Roman">OEM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板上面。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">■GND&nbsp;<br />■GND<br />■DATA+<br />■DATA-<br />■VCC<br />□NUL<br />■DATA+<br />■GND<br />■VCC<br />■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">－</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■DATA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">＋</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">■GND<br />■GND<br />□NUL<br />■VCC<br />■DATA-</p>
<p>6</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、四针单排</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　见于华硕</span><span lang="EN-US"><font face="Times New Roman">CUSL2-C(REV</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</span><span lang="EN-US"><font face="Times New Roman">1.02)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，三帝</span><span lang="EN-US"><font face="Times New Roman">P651ML</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，精英</span><span lang="EN-US"><font face="Times New Roman">L4VXA2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等主板。</span></font><span lang="EN-US"></p>
<p><font size="3"><font face="Times New Roman">■VCC<br />■DATA+<br />■DATA-<br />■GND<br />□NUL<br /><v:shape id="_x0000_i1035" style="WIDTH: 300pt; HEIGHT: 210.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120012.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image011.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">&nbsp;</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">四、机箱端的接法</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　目前市场上销售的</span><span lang="EN-US"><font face="Times New Roman">DIY</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">机箱的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接头也有两种，一种是散的，一种是组合的，分别对应使用于非标</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口和标准</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口。</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、散线接头</font></span><span lang="EN-US"><br /><font face="Times New Roman" size="3">&nbsp;<br /><v:shape id="_x0000_i1036" style="WIDTH: 150pt; HEIGHT: 141pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120013.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image012.jpg"></v:imagedata></v:shape>2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、标准组合接头</font></span><span lang="EN-US"><br /><font size="3"><font face="Times New Roman">&nbsp;<br /><v:shape id="_x0000_i1037" style="WIDTH: 264.75pt; HEIGHT: 150pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120014.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image013.jpg"></v:imagedata></v:shape></font></font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　一般情况下，机箱使用的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接头都使用</span><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">种不同颜色的线来使用之区别，其中黑色线为地线</span><span lang="EN-US"><font face="Times New Roman">(GND)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，红色线为电源正级</span><span lang="EN-US"><font face="Times New Roman">(VCC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或＋</span><span lang="EN-US"><font face="Times New Roman">5Volt)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，白色线为数据负线</span><span lang="EN-US"><font face="Times New Roman">(USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　</span><span lang="EN-US"><font face="Times New Roman">Port-</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</span><span lang="EN-US"><font face="Times New Roman">Data-)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，绿色线为数据正线</span><span lang="EN-US"><font face="Times New Roman">(USB&nbsp;Port+</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</span><span lang="EN-US"><font face="Times New Roman">Data+)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　无论是散头接法还是组合接法，我们一定确定我们的安装正确无误后</span><span lang="EN-US"><font face="Times New Roman">(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">特别是电源正负的接法</span><span lang="EN-US"><font face="Times New Roman">)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，才能加电试机，否则就必须使用万用表来帮助我们判断板载</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插针的正确接法。</span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">&nbsp;</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><br /></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">五、</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的基本判断方法</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">线的插头方法最多，有六针的，也有八针，九针，十针的，但是因为</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">线使用</span><span lang="EN-US"><font face="Times New Roman">+5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源和地线，这就为我们判别其正确定义提供了帮助。因为计算机在使用过程中会向空气中发射频带很宽的大量的电磁波，为了防止这些电磁波对其他家用电器的干扰，都使用了全钢机箱，并且箱体安全接地。</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　还有一点需要大家明白，不但机箱接地，同时机箱也是开关电源次级的电源地，即我们通常所说的</span><span lang="EN-US"><font face="Times New Roman">&ldquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源负极</span><span lang="EN-US"><font face="Times New Roman">&rdquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。所以在我们判别</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的地时，只要把万用表置于</span><span lang="EN-US"><font face="Times New Roman">*1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">档或导通档，测试</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口中那根针与机箱是导通的，这样就可以马上判断出地线。只要知道地线了，与其隔两根针的就是</span><span lang="EN-US"><font face="Times New Roman">&ldquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源正</span><span lang="EN-US"><font face="Times New Roman">&rdquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，即</span><span lang="EN-US"><font face="Times New Roman">VCC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">端。其余就可以按位置排列了。</span></font><span lang="EN-US"></p>
<p></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">基本方法：</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　将万用表置于通断档或电阻档的</span><span lang="EN-US"><font face="Times New Roman">*1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">档。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1038" style="WIDTH: 300pt; HEIGHT: 225pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120015.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image014.jpg"></v:imagedata></v:shape></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　用黑表笔接触主板的地线，如</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口或键盘接口，固定螺丝位置的边缘，这些位置都是地线。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1039" style="WIDTH: 300pt; HEIGHT: 225pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120016.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image015.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　黑表笔不动，用红表笔记逐个接触前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的插针。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1040" style="WIDTH: 300pt; HEIGHT: 225pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120017.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image016.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　当接到某一插针时，万用表发出鸣叫或电阻档指示为</span><span lang="EN-US"><font face="Times New Roman">0</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或较小数值时，就表示此时红表笔接触的前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">插针是地线</span><span lang="EN-US"><font face="Times New Roman">(GND)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。接下来再根据</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">连线的基本布局就可以判断电源正</span><span lang="EN-US"><font face="Times New Roman">(VCC)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和其他两根数据线了。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1041" style="WIDTH: 300pt; HEIGHT: 225pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120018.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image017.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　如果还不放心，我们还可以继续判断电源正。因为</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用的</span><span lang="EN-US"><font face="Times New Roman">+5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源，是由</span><span lang="EN-US"><font face="Times New Roman">ATX20</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">针电源插头的</span><span lang="EN-US"><font face="Times New Roman">+5V(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">红色</span><span lang="EN-US"><font face="Times New Roman">)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或者是</span><span lang="EN-US"><font face="Times New Roman">+5VSB(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">紫色</span><span lang="EN-US"><font face="Times New Roman">)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供应的，只要测量有哪根针与</span><span lang="EN-US"><font face="Times New Roman">ATX</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源的红或紫导通就可以了。</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　一些高档主板的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电不是直接由电源提供的，而是通过功率电源管按制</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电当故障发生时切断对外设供电，或者使用限流</span><span lang="EN-US"><font face="Times New Roman">IC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">把</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的输出电流限定为</span><span lang="EN-US"><font face="Times New Roman">500MA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。我们可以通过观察</span><span lang="EN-US"><font face="Times New Roman">PCB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">板上线路连接来判断电源正的接法；也可以通过使用万用表的电阻档测量，与</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口相连的保险电阻或控制电源管导通的插针，就是</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的正极。</span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><br /></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">六、</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的供电方法</span></font><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">1</font></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、采用＋</span><span lang="EN-US"><font face="Times New Roman">5VSB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或＋</span><span lang="EN-US"><font face="Times New Roman">5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　一些低端主板生产厂家出于生产成本的考虑，有的是直接使用开关电源送出的＋</span><span lang="EN-US"><font face="Times New Roman">5VSB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或＋</span><span lang="EN-US"><font face="Times New Roman">5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电，其间有一个或根本没有保险电源或限流电阻。这样做的话会导致如是</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口或</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">外设出现故障时会造成主机不能加电或无法启动。如果是主机正在工作时插入了问题</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">外设就会导致主板立即重启。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1042" style="WIDTH: 300pt; HEIGHT: 172.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120019.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image018.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　中档主板的生产厂家多数都在</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电回路中设计了电源滤波和可恢复保险电阻以保护主板稳定工作，避免受到热插拔</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">外设时出现死机或重启现象。如下图因为生产厂家采用简单供电，导致供电回路中的滤波电感比较严重的烧毁。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1043" style="WIDTH: 300pt; HEIGHT: 177.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120020.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image019.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　因为后置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口与键盘接口相近，所以大部分主板在设计时都采用了后置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口和键鼠一起供电的做法，在键盘接口附近一般会有一个</span><span lang="EN-US"><font face="Times New Roman">JB1</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">跳线，用户可以选择是使用＋</span><span lang="EN-US"><font face="Times New Roman">5VSB(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">可以提供键鼠开机功能，网络唤醒功能，但电流较小，无法满足移动硬盘供电</span><span lang="EN-US"><font face="Times New Roman">)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电；或者是使用＋</span><span lang="EN-US"><font face="Times New Roman">5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源供电</span><span lang="EN-US"><font face="Times New Roman">(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">提供电流较大，但无法键鼠开机</span><span lang="EN-US"><font face="Times New Roman">)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。不过一些主板在设计时就取消了跳线，所以当电脑关机时键鼠灯常亮，这种情况只能在电脑关机后拔下主机的电源插头才能彻底断电。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1044" style="WIDTH: 300pt; HEIGHT: 93pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120021.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image020.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　像映泰</span><span lang="EN-US"><font face="Times New Roman">KBNHAG</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板为了使用主板后置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的供电更稳定，把键鼠和</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电进行了分离。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1045" style="WIDTH: 112.5pt; HEIGHT: 150pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120022.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image021.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、采用＋</span><span lang="EN-US"><font face="Times New Roman">5V</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">电源通过限流</span><span lang="EN-US"><font face="Times New Roman">IC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电或使用电源管可控供电</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　这种设计一般见于中高档主板，在</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">供电回路中有电容滤波，保险电阻，限流</span><span lang="EN-US"><font face="Times New Roman">IC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或功率电源管，这种设计可以保证主板的每个</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口向外设提供最大</span><span lang="EN-US"><font face="Times New Roman">500MA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的供电电流，同时当外设短路时，限流</span><span lang="EN-US"><font face="Times New Roman">IC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">会自动切断</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的供电，保证主机正常稳定的工作。不过，因为最大供电电流只有</span><span lang="EN-US"><font face="Times New Roman">500MA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，所以当我们使用移动硬盘时，往往就会出现无法认盘，认盘后文件读取不易，只能拷贝小文件不能拷贝大文件，拷贝文件容易死机等情况。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1046" style="WIDTH: 300pt; HEIGHT: 128.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120023.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image022.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">&nbsp;</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">七、注意事项</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　六针的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，其中的电源正和电源地是共用的。九针和十针的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，第九针为空，是为了定位，防止</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口反接，造成烧主板的情况。如果我们在判断时有疑问，我们还可以通过万用表辅助判断，以确定连接准确无误。</span></font></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><font face="Times New Roman" size="3">&nbsp;</font></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">八、与其他接口的区别</font></span><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">1</font></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、九针的</span><span lang="EN-US"><font face="Times New Roman">COM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　现在因为</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口和</span><span lang="EN-US"><font face="Times New Roman">1394</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的迅速普及，二者的连接安装方便，可以带电拔插，所以原来经常使用的</span><span lang="EN-US"><font face="Times New Roman">COM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">端口现在已经较少出现在主板上了。生产厂家为了兼顾不同的客户群，只是在主板保留</span><span lang="EN-US"><font face="Times New Roman">COM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口的插针，供有需要的用户单独外接使用。</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　由于</span><span lang="EN-US"><font face="Times New Roman">COM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">使用的也是九针接口，一些用户在连接前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口时经常会出现错误。注意二者的区别，</span><span lang="EN-US"><font face="Times New Roman">COM</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">口的第十针是空的，同时外围一般会有一个图形框，再就是有明显的</span><span lang="EN-US"><font face="Times New Roman">&ldquo;COM&rdquo;</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">字母标注。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1047" style="WIDTH: 285.75pt; HEIGHT: 225pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120024.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image023.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、九针的前置音频接口</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　虽然前置音频接口</span><span lang="EN-US"><font face="Times New Roman">(J_AUDIO)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">也是九针，但空针一般为第七针，同时该接口通常在声卡或后置耳麦接口附近。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1048" style="WIDTH: 233.25pt; HEIGHT: 186pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120025.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image024.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　</span><span lang="EN-US"><font face="Times New Roman">10</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">针前置音频接口</span><span lang="EN-US"><font face="Times New Roman">(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">隽星</span><span lang="EN-US"><font face="Times New Roman">845PEML)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，该音频接口与普通常见的九针前置音频接口有所不同，</span><span lang="EN-US"><font face="Times New Roman">1,9</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是右声道，</span><span lang="EN-US"><font face="Times New Roman">2,10</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是左声道，</span><span lang="EN-US"><font face="Times New Roman">3,4</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">7</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为地，</span><span lang="EN-US"><font face="Times New Roman">5</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为</span><span lang="EN-US"><font face="Times New Roman">VCC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">6</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为</span><span lang="EN-US"><font face="Times New Roman">MIC&nbsp;IN</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">8</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为空脚。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1049" style="WIDTH: 217.5pt; HEIGHT: 118.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120026.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image025.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-US"><br /><font face="Times New Roman" size="3">3</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、九针的前置面板接口</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　前置面板接口就是通常的电源开关，复位键，硬盘灯，电源灯。这几根线通常组合在一起，也正好是九根针，如果没有图示说明，那和前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口非常相似。不过，我们可以注意到空针的为置也是第</span><span lang="EN-US"><font face="Times New Roman">10</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">针，特别是新的主板该接口都用明显的颜色加以区别，因此不容易出现错误。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1050" style="WIDTH: 300pt; HEIGHT: 111.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120027.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image026.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">4</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、九针</span><span lang="EN-US"><font face="Times New Roman">INFOLINK</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">见于技嘉</span><span lang="EN-US"><font face="Times New Roman">GA-IG1000-G</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1051" style="WIDTH: 237pt; HEIGHT: 141pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120028.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image027.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">5</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、九针的</span><span lang="EN-US"><font face="Times New Roman">SPDIF</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口</span></font><span lang="EN-US"></p>
<p></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　见于技嘉和微星主板，不过该接口空针的位置为第五针。</font></span><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1052" style="WIDTH: 205.5pt; HEIGHT: 111pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120029.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image028.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">6</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</span><span lang="EN-US"><font face="Times New Roman">9</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">针</span><span lang="EN-US"><font face="Times New Roman">JDB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　见于微星</span><span lang="EN-US"><font face="Times New Roman">MS-6566</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">6580</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等主板上，要注意该接口与前置</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口非常相似，也是空缺第九针。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1053" style="WIDTH: 123.75pt; HEIGHT: 170.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120030.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image029.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">7</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、单排五针接口</span></font><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">红外接口</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：红外接口的针脚定义和</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">相似，也有</span><span lang="EN-US"><font face="Times New Roman">VCC</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，</span><span lang="EN-US"><font face="Times New Roman">GND</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">两脚，再就是发送和接收两脚，不过红外接口用的单排五针空的是第四针，而非第五针。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1054" style="WIDTH: 151.5pt; HEIGHT: 63.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120031.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image030.jpg"></v:imagedata></v:shape><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">网络唤醒接口：</font></span><span lang="EN-US"></p>
<p></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">该接口虽然也是单排五针，但它的五针齐全。</font></span><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1055" style="WIDTH: 153.75pt; HEIGHT: 80.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120032.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image031.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">8</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、五针接口</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　主板上的五针接口也有好几种，如红外，</span><span lang="EN-US"><font face="Times New Roman">SPDIF</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，</span><span lang="EN-US"><font face="Times New Roman">SUB_CEN</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，这几种接口虽然使用的双排六针，但只有五根针，一般不会当成</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口使用。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1056" style="WIDTH: 300pt; HEIGHT: 84.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120033.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image032.jpg"></v:imagedata></v:shape></p>
<p><font face="Times New Roman" size="3">9</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">、十五针接口</font></span><span lang="EN-US"><br /></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span><span lang="EN-US"><br /></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主板集成</span><span lang="EN-US"><font face="Times New Roman">VGA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口：</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">该接口的使用在</span><span lang="EN-US"><font face="Times New Roman">810</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">之前的主板较常见，目前的主板一般都是直接使用板载</span><span lang="EN-US"><font face="Times New Roman">VGA</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口替代</span><span lang="EN-US"><font face="Times New Roman">COM2</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的位置。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1057" style="WIDTH: 240pt; HEIGHT: 92.25pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120034.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image033.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">软猫接口：</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">如精英</span><span lang="EN-US"><font face="Times New Roman">P6SET-ML</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，这种猫在</span><span lang="EN-US"><font face="Times New Roman">370</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口的主板上较常见，需要占用一定的</span><span lang="EN-US"><font face="Times New Roman">CPU</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">资源来完成数据的调制和解调功能，属专用接口，只能与厂家自己生产的软猫配套使用。类似的还有网卡接口等。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1058" style="WIDTH: 300pt; HEIGHT: 105pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120035.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image034.jpg"></v:imagedata></v:shape></span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US"><font face="Times New Roman">GAME</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口：</span></font><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">因为游戏手柄也越来越多的使用了即插即用的</span><span lang="EN-US"><font face="Times New Roman">USB</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口，所以声卡附带的</span><span lang="EN-US"><font face="Times New Roman">15</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">针</span><span lang="EN-US"><font face="Times New Roman">GAME</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">接口使用的机会也越来越少，所以部分生产厂家就在主板后置接口中省去了该接口，但在主板提供了扩展可能。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1059" style="WIDTH: 300pt; HEIGHT: 160.5pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120036.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image035.jpg"></v:imagedata></v:shape></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">　　</font></span><span lang="EN-US"></p>
<p><font face="Times New Roman" size="3">14</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="3">针接置音频接口：</font></span><span lang="EN-US"></p>
<p></span><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">　　该前置音频接口见于技嘉</span><span lang="EN-US"><font face="Times New Roman">U8668</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">－</span><span lang="EN-US"><font face="Times New Roman">D(</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">七喜快乐</span><span lang="EN-US"><font face="Times New Roman">2004)</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，在其他主板上没有多见，最右边多余的四根针可以用来直接使用跳线帽来短接，使前后置音频接口同时起作用。否则后置接口将受前置接口的控制，当前置耳麦接口中插入话筒或耳机时，会自动切断后置接口的输入。</span></font><span lang="EN-US"></p>
<p><v:shape id="_x0000_i1060" style="WIDTH: 300pt; HEIGHT: 141.75pt" alt="" type="#_x0000_t75"><v:imagedata o:href="http://myhard.zhongsou.com/imagesnew/hardware/0120/zuoxd050120037.jpg" src="file:///C:\DOCUME~1\oliver\LOCALS~1\Temp\msohtml1\01\clip_image036.jpg"></v:imagedata></v:shape><font face="Times New Roman" size="3">&nbsp;</font></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243310.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi 自动保存窗体状态的控件</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243307.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243307.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:15:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[Borland C++ Builder]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243307.aspx</guid>
		<description><![CDATA[自动保存窗体状态的控件]]></description>
			<content:encoded><![CDATA[<p>自动保存窗体状态的控件 <br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />作者：未知 　来源于：Delphi共和国 　发布时间：2006-1-15 22:44:53 <br />一些比较专业的软件都有自动保存窗口运行状态的功能，具体的方法都是在窗口关闭前将其状态保存到注册表中或ini文件中，而这些代码一般都是相同的，所以可以将其集中在一起，重复使用。本文将相应的代码用一个控件TPosition来实现，使用时只要将此控件放到相应的Form上即可，不需要增加任何代码，从而实现了&ldquo;零&rdquo;代码保存窗口运行状态。</p>
<p>　　下面是这个控件的主要实现文件Position.pas的内容，包括相应的注释。为了保持注册表的整洁，这里把信息保存到ini文件中。</p>
<p>　　unit Position;</p>
<p>　　interface</p>
<p>　　uses</p>
<p>　　Forms, Classes, SysUtils, Windows, IniFiles;</p>
<p>　　type</p>
<p>　　//TPosition是不可视控件，由TComponent继承</p>
<p>　　TPosition = class(TComponent)</p>
<p>　　private</p>
<p>　　//用此变量保存父窗口的OnDestroy事件</p>
<p>　　FOnDestroy: TNotifyEvent;</p>
<p>　　//用此函数替换父窗口的OnDestroy事件</p>
<p>　　procedure FormDestroy(Sender: TObject);</p>
<p>　　protected</p>
<p>　　//在控件加载时恢复父窗口状态</p>
<p>　　procedure Loaded; override;</p>
<p>　　end;</p>
<p>　　//恢复窗口位置函数</p>
<p>　　procedure ReadFormPos(Form:TForm);</p>
<p>　　//保存窗口位置函数</p>
<p>　　procedure SaveFormPos(Form:TForm);</p>
<p>　　//控件注册函数</p>
<p>　　procedure Register;</p>
<p>　　implementation</p>
<p>　　//连接此控件的图标</p>
<p>　　{＄R Position.Dcr}</p>
<p>　　//恢复窗口位置函数，窗口状态存放在ini文件中。</p>
<p>　　procedure ReadFormPos(Form : TForm);</p>
<p>　　var</p>
<p>　　RegFile : TIniFile;</p>
<p>　　SectName : string;</p>
<p>　　begin</p>
<p>　　//ini文件中存放Form信息的节名称</p>
<p>　　SectName := Form.Name ＋ &#8216; Position&#8217;;</p>
<p>　　//打开与可执行文件名相同的ini文件</p>
<p>　　RegFile := TIniFile.Create(</p>
<p>　　ChangeFileExt(Application.ExeName,&#8217;.ini&#8217;));</p>
<p>　　//恢复窗口状态</p>
<p>　　with Form do begin</p>
<p>　　Left := RegFile.ReadInteger(SectName,&#8217;Left&#8217;,Left);</p>
<p>　　Top := RegFile.ReadInteger(SectName,&#8217;Top&#8217;,Top);</p>
<p>　　Width := RegFile.ReadInteger(SectName,&#8217;Width&#8217;,Width);</p>
<p>　　Height := RegFile.ReadInteger(SectName,&#8217;Height&#8217;,Height);</p>
<p>　　WindowState := TWindowState(</p>
<p>　　RegFile.ReadInteger(SectName,&#8217;WindowState&#8217;,0));</p>
<p>　　end;</p>
<p>　　//关闭ini文件</p>
<p>　　RegFile.Free;</p>
<p>　　end;</p>
<p>　　//保存窗口位置函数</p>
<p>　　procedure SaveFormPos(Form:TForm);</p>
<p>　　var</p>
<p>　　RegFile : TIniFile;</p>
<p>　　SectName : string;</p>
<p>　　begin</p>
<p>　　SectName := Form.Name ＋ &#8216; Position&#8217;;</p>
<p>　　RegFile := TIniFile.Create(</p>
<p>　　ChangeFileExt(Application.ExeName,&#8217;.ini&#8217;));</p>
<p>　　with Form do begin</p>
<p>　　RegFile.WriteInteger(SectName,&#8217;WindowState&#8217;,</p>
<p>　　integer(WindowState));</p>
<p>　　//最大化时，不保存窗口位置</p>
<p>　　if WindowState &lt;&gt; wsMaximized then begin</p>
<p>　　RegFile.WriteInteger(SectName,&#8217;Left&#8217;,Left);</p>
<p>　　RegFile.WriteInteger(SectName,&#8217;Top&#8217;,Top);</p>
<p>　　RegFile.WriteInteger(SectName,&#8217;Width&#8217;,Width);</p>
<p>　　RegFile.WriteInteger(SectName,&#8217;Height&#8217;,Height);</p>
<p>　　end;</p>
<p>　　//当要保存状态的窗口是程序主窗口时，要特殊处理。因为主窗口收到最小化消息时，只是把此消息转至Application处理，本身并不最小化。所以我们要判断Application的状态。</p>
<p>　　if Form = Application.MainForm then begin</p>
<p>　　if IsIconic(Application.Handle) then begin</p>
<p>　　Reg File.Write Integer(Sect Name,&#8217;WindowState&#8217;,</p>
<p>　　Integer(wsMinimized));</p>
<p>　　end;</p>
<p>　　end;</p>
<p>　　end;</p>
<p>　　RegFile.Free;</p>
<p>　　end;</p>
<p>　　//注册控件</p>
<p>　　procedure Register;</p>
<p>　　begin</p>
<p>　　RegisterComponents(&#8216;XDCtls&#8217;, [TPosition]);</p>
<p>　　end;</p>
<p>　　//TPositon类的实现</p>
<p>　　//当主窗口Destroy时，调用此函数，此函数又调用保存的OnDestoy事件处理函数</p>
<p>　　procedure TPosition.FormDestroy(Sender: TObject);</p>
<p>　　begin</p>
<p>　　SaveFormPos(Owner as TForm);</p>
<p>　　if Assigned(FOnDestroy) then FOnDestroy(Sender);</p>
<p>　　end;</p>
<p>　　//控件加载时，恢复父窗口位置，并对父窗口的OnDestroy事件进行替换</p>
<p>　　procedure TPosition.Loaded;</p>
<p>　　begin</p>
<p>　　inherited Loaded;</p>
<p>　　//非设计状态才进行处理</p>
<p>　　if not (csDesigning in Componentstate) then begin</p>
<p>　　ReadFormPos(Owner as TForm);</p>
<p>　　FOnDestroy := (Owner as TForm).OnDestroy;</p>
<p>　　(Owner as TForm).OnDestroy := FormDestroy;</p>
<p>　　end;</p>
<p>　　end;</p>
<p>　　end.</p>
<p>　　完成此单元后，新建一个Package，将此单元包含在其中，编译、安装即可。资源文件Position.dcr，可自行创建合适的图标。使用时，只要将这个控件放到相应的Form即可。下面是我测试时的窗体代码，不用加任何语句就可以自动保存窗体状态。</p>
<p>　　unit Unit1;</p>
<p>　　interface</p>
<p>　　uses</p>
<p>　　Windows, Messages, SysUtils, Classes, Graphics,</p>
<p>　　Controls, Forms, Dialogs,Position;</p>
<p>　　type</p>
<p>　　TForm1 = class(TForm)</p>
<p>　　Position1: TPosition;</p>
<p>　　private</p>
<p>　　public</p>
<p>　　end;</p>
<p>　　var</p>
<p>　　Form1: TForm1;</p>
<p>　　implementation</p>
<p>　　{＄R ＊.DFM}</p>
<p>　　end.</p>
<p>　　此程序在PWIN97＋Delphi5.0下通过<br />&nbsp;<br />&nbsp;<br />&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243307.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE框架中访问不同域的网页不能带入COOKIE</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243303.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243303.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:14:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS Windows Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243303.aspx</guid>
		<description><![CDATA[IE框架中访问不同域的网页不能带入COOKIE]]></description>
			<content:encoded><![CDATA[<p>IE框架中访问不同域的网页不能带入COOKIE&mdash;&mdash;&mdash;&mdash;是IE浏览器的一个BUG？ <br />偶然中发现一个IE浏览器的问题：<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 站点aa.com的页面a.aspx中存在一个iframe，iframe的src为站点bb.com的b.aspx。b.aspx设置了一个COOKIE（不管临时保存还是长期保存），然后刷新aa.com/a.aspx，bb.com/b.aspx也会被刷新，这时候会发现第二次向bb.com/b.aspx的请求里面并没有带入第一次设置的COOKIE。<br />&nbsp;&nbsp;&nbsp;&nbsp; 更确切地说：IE浏览器丢掉了框架中不同域的COOKIE。</p>
<p>&nbsp;&nbsp;&nbsp; 查看浏览器的隐私选项，默认是&ldquo;中&rdquo;。现在把隐私的等级修改成&ldquo;低&rdquo;，再次做上面的测试，然后发现框架中的COOKIE可以被带入了。<br />&nbsp;&nbsp; 从这个现象来看，应该是IE出于安全考虑而做了限制。但是！！！处于不同的两个域的的页面，应该被看成打开了两个互不相关的浏览器窗口，大家各自设置自己的COOKIE，各自带入到下次请求中，只要互不影响，不应该受到限制。<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 恩，那么，为什么要限制呢？看来还是微软的程序员对自己浏览器的安全没什么信心，担心同一浏览器窗口不同域的情况下，黑客仍可能获取另一域的COOKIE，所以干脆把其中一个域的COOKIE干掉！！！人家FireFox为什么就没这种限制？</p>
<p>===========================================================================</p>
<p>问题根源:</p>
<p>IE6/IE7支持的P3P(Platform for Privacy Preferences Project (P3P) specification)协议默认阻止第三方无隐私安全声明的cookie，Firefox目前还不支持P3P安全特性，firefox中自然也不存在此问题了。Mircosoft对此的具体描述可以参见 Privacy in Internet Explorer 6</p>
<p>解决方法:</p>
<p>很简单，在要嵌入的内容中(iframe指向的站点)输出P3P的主机头声明，步骤如下(Session variables are lost if you use FRAMESET in Internet Explorer 6 [http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q323752])：</p>
<p>1.打开IIS管理器 inetmgr<br />2.选择被嵌入iframe源站点或者目录，右键点击打开属性框<br />3.切换到HTTP头<br />4.添加<br />5.自定义HTTP头名: P3P<br />6.自定义HTTP头值: CP=&quot;CAO PSA OUR&quot;<br />7.关闭属性框退出，即刻生效<br />至于上面CAO PSA OUR的具体意思，还是请参考前面的文章:Privacy in Internet Explorer 6[http://msdn2.microsoft.com/en-us/library/ms537343.aspx]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243303.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS SQL Agent 自动备份</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243302.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243302.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:12:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS SQL Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243302.aspx</guid>
		<description><![CDATA[MS SQL Agent 自动备份]]></description>
			<content:encoded><![CDATA[<p>BEGIN TRANSACTION<br />&nbsp; DECLARE @JobID BINARY(16)<br />&nbsp; DECLARE @ReturnCode INT<br />&nbsp; SELECT @ReturnCode = 0<br />IF (SELECT COUNT(*) FROM msdb.dbo.syscategories WHERE name = N&#8217;[Uncategorized (Local)]&#8216;) &lt; 1<br />&nbsp; EXECUTE msdb.dbo.sp_add_category @name = N&#8217;[Uncategorized (Local)]&#8216;</p>
<p>&nbsp; &#8212; Delete the job with the same name (if it exists)<br />&nbsp; SELECT @JobID = job_id<br />&nbsp; FROM&nbsp;&nbsp; msdb.dbo.sysjobs<br />&nbsp; WHERE (name = N&#8217;DB_Shokei backup &#8216;)<br />&nbsp; IF (@JobID IS NOT NULL)<br />&nbsp; BEGIN<br />&nbsp; &#8212; Check if the job is a multi-server job<br />&nbsp; IF (EXISTS (SELECT&nbsp; *<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM&nbsp;&nbsp;&nbsp; msdb.dbo.sysjobservers<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHERE&nbsp;&nbsp; (job_id = @JobID) AND (server_id &lt;&gt; 0)))<br />&nbsp; BEGIN<br />&nbsp;&nbsp;&nbsp; &#8212; There is, so abort the script<br />&nbsp;&nbsp;&nbsp; RAISERROR (N&#8217;Unable to import job &#8221;DB_Shokei&nbsp; backup&#8221; since there is already a multi-server job with this name.&#8217;, 16, 1)<br />&nbsp;&nbsp;&nbsp; GOTO QuitWithRollback<br />&nbsp; END<br />&nbsp; ELSE<br />&nbsp;&nbsp;&nbsp; &#8212; Delete the [local] job<br />&nbsp;&nbsp;&nbsp; EXECUTE msdb.dbo.sp_delete_job @job_name = N&#8217;DB_Shokei backup&#8217;<br />&nbsp;&nbsp;&nbsp; SELECT @JobID = NULL<br />&nbsp; END</p>
<p>BEGIN</p>
<p>&nbsp; &#8212; Add the job<br />&nbsp; EXECUTE @ReturnCode = msdb.dbo.sp_add_job @job_id = @JobID OUTPUT , @job_name = N&#8217;DB_Shokei backup&#8217;, @owner_login_name = N&#8217;sa&#8217;, @description = N&#8217;No description available.&#8217;,&nbsp; @category_name = N&#8217;[Uncategorized (Local)]&#8216;, @enabled = 1, @notify_level_email = 0, @notify_level_page = 0, @notify_level_netsend = 0, @notify_level_eventlog = 2, @delete_level= 0<br />&nbsp; IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback</p>
<p>&nbsp; &#8212; Add the job steps<br />&nbsp; EXECUTE @ReturnCode = msdb.dbo.sp_add_jobstep @job_id = @JobID, @step_id = 1, @step_name = N&#8217;Step 1&#8242;, @command = N&#8217;declare @bakname varchar(100)<br />declare @dbname varchar(100)<br />declare @sql varchar(8000)<br />set @bakname=&#8221;bkDB_Shokei_&#8221;+cast(getdate() as varchar(11))<br />&#8211;星期日到星期六对应备份文件是bak0到bak6<br />set @dbname=&#8221;DB_Shokei&#8221;<br />set @sql=&#8221;BACKUP DATABASE [''+@dbname+''] TO DISK=N&#8221;&#8221;C:\Program Files\Microsoft SQL Server\MSSQL\Backup\&#8221;+@bakname+&#8221;.bak&#8221;&#8221; WITH INIT,NOUNLOAD,NOSKIP,STATS=10,NOFORMAT&#8221;<br />exec(@sql)<br />&#8216;, @database_name = N&#8217;master&#8217;, @server = N&#8221;, @database_user_name = N&#8221;, @subsystem = N&#8217;TSQL&#8217;, @cmdexec_success_code = 0, @flags = 0, @retry_attempts = 0, @retry_interval = 0, @output_file_name = N&#8221;, @on_success_step_id = 0, @on_success_action = 1, @on_fail_step_id = 0, @on_fail_action = 2<br />&nbsp; IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback<br />&nbsp; EXECUTE @ReturnCode = msdb.dbo.sp_update_job @job_id = @JobID, @start_step_id = 1</p>
<p>&nbsp; IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback</p>
<p>&nbsp; &#8212; Add the job schedules<br />&nbsp; EXECUTE @ReturnCode = msdb.dbo.sp_add_jobschedule @job_id = @JobID, @name = N&#8217;Schedule 1&#8242;, @enabled = 1, @freq_type = 8, @active_start_date = 20070616, @active_start_time = 0, @freq_interval = 1, @freq_subday_type = 1, @freq_subday_interval = 0, @freq_relative_interval = 0, @freq_recurrence_factor = 1, @active_end_date = 99991231, @active_end_time = 235959<br />&nbsp; IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback</p>
<p>&nbsp; &#8212; Add the Target Servers<br />&nbsp; EXECUTE @ReturnCode = msdb.dbo.sp_add_jobserver @job_id = @JobID, @server_name = N&#8217;(local)&#8217;<br />&nbsp; IF (@@ERROR &lt;&gt; 0 OR @ReturnCode &lt;&gt; 0) GOTO QuitWithRollback</p>
<p>END<br />COMMIT TRANSACTION<br />GOTO&nbsp;&nbsp; EndSave<br />QuitWithRollback:<br />&nbsp; IF (@@TRANCOUNT &gt; 0) ROLLBACK TRANSACTION<br />EndSave:</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243302.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS SQL 日期格式转换</title>
		<link>http://blog.donews.com/oliverlee/archive/2008/01/04/1243301.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2008/01/04/1243301.aspx#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:11:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS SQL Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2008/01/04/1243301.aspx</guid>
		<description><![CDATA[MS SQL 日期格式转换]]></description>
			<content:encoded><![CDATA[<p>sql日期格式转换</p>
<p>2007-02-19 18:12在sql中，smalldatetime及datetime型的数据显示不是那么让人满意，因此我找了些格式化的方法列出来&quot;</p>
<p>convert(char(10),datetime,101)</p>
<p>在数据库取出来的时候就转换好<br />&nbsp;select getdate()<br />&nbsp;<br />&nbsp;2006-05-12 11:06:08.177<br />&nbsp;<br />&nbsp;我整理了一下SQL Server里面可能经常会用到的日期格式转换方法:<br />&nbsp;<br />&nbsp;举例如下:<br />&nbsp;select Convert(varchar(10),getdate(),120)</p>
<p>2006-05-12 <br />&nbsp;select CONVERT(varchar, getdate(), 120 )<br />&nbsp;2006-05-12&nbsp; 11:06:08</p>
<p>&nbsp;select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),&#8217;-',&#8221;),&#8217; &#8216;,&#8221;),&#8217;:',&#8221;)<br />&nbsp;20060512110608<br />&nbsp;<br />&nbsp;select CONVERT(varchar(12) , getdate(), 111 )<br />&nbsp;2006/05/12<br />&nbsp;<br />&nbsp;select CONVERT(varchar(12) , getdate(), 112 )<br />&nbsp;20060512</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 102 )<br />&nbsp;2006.05.12<br />&nbsp;<br />&nbsp;其它几种不常用的日期格式转换方法:</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 101 )<br />&nbsp;0612/2005 select CONVERT(varchar(12) , getdate(), 103 )<br />&nbsp;12/09/2004</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 104 )<br />&nbsp;12.05.2006</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 105 )<br />&nbsp;12-05-2006</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 106 )<br />&nbsp;12 05 2006</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 107 )<br />&nbsp;05 12, 2006</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 108 )<br />&nbsp;11:06:08<br />&nbsp;<br />&nbsp;select CONVERT(varchar(12) , getdate(), 109 )<br />&nbsp;0512 2006 1</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 110 )<br />&nbsp;09-12-2004</p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 113 )<br />&nbsp;12 052006 </p>
<p>&nbsp;select CONVERT(varchar(12) , getdate(), 114 )<br />&nbsp;11:06:08.177</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2008/01/04/1243301.aspx/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>在查询分析器窗口中直接更改SA密码</title>
		<link>http://blog.donews.com/oliverlee/archive/2006/11/21/1082985.aspx</link>
		<comments>http://blog.donews.com/oliverlee/archive/2006/11/21/1082985.aspx#comments</comments>
		<pubDate>Tue, 21 Nov 2006 14:14:00 +0000</pubDate>
		<dc:creator>LEE</dc:creator>
				<category><![CDATA[MS SQL Server]]></category>

		<guid isPermaLink="false">http://blog.donews.com/oliverlee/archive/2006/11/21/1082985.aspx</guid>
		<description><![CDATA[sp_password Null,'ok\',\'sa\' 
运行后sa的密码变为"ok" ]]></description>
			<content:encoded><![CDATA[<p><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SQL Server</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">，</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"><br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">选择</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;Windows</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">身份验证</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">进入</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">不需要输入密码</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">只要你是本机的系统管理员或者域管理员</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">此时自动成为</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SQL Server</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">的管理员</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">; <br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">在查询分析器窗口中输入下面的语句直接更改</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SA</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">密码</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">: <br />sp_password Null,&#8217;ok\&#8217;,\&#8217;sa\&#8217; <br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">运行后</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">sa</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">的密码变为</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;ok&quot; </p>
<p>sp_password</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">存储过程的功能是更改</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SQL Server</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">登录的密码</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">; <br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">语法格式</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">: <br />sp_password [ [ @old = ] \&#8217;old_password\&#8217; , ] <br />{ [ @new =] \&#8217;new_password\&#8217; } <br />[ , [ @loginame = ] \&#8217;login\&#8217; ] <br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">参数说明</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"> <br />[@old =] \&#8217;old_password\&#8217; : </span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">旧密码</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">; <br />[@new =] \&#8217;new_password\&#8217; : </span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">要指定的新密码</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"> <br />[@loginame =] \&#8217;login\&#8217; : </span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">要指定的用户</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"> <br /></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">返回值</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">: 0</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">（成功）或</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"> 1</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">（失败）</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体"> </p>
<p></span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">以上方法的关键原理在于</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">从</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">查询分析器</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">中以</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;Windows</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">身份验证</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">&quot;</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">连接</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SQL Server,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">只要你是本机的系统管理员或者域管理员</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">,</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">此时自动成为</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">SQL Server</span><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: tahoma; mso-hansi-font-family: tahoma; mso-bidi-font-family: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa">的管理员</span><span lang="EN-US" style="FONT-SIZE: 10.5pt; FONT-FAMILY: tahoma; mso-ansi-language: en-us; mso-fareast-language: zh-cn; mso-bidi-language: ar-sa; mso-fareast-font-family: 宋体">. </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.donews.com/oliverlee/archive/2006/11/21/1082985.aspx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

