<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;DEcBQHo6cSp7ImA9WhNaEU8.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088</id><updated>2013-01-25T23:00:51.419+08:00</updated><category term='生活'/><category term='網路'/><category term='Android'/><category term='資料庫 Oracle'/><category term='ASP.NET'/><title>取之於網路、用之於網路</title><subtitle type='html'>回饋給 android 開發者的部落格。
總是在網路上找尋解答的我，這是我唯一能答謝的方法。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;CkcMRng8cSp7ImA9WhNRE0w.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-143673559160293885</id><published>2012-11-08T01:41:00.000+08:00</published><updated>2012-11-08T01:41:27.679+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-11-08T01:41:27.679+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title>使用 facebook chat API on android</title><content type='html'>步驟很多，簡短的概述一下，詳細的內容、每個步驟的理由和 Source 之後會再整理出來，若是有問題也可以直接 Email 聯絡 ^^&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;申請個 facebook app&lt;/li&gt;
&lt;li&gt;使用 Facebook SDK 完成 SSO Single Sign On，並要求&amp;nbsp;&lt;span style="color: red;"&gt;xmpp_login&lt;/span&gt; 權限，&lt;br /&gt;到這你應該可以取得使用者的 access token。&lt;/li&gt;
&lt;li&gt;使用 asmack library 登入 facebook 的 XMPP 伺服器。&lt;br /&gt;這裡需要客制兩個地方，第一，寫一個 Facebook 專用的&amp;nbsp;SASLMechanism，實作方法依照 Facebook Developer 中的&lt;a href="http://developers.facebook.com/docs/chat/" target="_blank"&gt;這一頁&lt;/a&gt;，在最下面有一個 PHP 的範例。&lt;br /&gt;&lt;br /&gt;修改&amp;nbsp;ConnectionConfiguration 讓它可以載入 facebook 網站的 SSL 憑證。依照&lt;a href="http://blog.antoine.li/2010/10/22/android-trusting-ssl-certificates/" target="_blank"&gt;這個網站&lt;/a&gt;的說明可以把 facebook 的憑證製作成 bks 格式的 keystore，以便在 Android 中載入。&lt;/li&gt;
&lt;li&gt;透過 ChatManager 進行聊天時&lt;br /&gt;對象的 JID 格式為 "-" + "&amp;lt;FB ID&amp;gt;" + "@chat.facebook.com"，&lt;br /&gt;第一個你沒看錯，就是負號，FB ID 則是一組數字，可以從&amp;nbsp;RosterEntry 物件中找到，你要去 Graph API Explore 找也是可以。&lt;/li&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/143673559160293885/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2012/11/facebook-chat-api-on-android.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/143673559160293885?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/143673559160293885?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2012/11/facebook-chat-api-on-android.html' title='使用 facebook chat API on android'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0YHRn84cCp7ImA9WhNSEEQ.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-7290006594188141947</id><published>2012-10-25T01:18:00.004+08:00</published><updated>2012-10-25T01:18:57.138+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-10-25T01:18:57.138+08:00</app:edited><title>Secure credit card info stored on device</title><content type='html'>我提出的方法放在&amp;nbsp;&lt;a href="http://stackoverflow.com/questions/13047475/is-it-secure-that-store-creadit-card-info-on-android/13050772#comment17721830_13050772" target="_blank"&gt;stackoverflow&lt;/a&gt;&amp;nbsp;上討論過，而且看起來沒有人反對，所以就決定放到 Blogger 上來分享，另一方面也是想獲得更多的回饋，希望看過的人能多給我建議囉。&lt;br /&gt;
&lt;br /&gt;
我的方法如下：&lt;br /&gt;
&lt;br /&gt;
在使用者第一次用信用卡付費時，使用者必須重新輸入登入密碼以及完整的信用卡資訊。&lt;br /&gt;
(在這個的專案裡頭，只有處於登入狀態的使用者才可以購物)&lt;br /&gt;
&lt;br /&gt;
在成功付款後，我會產生一個金鑰並包裝成 keystore 檔案，最後儲存在 Internal Storage，這個 keystore 檔案是以使用者的登入密碼鎖住的。另一方面，信用卡資訊也會用這個金鑰加密，並轉換成 Base64 Encoded 字串，最後寫入到&amp;nbsp;Internal Storage 裡的一個檔案。&lt;br /&gt;
&lt;br /&gt;
下一次要用信用卡付款時，使用者仍然需要重新輸入登入密碼，我可以用它來解鎖 keystore 檔案並取出金鑰，這個時候，我就有辦法解密使用者個信用卡資訊。&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://developer.android.com/guide/practices/security.html#Data" target="_blank"&gt;Android Developer 的文章有提到&lt;/a&gt;，Internal Storage 中的檔案只能被自己的應用程式所存取，所以即使手機遺失了，keystore 檔案也無法被取出並進行暴力破解。反而要注意的是資料輸入過程被監聽的可能性。&lt;br /&gt;
&lt;br /&gt;
以下是破破英文版，服務國外的捧油啦：&lt;br /&gt;
&lt;br /&gt;
My approach &amp;nbsp;was&amp;nbsp;recently&amp;nbsp;discussed on &lt;a href="http://stackoverflow.com/questions/13047475/is-it-secure-that-store-creadit-card-info-on-android/13050772#comment17721830_13050772" target="_blank"&gt;stackoverflow&lt;/a&gt; and seems no one&amp;nbsp;discourage&amp;nbsp;it.&lt;br /&gt;
so, i decide to share this on blogger and get more feedback.&lt;br /&gt;
&lt;br /&gt;
Here is the step：&lt;br /&gt;
&lt;br /&gt;
At first time user wants to pay by credit card, he must reenter his login password and full credit card info.&lt;br /&gt;
(In this project, shopping can only be take action while user is in logged-in status)&lt;br /&gt;
&lt;br /&gt;After success paid, I generate a random key, pack it as a keystore, finally store keystore file at internal storage, this keystore file is locked by user's login password. on the other hand, credit card info will be encrypted by this key and turn into a Base64 encoded string, finally write into a file in internal storage.&lt;div&gt;
&lt;br /&gt;At next time pay by credit card, user also must reenter his login password, so I can use it to unlock the keystore file and extract key. at this point, I have ability to decrypt user's credit card info.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href="http://developer.android.com/guide/practices/security.html#Data" target="_blank"&gt;android developer site&amp;nbsp;says&lt;/a&gt; that if I put my keystore file at internal storage, the file would be only access by my application. it is sufficient to&amp;nbsp;prevent&amp;nbsp;keystore from being brute-force attack when your device get lost.&lt;div&gt;
the possibility that be monitor&amp;nbsp;during&amp;nbsp;user key-in&amp;nbsp;it's password is more important part should be aware.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/7290006594188141947/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2012/10/secure-credit-card-info-stored-on-device.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/7290006594188141947?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/7290006594188141947?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2012/10/secure-credit-card-info-stored-on-device.html' title='Secure credit card info stored on device'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEUDSHw5fSp7ImA9WhJUGUU.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-5288895760386543262</id><published>2012-09-19T00:31:00.001+08:00</published><updated>2012-09-19T00:37:59.225+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-09-19T00:37:59.225+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title>Android Library Project Usage</title><content type='html'>&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Android Library 用途：&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;當你有一些自製的 Component 或是工具類別想在好幾的 Android 專案中共用時，&lt;br class="kix-line-break" /&gt;請愛用 Library Project 的功能。&lt;br class="kix-line-break" /&gt;除了寫 code 時工具可以自動參考到 Library Project，&lt;br class="kix-line-break" /&gt;把應用程式專案匯出成 apk 檔案時，Android Library 的內容也會自動被包進 apk 裡頭。&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;(別再傻傻的 export &amp;gt; jar &amp;gt; 選擇目的地 &amp;gt; xxx/libs &amp;gt; ...)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;超簡單設定步驟：&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Library Project 設定：&lt;br class="kix-line-break" /&gt;&amp;nbsp;&lt;/span&gt;&lt;img height="322px;" src="https://lh4.googleusercontent.com/lV5qHhERaKd6Fuhs7YHUH3hJhulNBsftUzl1uAYWj6hRr-obrDxsQkfamDz_5LFKbWZcWaBl1QxNHyabocLJm-uOhFjHD_RajYmbVMVH6SFgL4wfFow" width="376px;" /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br class="kix-line-break" /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;
&lt;/b&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Application Project 設定：&lt;br class="kix-line-break" /&gt;&amp;nbsp;&lt;/span&gt;&lt;img height="349px;" src="https://lh6.googleusercontent.com/tqz6HlZ1Pnlg67UPSMt0LnjIiYvaDq1SG6kRGED6zREHOK4RViLVp3Zv78NdG5BRFthKPJNOTxSnYFUyKu6vd9ka8HB23bRN0yh49cLSs0sNamRsKl4" width="376px;" /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b id="internal-source-marker_0.8046587365679443" style="font-weight: normal;"&gt;
&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;會得到甚麼結果勒：&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Library Project：&lt;/span&gt;&lt;br /&gt;
&lt;img height="464px;" src="https://lh5.googleusercontent.com/7Yi0K4InvKekKWGXaY8RTZr68ONX42duQnfBqu1PiiwFL4kiWpXxk70HLTSdED3cxt2u2J5DYFJu_tjjcihhOo4PDG3iG2olVPx6N1SRwNymuQrFbvo" width="264px;" /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;Application Project：&lt;/span&gt;&lt;br /&gt;
&lt;img height="360px;" src="https://lh3.googleusercontent.com/q1YAw3QppVMlzzJm3dlIsfQpuGrj9njCHSM2EkUKuLWtMK7TOCdhV06Jo4yDV0XUoXUId-pSwIMmyuRPFEYoAD9rELf9szMA4n4Da8JFojbM7PihhkQ" width="250px;" /&gt;&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;其他問題排解：&lt;/span&gt;&lt;br /&gt;&lt;div dir="ltr" style="margin-bottom: 0pt; margin-left: 27pt; margin-top: 0pt;"&gt;
&lt;span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;"&gt;當 Application Project 上出現驚嘆號無法編譯時，&lt;br class="kix-line-break" /&gt;在 Library Project 上右鍵 &amp;gt; Close project ，然後再打開應該就可以囉！&lt;br class="kix-line-break" /&gt;開始到處引用別人的 Library 吧!!&lt;/span&gt;&lt;/div&gt;
&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/5288895760386543262/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2012/09/android-library-project-usage_19.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5288895760386543262?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5288895760386543262?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2012/09/android-library-project-usage_19.html' title='Android Library Project Usage'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0MGRX0ycSp7ImA9WhZTFUw.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-8689568214571709894</id><published>2011-03-19T14:27:00.002+08:00</published><updated>2011-03-19T15:23:44.399+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-19T15:23:44.399+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title>Problems when using Microsoft.Office.Interop.Excel</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span lang="zh-TW"&gt;佈署在&lt;/span&gt;&lt;span lang="en-US"&gt; IIS7 &lt;/span&gt;&lt;span lang="zh-TW"&gt;上的權限問題&lt;/span&gt;&lt;br /&gt;
當你看到類似下列訊息時，代表權限不足，無法執行 COM 應用程式&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: red; color: white;"&gt;&amp;nbsp;&amp;nbsp;錯誤訊息 &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;擷取元件 (CLSID 為 {00024500-0000-0000-C000-000000000046}) 的 COM Class Factory 失敗，因為發生下列錯誤: 80070005 存取被拒。 (發生例外狀況於 HRESULT: 0x80070005 (E_ACCESSDENIED))。&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
IIS 執行的身分是&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;「&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="en-US"&gt;Network Service&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;」&lt;/span&gt;&lt;/span&gt;這個帳號，沒有執行 COM 應用程式的權限&lt;br /&gt;
&lt;span lang="zh-TW"&gt;&lt;span style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;想要確認這一點的話，可以&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;進入&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="en-US"&gt; dcomcnfg &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;後&lt;br /&gt;
展開&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="en-US"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;「&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="en-US"&gt;DCOM &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;設定」找到「&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="en-US"&gt;Microsoft Excel Application&lt;/span&gt;&lt;/span&gt;&lt;span lang="zh-TW"&gt;」&lt;br /&gt;
&lt;a href="https://lh5.googleusercontent.com/-fHBIROCePj0/TYRD6-JtTiI/AAAAAAAAALs/vQscTalazCc/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="191" src="https://lh5.googleusercontent.com/-fHBIROCePj0/TYRD6-JtTiI/AAAAAAAAALs/vQscTalazCc/s400/2.png" style="cursor: move;" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: #f1c232; color: white;"&gt;&amp;nbsp;&amp;nbsp;提醒 &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;&lt;br /&gt;
如果是&lt;/span&gt;&lt;span lang="en-US"&gt; 64&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;位元&amp;nbsp;&lt;/span&gt;&lt;span lang="en-US"&gt;OS &lt;/span&gt;&lt;span lang="zh-TW"&gt;安裝&lt;/span&gt;&lt;span lang="en-US"&gt; 32 &lt;/span&gt;&lt;span lang="zh-TW"&gt;位元&lt;/span&gt;&lt;span lang="en-US"&gt; Excel&lt;/span&gt;&lt;span lang="zh-TW"&gt;，會找不到這個項目，請參考第3點解法&lt;/span&gt;&lt;span lang="en-US"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span lang="en-US"&gt;&lt;span lang="zh-TW"&gt;在&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;「內容&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;安全性」&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;畫面中，可以確認各種權限，這邊可以發現&lt;br /&gt;
「&lt;/span&gt;&lt;span lang="en-US"&gt;Network Service&lt;/span&gt;&lt;span lang="zh-TW"&gt;」並不能使用此應用程式，不過「&lt;/span&gt;&lt;span lang="en-US"&gt;Administrators&lt;/span&gt;&lt;span lang="zh-TW"&gt;」群組可以。&lt;/span&gt;&lt;br /&gt;
&lt;span lang="zh-TW"&gt;&lt;br /&gt;
解決方式為，在執行一個需要&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;Excel API&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;的&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;aspx page&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;時，模擬成某個屬於&lt;/span&gt;&lt;/span&gt;&lt;span lang="en-US"&gt;Administrators&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;群組的帳號，我們可以把需要用到 Library 的 ASPX Page&amp;nbsp;放在&lt;br /&gt;
獨立的目錄，並在目錄下加入一個 web.config，&lt;br /&gt;
於 &amp;lt;system.web&amp;gt; 區段中寫以下內容：&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: #38761d;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&amp;lt;identity impersonate="true" userName="xxx" password="xxxxxxxxxxxx"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span lang="en-US"&gt;xxx&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;是一個管理員權限的帳號，IIS 在執行 ASPX PAGE 時會模擬成這個帳號，&lt;br /&gt;
這樣就有權限執行 Library 囉。&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: #f1c232; color: white;"&gt;&amp;nbsp;&amp;nbsp;提醒 &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
xxx 這個帳號必須做過登入&lt;br /&gt;
根據網路蒐集的資料來說，沒登入過的帳號很多個人設定都沒有初始化，&lt;br /&gt;
造成 Library 無法執行&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-US"&gt;&lt;span lang="zh-TW"&gt;&lt;span lang="zh-TW"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Server 2008 特殊狀況&lt;/span&gt;&lt;br /&gt;
&lt;span lang="zh-TW" style="font-style: normal; font-weight: normal;"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;span class="Apple-style-span" style="background-color: red; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;錯誤訊息 &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: inherit;"&gt;Microsoft Excel 無法存取檔案 'c:\temp\sample.xls'。可能原因如下:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;&lt;br /&gt;
&lt;/span&gt;&amp;nbsp;&amp;nbsp;. 檔案的名稱或路徑不存在。&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;. 其他程式正在使用檔案。&lt;br /&gt;
&amp;nbsp;&amp;nbsp;. 您嘗試儲存的活頁簿名稱與目前開啟的活頁簿名稱相同。&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;在&lt;/span&gt;&lt;/span&gt;&lt;span lang="en-US" style="font-family: inherit; font-style: normal; font-weight: normal;"&gt;&amp;nbsp;2008&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW" style="font-family: inherit; font-style: normal; font-weight: normal;"&gt;上使用&lt;/span&gt;&lt;span lang="en-US" style="font-family: inherit; font-style: normal; font-weight: normal;"&gt;&amp;nbsp;Excel Library 時&lt;/span&gt;&lt;span lang="zh-TW" style="font-family: inherit; font-style: normal; font-weight: normal;"&gt;沒辦法正確地被識別成模擬帳號&lt;br /&gt;
仍然會被識別為&lt;/span&gt;&lt;span lang="zh-TW" style="font-family: inherit; font-style: normal; font-weight: normal;"&gt;&lt;span lang="zh-TW"&gt;「&lt;/span&gt;&lt;span lang="en-US"&gt;Network Service&lt;/span&gt;&lt;span lang="zh-TW"&gt;」&lt;br /&gt;
所以只好強制設定&lt;/span&gt;&lt;span lang="en-US"&gt;&amp;nbsp;Library&amp;nbsp;&lt;/span&gt;&lt;span lang="zh-TW"&gt;的執行「身分」&lt;/span&gt;&lt;br /&gt;
&lt;span lang="zh-TW"&gt;同前述在「&lt;/span&gt;&lt;span lang="en-US"&gt;dcom &lt;/span&gt;&lt;span lang="zh-TW"&gt;設定」找到「&lt;/span&gt;&lt;span lang="en-US"&gt;Microsoft Excel Application&lt;/span&gt;&lt;span lang="zh-TW"&gt;」&lt;br /&gt;
進入「內容&lt;/span&gt;&lt;span lang="en-US"&gt; &amp;gt; &lt;/span&gt;&lt;span lang="zh-TW"&gt;識別身分」&lt;br /&gt;
在裡頭指定執行身分，如下圖&lt;br /&gt;
&lt;/span&gt;&lt;a href="https://lh3.googleusercontent.com/-WFbxapAowyU/TYRLV-ln06I/AAAAAAAAALw/LEGIh6H066s/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://lh3.googleusercontent.com/-WFbxapAowyU/TYRLV-ln06I/AAAAAAAAALw/LEGIh6H066s/s400/3.png" width="325" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span lang="en-US"&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW"&gt;&lt;span class="Apple-style-span"&gt;&lt;span lang="zh-TW" style="font-family: inherit;"&gt;&lt;span lang="zh-TW"&gt;dcomcnfg 裏頭找不到「&lt;/span&gt;&lt;span lang="en-US"&gt;Microsoft Excel Application&lt;/span&gt;&lt;span lang="zh-TW"&gt;」&lt;/span&gt;&lt;span lang="en-US"&gt;Entry&lt;/span&gt;&lt;br /&gt;
&lt;span lang="zh-TW"&gt;執行&lt;/span&gt;&lt;span lang="en-US"&gt; mmc -32&lt;/span&gt;&lt;span lang="zh-TW"&gt;，再掛載「元件服務」管理介面進來就能看到這個&lt;/span&gt;&lt;span lang="en-US"&gt; entry&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span"&gt;&lt;a href="https://lh5.googleusercontent.com/-70KRTFGC4eA/TYRMcqsmPDI/AAAAAAAAAL0/Vjx5TCiLkUc/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="292" src="https://lh5.googleusercontent.com/-70KRTFGC4eA/TYRMcqsmPDI/AAAAAAAAAL0/Vjx5TCiLkUc/s320/4.png" style="cursor: move;" width="320" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/8689568214571709894/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2011/03/problems-when-using-microsoftofficeinte.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/8689568214571709894?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/8689568214571709894?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2011/03/problems-when-using-microsoftofficeinte.html' title='Problems when using Microsoft.Office.Interop.Excel'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh5.googleusercontent.com/-fHBIROCePj0/TYRD6-JtTiI/AAAAAAAAALs/vQscTalazCc/s72-c/2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;AkEHR3c7fCp7ImA9WhZTEk0.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-1954501663416540373</id><published>2011-03-16T01:03:00.000+08:00</published><updated>2011-03-16T01:03:56.904+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-03-16T01:03:56.904+08:00</app:edited><title>為什麼軟體附加的右鍵選單沒出現?</title><content type='html'>因為在64位元作業系統上不會出現32位元軟體的選單!!&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;該死! 害我困惑超久的&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/1954501663416540373/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2011/03/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/1954501663416540373?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/1954501663416540373?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2011/03/blog-post.html' title='為什麼軟體附加的右鍵選單沒出現?'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEINRXY6eCp7ImA9Wx5bE0s.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-5385589758902005303</id><published>2010-10-29T23:36:00.000+08:00</published><updated>2010-10-29T23:36:34.810+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-10-29T23:36:34.810+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='網路'/><title>使用無線AP分享區域網路</title><content type='html'>環境:&lt;br /&gt;
1. 一台 cable modem&lt;br /&gt;
2. 一台 AP&lt;br /&gt;
3. 一台 HUB 連接以上兩者&lt;br /&gt;
&lt;br /&gt;
設定:&lt;br /&gt;
AP 設定橋接模式，單純當成有線與無線訊號的轉換器角色，&lt;br /&gt;
&lt;br /&gt;
效果:&lt;br /&gt;
筆電之類的無線設備都可以透過AP接上有線網路，&lt;br /&gt;
並透過 ISP 取得 public IP</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/5385589758902005303/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2010/10/ap.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5385589758902005303?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5385589758902005303?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2010/10/ap.html' title='使用無線AP分享區域網路'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEECR3s9eip7ImA9Wx5bE0s.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-2486655936652202277</id><published>2010-10-29T22:07:00.000+08:00</published><updated>2010-10-29T23:37:46.562+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-10-29T23:37:46.562+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='網路'/><title>指定 DHCP 伺服器</title><content type='html'>當區域網路環境中有兩台 DHCP 伺服器時&lt;br /&gt;
可以用以下的指定為你的網路卡介面指定&amp;nbsp; DHCP 伺服器&lt;br /&gt;
&lt;br /&gt;
若你的網路卡介面名稱為 "Local Network 01"&lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/_TpuncvMffKE/TMrT7FP7fsI/AAAAAAAAALY/FoULVXsAVpE/s1600/sample01.JPG" imageanchor="1"&gt;&lt;img border="0" height="164" src="http://4.bp.blogspot.com/_TpuncvMffKE/TMrT7FP7fsI/AAAAAAAAALY/FoULVXsAVpE/s320/sample01.JPG" width="320" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
執行以下指令指定 DHCP IP&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: black;"&gt;&lt;span class="Apple-style-span" style="color: white;"&gt;ipconfig /setclassid "Local Network 01" xxx.xxx.xx.xx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
(xxx 的部分為 DHCP&amp;nbsp; 伺服器的 IP)</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/2486655936652202277/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2010/10/dhcp.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/2486655936652202277?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/2486655936652202277?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2010/10/dhcp.html' title='指定 DHCP 伺服器'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_TpuncvMffKE/TMrT7FP7fsI/AAAAAAAAALY/FoULVXsAVpE/s72-c/sample01.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DUEBQ3k5eCp7ImA9Wx5VFk8.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-6548102849361621282</id><published>2010-10-09T20:33:00.000+08:00</published><updated>2010-10-09T20:34:12.720+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-10-09T20:34:12.720+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='生活'/><title>常咬破嘴巴的看過來</title><content type='html'>&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;雖然...我不喜歡賣藥的感覺&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;雖然...我不想讓人誤會這是廣告文&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;所以不要說太多...&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;現代版的金創藥↓↓↓↓&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_TpuncvMffKE/TLBgj38ddHI/AAAAAAAAAKE/7tctXR5ROb4/s1600/DSC04299.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="123" src="http://4.bp.blogspot.com/_TpuncvMffKE/TLBgj38ddHI/AAAAAAAAAKE/7tctXR5ROb4/s320/DSC04299.JPG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 12px; line-height: 1.5em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: left;"&gt;睡覺前擦一下，早上起來就差不多快好了，酷!?&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/6548102849361621282/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2010/10/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/6548102849361621282?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/6548102849361621282?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2010/10/blog-post.html' title='常咬破嘴巴的看過來'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_TpuncvMffKE/TLBgj38ddHI/AAAAAAAAAKE/7tctXR5ROb4/s72-c/DSC04299.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUECR3s5eCp7ImA9Wx5VFkk.&quot;'><id>tag:blogger.com,1999:blog-7110393432217358088.post-5471379921994154894</id><published>2010-10-07T02:59:00.000+08:00</published><updated>2010-10-10T01:01:06.520+08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2010-10-10T01:01:06.520+08:00</app:edited><category scheme='http://www.blogger.com/atom/ns#' term='資料庫 Oracle'/><title>TOAD 搭配 Oracle Instant Client</title><content type='html'>&lt;ol&gt;&lt;li&gt;確認 TOAD 要搭配的 instant client 版本&lt;br /&gt;
我自己的TOAD是9.6版，從 software requirement 能確認可搭配的「oracle client」(註1)版本是 10.x。&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;下載 instant client basic 32位元版本&lt;br /&gt;
(根據第一點，我下載 10.2.0.5 版 )&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;載好的壓縮檔解壓縮到&amp;nbsp;c:\instant_client&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;設定環境變數，在 PATH 變數最後面加上「;c:\instant_client」&lt;br /&gt;
(注意，分號是必要的)&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;啟動 TOAD，enjoy it !&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;註1: TOAD只會提與 oracle client 的相容性&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://magicidea.blogspot.com/feeds/5471379921994154894/comments/default' title='張貼意見'/><link rel='replies' type='text/html' href='http://magicidea.blogspot.com/2010/10/toad-oracle-instant-client.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5471379921994154894?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7110393432217358088/posts/default/5471379921994154894?v=2'/><link rel='alternate' type='text/html' href='http://magicidea.blogspot.com/2010/10/toad-oracle-instant-client.html' title='TOAD 搭配 Oracle Instant Client'/><author><name>Gandroid</name><uri>http://www.blogger.com/profile/15866337053893740721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>