2012年11月18日 星期日

Google 使用Google來讀取PDF

今天忽然接道一個需求 要做瀏覽器來看PDF
當然chrome內有包所以可以直接閱讀
但IE 火狐則要另外安裝 於是找到以下參考網址
原來google也有天阿不愧是大神

<iframe src="http://docs.google.com/gview?url=http://ccbs.ntu.edu.tw/formosa/org/pdf/081-106.pdf&embedded=true" style="width:800px; height:600px;" frameborder="0"></iframe>


http://docs.google.com/viewer?url="你的ppt pdf"

url=就是pdf網址
width=寬度
height=高度

參考網址 http://blog.joaoko.net/archives/2033

以下網址特別說到連ppt也攪定喔!!
http://blog.joaoko.net/archives/2163

jQuery Loading且置中

html部份

js部份
  

2012年11月3日 星期六

SQLite 無法載入檔案或組件 'System.Data.SQLite' 或其相依性的其中之一。

錯誤畫面如下



開啟IIS > 應用程式集區 > 進階設定 > 啟用32位元應用程式設成True

 就如64位元的IIS架站,使用32位元DLL時需修改