<?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>Good ITea :: MS Tech Share &#187; .NET程式設計</title>
	<atom:link href="http://blog.lansea-chu.com/index.php/archives/category/teach/netprogram/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lansea-chu.com</link>
	<description>Good Idea from Good ITea</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:51:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[.NET]Silverlight 與 ASP.NET 互相傳值的溝通方式</title>
		<link>http://blog.lansea-chu.com/index.php/archives/640</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/640#comments</comments>
		<pubDate>Fri, 28 May 2010 14:23:04 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[silverlgiht]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=640</guid>
		<description><![CDATA[因為北商的學妹問我這個問題，
所以我做了個簡單的範例
這個範例採用了 QueryString 的方式來交互傳值，
這是最簡單的asp.net 與 silverlight 溝通方式，
當然，這是在 值 不重要，給使用者看到沒關係且可自由更改的情況之下才能用此方式
若值攸關隱密性，則必須使用Session傳值，若要使用Session傳值，
則必須使用WCF的方式來處理，然後在WCF驗證 值 的真偽
這樣才能安全處理值的交換，
(這是因為Silverlight是run在Client,而Session是儲存在Server端的關係)
這個範例可以在下面這個連結進行下載，
本範例使用VS2010 + Silverlight 製成。

若以上檔案連結無法看到 請點擊我進行檔案下載 
]]></description>
			<content:encoded><![CDATA[<p>因為北商的學妹問我這個問題，</p>
<p>所以我做了個簡單的範例</p>
<p>這個範例採用了 QueryString 的方式來交互傳值，</p>
<p>這是最簡單的asp.net 與 silverlight 溝通方式，</p>
<p>當然，這是在 值 不重要，給使用者看到沒關係且可自由更改的情況之下才能用此方式</p>
<p>若值攸關隱密性，則必須使用Session傳值，若要使用Session傳值，</p>
<p>則必須使用WCF的方式來處理，然後在WCF驗證 值 的真偽<br />
這樣才能安全處理值的交換，<br />
(這是因為Silverlight是run在Client,而Session是儲存在Server端的關係)</p>
<p>這個範例可以在下面這個連結進行下載，</p>
<p>本範例使用VS2010 + Silverlight 製成。</p>
<p><iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-5a40dd78df47f561.skydrive.live.com/embedicon.aspx/%e9%83%a8%e8%90%bd%e6%a0%bc%e5%88%86%e4%ba%ab%e6%aa%94%e6%a1%88/sample.rar"></iframe></p>
<p>若以上檔案連結無法看到 <a href="http://cid-5a40dd78df47f561.skydrive.live.com/self.aspx/%e9%83%a8%e8%90%bd%e6%a0%bc%e5%88%86%e4%ba%ab%e6%aa%94%e6%a1%88/sample.rar">請點擊我進行檔案下載</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/640/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[.NET]強制移除VS2008與所有2008版本的相關項目</title>
		<link>http://blog.lansea-chu.com/index.php/archives/637</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/637#comments</comments>
		<pubDate>Tue, 25 May 2010 06:53:40 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=637</guid>
		<description><![CDATA[這幾天要移除掉VS2008改安裝為VS2010
發現VS2008移除不掉
一直產生 載入安裝元件發生錯誤 無法移除 的錯誤,
上網找到了微軟有提供這個移除用的程式
除了可以強制移除VS2008外，還可以順便移除掉VS2008殘留下來沒用的程式
不用一個一個手動移除了
程式可以在這兒下載　http://go.microsoft.com/fwlink/?LinkId=105801
]]></description>
			<content:encoded><![CDATA[<p>這幾天要移除掉VS2008改安裝為VS2010</p>
<p>發現VS2008移除不掉</p>
<p>一直產生 <strong>載入安裝元件發生錯誤 無法移除</strong> 的錯誤,</p>
<p>上網找到了微軟有提供這個移除用的程式</p>
<p>除了可以強制移除VS2008外，還可以順便移除掉VS2008殘留下來沒用的程式</p>
<p>不用一個一個手動移除了</p>
<p>程式可以在這兒下載　<a title="http://go.microsoft.com/fwlink/?LinkId=105801" href="http://go.microsoft.com/fwlink/?LinkId=105801">http://go.microsoft.com/fwlink/?LinkId=105801</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/637/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ASP.NET]讓Label不出現Span標籤</title>
		<link>http://blog.lansea-chu.com/index.php/archives/448</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/448#comments</comments>
		<pubDate>Wed, 22 Jul 2009 09:31:37 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=448</guid>
		<description><![CDATA[相信大家會使用Label來做html填入的動作
但是label標籤在載入的時候會自動加上span標籤
在有些CSS構成的上面,這會導致js無法順利判別標籤
導致無法順利產生要的效果
分享一個小技巧可以解決label被改為span的這個問題
使用
&#60;asp:Literal ID=』id1&#8243; runat=』server』 Text=』"&#62;&#60;/asp:Literal&#62;
來替代原本的label控制項.
span的標籤就不會出現了喔!
]]></description>
			<content:encoded><![CDATA[<p>相信大家會使用Label來做html填入的動作</p>
<p>但是label標籤在載入的時候會自動加上span標籤</p>
<p>在有些CSS構成的上面,這會導致js無法順利判別標籤</p>
<p>導致無法順利產生要的效果</p>
<p>分享一個小技巧可以解決label被改為span的這個問題</p>
<p>使用</p>
<p><span style="color: #ff0000;">&lt;asp:Literal ID=』id1&#8243; runat=』server』 Text=』"&gt;&lt;/asp:Literal&gt;</span></p>
<p>來替代原本的label控制項.</p>
<p>span的標籤就不會出現了喔!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/448/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ASP.NET]Google Map API 取得經緯度</title>
		<link>http://blog.lansea-chu.com/index.php/archives/353</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/353#comments</comments>
		<pubDate>Tue, 19 May 2009 10:55:16 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=353</guid>
		<description><![CDATA[ 
分享一下程式碼
剛好用到這部份:-)    

這函數會回傳一個字串陣列
其中第二個元素就是經 第三個就是緯 丟到Googe MAP API後就可以運作了
 
  Function getxy() As String()       
         Dim address As String = 『你的地址』
        Dim apikey = 『你的API Key』
        Dim url = 『http://maps.google.com/maps/geo?q=』 &#38; address &#38; 『&#38;output=csv&#38;key=』 &#38; apikey
        Dim myrequest As System.Net.HttpWebRequest = System.Net.WebRequest.Create(url)
        Dim mywebresponse As System.Net.WebResponse = myrequest.GetResponse()
   [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>分享一下程式碼</p>
<p>剛好用到這部份:-)    </p>
<p><span id="more-353"></span></p>
<p>這函數會回傳一個<strong>字串陣列</strong></p>
<p>其中<strong>第二個元素就是經</strong> <strong>第三個就是緯</strong> 丟到Googe MAP API後就可以運作了</p>
<p> </p>
<p>  <span style="color: #0000ff;">Function getxy() As String()       </span></p>
<p>     <span style="color: #0000ff;"> </span><span style="color: #0000ff;">   Dim address As String = 『你的地址』</span></p>
<p><span style="color: #0000ff;">        Dim apikey = 『你的API Key』</span></p>
<p><span style="color: #0000ff;">        Dim url = 『http://maps.google.com/maps/geo?q=』 &amp; address &amp; 『&amp;output=csv&amp;key=』 &amp; apikey</span></p>
<p><span style="color: #0000ff;">        Dim myrequest As System.Net.HttpWebRequest = System.Net.WebRequest.Create(url)</span></p>
<p><span style="color: #0000ff;">        Dim mywebresponse As System.Net.WebResponse = myrequest.GetResponse()</span></p>
<p><span style="color: #0000ff;">        Dim mystream As IO.Stream = mywebresponse.GetResponseStream()</span></p>
<p><span style="color: #0000ff;">        Dim sr As IO.StreamReader = New IO.StreamReader(mystream, Encoding.Default)</span></p>
<p><span style="color: #0000ff;">        Return Split(sr.ReadToEnd, 『,』)</span></p>
<p><span style="color: #0000ff;">  End Function</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/353/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[.NET]QRcode API接口(By Google Chart)</title>
		<link>http://blog.lansea-chu.com/index.php/archives/349</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/349#comments</comments>
		<pubDate>Thu, 14 May 2009 12:25:32 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[qr]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=349</guid>
		<description><![CDATA[專案上有使用到，之前是使用 qrdoor.com 的API服務
但在前天的時候突然發現整個大小都被固定住了
查了一下才發現qrdoor.com 的API已經開始收費(免費版會有限制)

因為qrdoor.com的月租費居然要高達一萬六!
不爽花錢的情況下就換了一個API接口。
改換到Google Chart上。
分享一下Google QRcode 的API接口
API URL: http://chart.apis.google.com/chart?cht=qr
參數說明:
chs=大小 ex. 100&#215;100
chl=內含資訊 ex. URL路徑(http://xxx.xxx.com)
 
請依照實際使用需求呼叫使用即可。
目前測試正常使用，且比QRDoor.com的更加好用!
]]></description>
			<content:encoded><![CDATA[<p>專案上有使用到，之前是使用 <a href="http://qrdoor.com" target="_blank">qrdoor.com</a> 的API服務</p>
<p>但在前天的時候突然發現整個大小都被固定住了</p>
<p>查了一下才發現<strong>qrdoor.com 的API已經開始收費</strong><span style="color: #ff0000;">(免費版會有限制)</span></p>
<p><span id="more-349"></span></p>
<p>因為qrdoor.com的月租費居然要高達<strong><span style="color: #ff0000;">一萬六</span></strong>!</p>
<p><span style="text-decoration: underline;">不爽花錢</span>的情況下就換了一個API接口。</p>
<p>改換到Google Chart上。</p>
<p>分享一下Google QRcode 的API接口</p>
<p>API URL: http://chart.apis.google.com/chart?cht=qr</p>
<p>參數說明:</p>
<p>chs=大小 ex. 100&#215;100</p>
<p>chl=內含資訊 ex. URL路徑(http://xxx.xxx.com)</p>
<p> </p>
<p>請依照實際使用需求呼叫使用即可。</p>
<p>目前測試正常使用，且比QRDoor.com的更加好用!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/349/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[ASP.NET]上傳圖片後進行等比例縮圖(Zoom)</title>
		<link>http://blog.lansea-chu.com/index.php/archives/330</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/330#comments</comments>
		<pubDate>Wed, 06 May 2009 11:51:57 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=330</guid>
		<description><![CDATA[一樣,最近作專案有用到
用途是於上傳圖片的同時進行縮圖處理
如此日後可以減少圖片下載時所需的頻寬(因為圖檔被縮小了)
也可以強制圖片必須為長寬多少內~(若使用者本身不懂縮圖,這個函數會自動幫忙處理)
 
分享一下原始碼跟方法

&#8216;原始碼開始
 
  &#8217;縮圖


    Sub imgresize(ByVal width As Integer, ByVal height As Integer, ByVal saveurl As String, ByVal filebytes As Byte(), ByVal filelength As Integer)


        Dim ms As MemoryStream = New MemoryStream
        ms.Write(filebytes, 0, filelength)
        ms.Flush()
        Dim img1 As System.Drawing.Image = System.Drawing.Image.FromStream(ms)
        If img1.Height &#62; height Or img1.Width [...]]]></description>
			<content:encoded><![CDATA[<p>一樣,最近作專案有用到</p>
<p>用途是於上傳圖片的同時進行縮圖處理</p>
<p>如此日後可以減少圖片下載時所需的頻寬(因為圖檔被縮小了)</p>
<p>也可以強制圖片必須為長寬多少內~(若使用者本身不懂縮圖,這個函數會自動幫忙處理)</p>
<p> </p>
<p>分享一下原始碼跟方法</p>
<p><span id="more-330"></span></p>
<p>&#8216;原始碼開始</p>
<p> </p>
<p><span style="color: #339966;"> </span><span style="color: #339966;"><strong> &#8217;縮圖</strong></span></p>
<p><strong><br />
</strong></p>
<p><strong>    Sub imgresize(ByVal width As Integer, ByVal height As Integer, ByVal saveurl As String, ByVal filebytes As Byte(), ByVal filelength As Integer)</strong></p>
<p><strong><br />
</strong></p>
<p><strong>        Dim ms As MemoryStream = New MemoryStream</strong></p>
<p><strong>        ms.Write(filebytes, 0, filelength)</strong></p>
<p><strong>        ms.Flush()</strong></p>
<p><strong>        Dim img1 As System.Drawing.Image = System.Drawing.Image.FromStream(ms)</strong></p>
<p><strong>        If img1.Height &gt; height Or img1.Width &gt; width Then</strong></p>
<p><strong>   </strong><span style="color: #339966;"><strong>         &#8217;是否有超高or寬</strong></span></p>
<p><strong>            Dim newimg As System.Drawing.Image</strong></p>
<p><strong>            Dim thumbnailScale As Integer() = getThumbnailImageScale(width, height, img1.Width, img1.Height)</strong></p>
<p><strong>      </strong><span style="color: #339966;"><strong>      &#8217;算出原圖長寬比</strong></span></p>
<p><strong>            newimg = img1.GetThumbnailImage(thumbnailScale(0), thumbnailScale(1), Nothing, IntPtr.Zero)</strong></p>
<p><strong>       </strong><span style="color: #339966;"><strong>     &#8217;釋放資源</strong></span></p>
<p><strong>            newimg.Save(saveurl)</strong></p>
<p><strong>            newimg.Dispose()</strong></p>
<p><strong>            img1.Dispose()</strong></p>
<p><strong>            ms.Close()</strong></p>
<p><strong>        End If</strong></p>
<p><strong><br />
</strong></p>
<p><strong>    End Sub</strong></p>
<p><strong><br />
</strong></p>
<p><strong>    Function getThumbnailImageScale(ByVal maxWidth As Integer, ByVal maxHeight As Integer, ByVal oldWidth As Integer, ByVal oldHeight As Integer) As Integer()</strong></p>
<p><strong>        Dim result() As Integer = New Integer() {0, 0}</strong></p>
<p><strong>        Dim widthDividend As Single, heightDividend As Single, commonDividend As Single</strong></p>
<p><strong>        widthDividend = oldWidth / maxWidth</strong></p>
<p><strong>        heightDividend = oldHeight / maxHeight</strong></p>
<p><strong>        If (heightDividend &gt; widthDividend) Then</strong></p>
<p><strong>            commonDividend = heightDividend</strong></p>
<p><strong>        Else</strong></p>
<p><strong>            commonDividend = widthDividend</strong></p>
<p><strong>        End If</strong></p>
<p><strong>        result(0) = CType((oldWidth / commonDividend), Integer)</strong></p>
<p><strong>        result(1) = CType((oldHeight / commonDividend), Integer)</strong></p>
<p><strong>        Return result</strong></p>
<p><strong>    End Function</strong></p>
<p> </p>
<p>&#8216;原始碼結束</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/330/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>[ASP.NET]DIV的父容器自動高度不會被撐高的解決辦法</title>
		<link>http://blog.lansea-chu.com/index.php/archives/274</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/274#comments</comments>
		<pubDate>Wed, 01 Apr 2009 07:15:55 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=274</guid>
		<description><![CDATA[剛好寫案子遇到這個問題
#main {
height:100%;
overflow:hidden;
}
解決代碼如上。
如此div父容器即可隨著內容器變動高度
]]></description>
			<content:encoded><![CDATA[<p>剛好寫案子遇到這個問題</p>
<p>#main {<br />
height:100%;<br />
overflow:hidden;<br />
}</p>
<p>解決代碼如上。</p>
<p>如此div父容器即可隨著內容器變動高度</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/274/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[資訊動態]Office2003開啟.docx, .xlsx, .pptx</title>
		<link>http://blog.lansea-chu.com/index.php/archives/270</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/270#comments</comments>
		<pubDate>Tue, 17 Mar 2009 17:56:56 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[資訊動態]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=270</guid>
		<description><![CDATA[請您參考Office 2007 使用新的檔案格式，副檔名為 .docx, .xlsx, .pptx。許多使用者不了解微軟為何要推出新格式，誤以為一定要有 Office 2007才能開啟這些新的檔案格式。

請您參考以下的方式以便開啟檔案：
* Office 2003 之前版本，只要安裝【Microsoft Office Word、Excel 及 PowerPoint 2007 檔案格式相容性套件】，即可開啟、編輯與儲存 Office 2007 檔案。
* Office 2007 的副檔名多了一個x，是因為其走向開放格式，採用 Open XML 規範，也就是以 XML為基礎的開放檔案格式。
* Office 2007 的 .docx, .xlsx, .pptx，都是以XML格式儲存，再以 ZIP 方式壓縮檔案，大幅降低所需的儲存空間。模組化設計，部份元件受損，檔案仍可開啟。
* Open XML 已經是國際認證開放標準，是 ISO 29500 (ISO, International Organization for Standardization, 國際標準組織) 與 ECMA-376 標準 (Ecma International &#8211; European association for [...]]]></description>
			<content:encoded><![CDATA[<p>請您參考Office 2007 使用新的檔案格式，副檔名為 .docx, .xlsx, .pptx。許多使用者不了解微軟為何要推出新格式，誤以為一定要有 Office 2007才能開啟這些新的檔案格式。</p>
<p><span id="more-270"></span><br />
請您參考以下的方式以便開啟檔案：</p>
<p>* Office 2003 之前版本，只要安裝【<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&amp;displaylang=zh-tw" target="_blank">Microsoft Office Word、Excel 及 PowerPoint 2007 檔案格式相容性套件</a>】，即可開啟、編輯與儲存 Office 2007 檔案。<br />
* Office 2007 的副檔名多了一個x，是因為其走向開放格式，採用 Open XML 規範，也就是以 XML為基礎的開放檔案格式。<br />
* Office 2007 的 .docx, .xlsx, .pptx，都是以XML格式儲存，再以 ZIP 方式壓縮檔案，大幅降低所需的儲存空間。模組化設計，部份元件受損，檔案仍可開啟。<br />
* Open XML 已經是國際認證開放標準，是 ISO 29500 (ISO, International Organization for Standardization, 國際標準組織) 與 ECMA-376 標準 (Ecma International &#8211; European association for standardizing information and communication systems, 歐洲標準資訊與通訊系統協會)。<br />
* Open XML 是平台獨立且可與其他文件格式並存的檔案格式。可支援長期的檔案保存、維護與存取。其設計是可與現存的文件相容。</p>
<p>Office 2007 uses new file format with extension name as .docx, .xlsx, .pptx, many users do not understand why Microsoft update the new format, and thought that only Office 2007 can open and edit those file format.  Please see below.</p>
<p>Get the facts: About Office 2007 File Format</p>
<p>* By installing “Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats”, Office 2000-2003 can open, edit, and save documents, workbooks, and presentations in the new file formats of Office 2007.<br />
* .docx, .xlsx, .pptx is XML-based file format with compression of ZIP technology.<br />
* Open XML already is an international open standard.  It’s certified by ISO (as ISO 29500) and ECMA (as ECMA-376)<br />
* Open XML is platform independent and easily coexists with other document file formats, including Open Document Format (ODF).<br />
* Open XML has important features supporting long-term document retention, preservation, and accessibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/270/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[.NET]影片檔案的的MIME格式</title>
		<link>http://blog.lansea-chu.com/index.php/archives/222</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/222#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:39:15 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=222</guid>
		<description><![CDATA[最近某個案子有用到
分享一下影片檔案的MIME格式



File extension
MIME type


.asf
video/x-ms-asf


.asx
video/x-ms-asf


.wma
audio/x-ms-wma


.wax
audio/x-ms-wax


.wmv
audio/x-ms-wmv


.wvx
video/x-ms-wvx


.wm
video/x-ms-wm


.wmx
video/x-ms-wmx


.wmz
application/x-ms-wmz


.wmd
application/x-ms-wmd



]]></description>
			<content:encoded><![CDATA[<p>最近某個案子有用到</p>
<p>分享一下影片檔案的MIME格式</p>
<table class="table" border="0" cellspacing="1">
<tbody>
<tr>
<th>File extension</th>
<th>MIME type</th>
</tr>
<tr>
<td>.asf</td>
<td>video/x-ms-asf</td>
</tr>
<tr>
<td>.asx</td>
<td>video/x-ms-asf</td>
</tr>
<tr>
<td>.wma</td>
<td>audio/x-ms-wma</td>
</tr>
<tr>
<td>.wax</td>
<td>audio/x-ms-wax</td>
</tr>
<tr>
<td>.wmv</td>
<td>audio/x-ms-wmv</td>
</tr>
<tr>
<td>.wvx</td>
<td>video/x-ms-wvx</td>
</tr>
<tr>
<td>.wm</td>
<td>video/x-ms-wm</td>
</tr>
<tr>
<td>.wmx</td>
<td>video/x-ms-wmx</td>
</tr>
<tr>
<td>.wmz</td>
<td>application/x-ms-wmz</td>
</tr>
<tr>
<td>.wmd</td>
<td>application/x-ms-wmd</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/222/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[ASP.NET]Crystal Report 上傳到其它主機後無法執行</title>
		<link>http://blog.lansea-chu.com/index.php/archives/206</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/206#comments</comments>
		<pubDate>Fri, 23 Jan 2009 09:31:57 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[crystal]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[主機]]></category>
		<category><![CDATA[無法]]></category>
		<category><![CDATA[載入]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=206</guid>
		<description><![CDATA[這是因為該主機上沒有裝Crystal Report.NET的可轉散發套件，
就是俗稱的runtime啦:)

那麼，該怎麼裝呢。
首先您必須在該設計的電腦上找到
C:\Program Files\Microsoft Visual Studio 9.0\Crystal Reports\
(以VS2008為例，若為2005，則為8.0)
這個資料夾，接著會看到CRRedist目錄，
裡面就會有您的設計機的處理器類型的可轉散發套件了
若要執行的主機是64位元的，則要想辦法從64位元的VS中拿出這個套件唷。
在這裡本人提供64位元的2008版本下載。
PS. Crystal Report.NET與 CrystalReport 的授權方式有些不同。
在這僅是讀取元件的部分，因此這個可轉散發套件
就如同Flash Player，是可以轉散發的！
請點擊以下下載點從Skydrive取得檔案

]]></description>
			<content:encoded><![CDATA[<p>這是因為該主機上沒有裝Crystal Report.NET的可轉散發套件，</p>
<p>就是俗稱的runtime啦:)<br />
<span id="more-206"></span></p>
<p>那麼，該怎麼裝呢。</p>
<p>首先您必須在該設計的電腦上找到<br />
<strong>C:\Program Files\Microsoft Visual Studio 9.0\Crystal Reports\</strong><br />
(以VS2008為例，若為2005，則為8.0)<br />
這個資料夾，接著會看到CRRedist目錄，<br />
裡面就會有您的設計機的處理器類型的可轉散發套件了</p>
<p>若要執行的主機是64位元的，則要想辦法從64位元的VS中拿出這個套件唷。</p>
<p>在這裡本人提供64位元的2008版本下載。<br />
PS. Crystal Report.NET與 CrystalReport 的授權方式有些不同。<br />
在這僅是讀取元件的部分，因此這個可轉散發套件<br />
就如同Flash Player，是可以轉散發的！</p>
<p>請點擊以下下載點從Skydrive取得檔案</p>
<p><iframe scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:240px;height:66px;margin:3px;padding:0;border:1px solid #dde5e9;background-color:#ffffff;" src="http://cid-5a40dd78df47f561.skydrive.live.com/embedrowdetail.aspx/%e9%83%a8%e8%90%bd%e6%a0%bc%e5%88%86%e4%ba%ab%e6%aa%94%e6%a1%88/IA64.zip"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/206/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
