Host-Only:
Guest(VM) 和 Host(PC) 以各自的虛擬網路卡連結, 即 VM 須經由 PC 存取外部網路資源
Frank 發表在 痞客邦 留言(0) 人氣(14,626)
1.「 During the whole of a dull,dark soundless day
在那年秋季枯燥,灰暗而瞑寂的某個長日裡
In the autumn of that year, when the clouds hung oppressively low in heaven
沉重的雲層低懸於天穹之上
I had been passing alone on the horse's back
我獨自一人策馬前行
Through the Singularly,dreary tract in the country
穿過這片陰沉的,異域般的鄉間土地
and at length found myself, as the shades of the evening drew on
最終,當夜幕緩緩降臨的時候
Within the view of melancholy House of Usher
厄舍府清冷的景色展現在我眼前
I know not how it was
我未曾目睹它過往的模樣
But with the first glimpse of the building, a sense of insufferable gloom pervaded my spirit
但僅憑方才的一瞥,某種難以忍受的陰鬱便浸透了我的內心
I looked upon the scene before me the simple landscape features of the domain
我望著宅邸周圍稀疏的景物
Upon the bleak walls,upon the white trunks of decayed trees
圍牆荒蕪,衰敗的樹遍體透著白色
With the utter depression souls
我的靈魂失語了
There was an iciness
我的心在冷卻
A sinking.
下沉
A sickening of the heart 」
顯出疲軟的病態
Frank 發表在 痞客邦 留言(0) 人氣(583)

預設SharePoint 2010 並沒有啟用Session機制,因此如果客製化的User Control或是ApplicationPage有用到Session的話,那麼必須要啟用SharePoint 2010中的Session機制,而啟用的方式就是修改web.config中的相關設定。
總共有兩個設定要修改:
將<system.web>下的pages項目中的enableSessionState屬性設定為:true
修改<system.webServer>下modules項目,將<remove name="Session" />註解掉即可
Frank 發表在 痞客邦 留言(0) 人氣(179)
![2009-11-14 下午 02-53-18_thumb[1] 2009-11-14 下午 02-53-18_thumb[1]](http://files.dotblogs.com.tw/yc421206/0911/SharePointWebPartSharePointWebPart_EB13/2009-11-14%20%E4%B8%8B%E5%8D%88%2002-53-18_thumb%5B1%5D_b63b8a0c-4fde-4e14-9774-d2ddadc91656.png)
當Sharepoint安裝好之後,便可以開發一客制化的功能,當我們選擇用Web Part開發後,
1.安裝開發工具
[.Net Tools] Windows SharePoint Services 3.0 Tools 方案產生器,記得要安裝對的語言及版本,否則將不能使用。(沒有裝SharePoint也不能裝工具)
2.開啟VS新增專案,我們可以發現多了SharePoint,開發樣板。
Frank 發表在 痞客邦 留言(0) 人氣(945)
一、SmartPart的安裝部署方法:
自動部署
- 解壓ReturnOfStmartPart.zip安裝壓縮包到本地磁盤指定的目錄下;
- 開始->運行,輸入cmd打開命令行窗口,並定位到C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN目錄下;
- 運行stsadm.exe -o addSolution –filename 進行添加解決方案到Sharepoint服務器上;
- 如果是SharePoint 2010則cmd路徑必須修改為C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN
Frank 發表在 痞客邦 留言(0) 人氣(309)

基本上,SharePoint 2010網站中的頁面(Home.aspx or Default.aspx…等等)以及頁面中操作時所彈跳出的Dialog視窗所套用的master都是一樣的,也就是:v4.master,而在v4.master中用來控管Ribbon區塊的是一個div區段:
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
… …
網站預設的Dialog視窗是有Ribbon,如下圖所示:
Frank 發表在 痞客邦 留言(0) 人氣(45)

相信不少人都希望把SharePoint網站內置的那個頂部導航菜單,換成自己希望的樣式。由於SharePoint 2007/2010的網站導航基本上基於標準的ASP.NET SiteMap模型,所以只要你對ASP.NET SiteMap有一些瞭解,就能創建一個自定義的導航菜單。
在開始之前,讓我們先從網上隨便找一個樣子比較cool的菜單控件。在下面的示例中,我會選擇使用Smooth Navigation Menu這個jQuery控件,來渲染出SharePoint網站的頂部導航菜單。將Smooth Navigation Menu控件相關的.js、.css、.gif文件統統下載下來,我們將把它們都放進SharePoint項目中。
打開Visual Studio 2010,創建一個SharePoint 2010項目(我最喜歡的項目模板是「空白SharePoint項目」),在項目中添加一個映射文件夾,來存放Smooth Navigation Menu控件所需的所有文件。我選擇在Layouts文件夾中創建一個SmoothNavMenu子文件夾來存放這些文件,如下圖所示:
Frank 發表在 痞客邦 留言(0) 人氣(836)
Script:
<style type="text/css">
.background
{
background-color:Gray;
filter:alpha(opacity=60);
opacity:0.6;
}
</style>
<script type="text/javascript"> 1:
2: function download()
3: {
4: var iframe = document.createElement("iframe");
5: iframe.src = "GenerateFile.aspx";
6: iframe.style.display = "none";
7: document.body.appendChild(iframe);
8: }
</script>
Frank 發表在 痞客邦 留言(0) 人氣(2,274)
HTML: <asp:FileUpload ID="FileUpload1" runat="server" Width="100%"
onchange="return checkFileExtension(this);" />
Frank 發表在 痞客邦 留言(0) 人氣(3,565)
Frank 發表在 痞客邦 留言(3) 人氣(4,712)