1.14.2008

How to add a MSN messenger on your welcome page

I thought it's really cool that people can talk to you when he/she browse your blog or site welcome page.

Please follow below steps to add blog version MSN messenger:

1. Connect to MSN configuration page, then click Web Settings .

2. Please check up the check box "Allow websites to see your Messenger status and send you messages". And "Save".
image

3.  Then click "Create HTML", you can configure the appearance that you want, and please remember copy the HTML.

4. If you are suing SharePoint as your blog, please add a content edit web part. Modify the web part, and click "Edit Source", paste the code in step 3. If you are using other kinds blog system, please find out the code edit panel or something like "template edit" or "theme edit", and find the location appropriate to insert the code.

5. Completed, You can try the web part.

P.S. According here, seems this function is unavailable now, I sent the feedback to Microsoft Live Team, hope this function come back soon.

And Here is the testing Polaroid photo for Microsoft Live Writer:

1.03.2008

MSN新病毒:Photos1-2008.zip (26KB)

下面是轉自批踢踢實業坊的解法:

http://www.ptt.cc/bbs/MSNmessenger/M.1199348343.A.CC8.html

1.使用 icesword,在Functions的Process中,右鍵 terminate下列進程 : C:\WINDOWS\happy2008.exe : C:\Program Files\Windows Live\Messenger\msnmsgr.exe :

2.刪除下列 登錄檔值 : 登錄檔路徑:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run : 登錄檔名稱:Windows svchost : 登錄檔數值:happy2008.exe

3.刪除下列檔案 : C:\WINDOWS\Photos1-2008.zip : C:\WINDOWS\happy2008.exe

4.用 ccleaner 清掉暫存檔

5.完工 : 測試用的病毒載點: http://www.badongo.com/file/7145292

完整病毒測試: : http://www.avpclub.ddns.info/discuz/thread-7427-1-1.html

因為是轉的...過兩天會砍掉.

=================================================

This solution is come from PTT Taiwan http://www.ptt.cc/bbs/MSNmessenger/M.1199348343.A.CC8.html
1. Use icesword , terminate the processes a. C:\WINDOWS\happy2008.exe b. C:\Program Files\Windows Live\Messenger\msnmsgr.exe in”functions”


2. Start->Run, Keyin “regedit”, delete the keyvaluepair called [Windows svchost; happy2008.exe] under path [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]


3. Delete the files : C:\WINDOWS\Photos1-2008.zip and C:\WINDOWS\happy2008.exe


4. Use ccleaner to clear the temp files.


5. Done.

The Point is 1. Terminate the happy2008.exe process 2. Delete the registry 3. Delete the file.

This Post is reference from PTT, so, it will delete in couple days.

12.31.2007

Happy New Year

Happy New Year, Everyone!

12.06.2007

Multi Content Type And Office 2003

Around this month, our project need to provide a multi-content types in a document library for special department. The requirements from user include a. add description property at folder item , b. add seceral property at document and c. embed a permission control column at document item.
After analysis and design, I create two content type for the requirements and do it in test env.
And the problem is Office 2003. When your client computer using Office 2003 and try to new a document from document library, then save it, you will see a pop up window for select content type with "Script Error" message several time...But it is no any problem by using Office 2007.
After touch with Microsoft, we confirm this is a bug and have not hot-fix or patch till now.
Maybe it would fix this problem in SP1, maybe not.
But my user using Office 2003, what can I do? Finally, I remove the content type's default document template, and then only can upload the file when click "new" in action menu...
For all the function workable, but we can smell of the necessary to upgrade Office...
Here is the reference links:
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2071300&SiteID=17
http://207.46.236.188/MSDN/ShowPost.aspx?PostID=2105089&SiteID=1
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2483030&SiteID=1

9.26.2007

Multi Email Accounts in Access Requests Text Box

SharePoint 2007 provides a function for denied user to request access right by email. You can configure an email account for receive the request mail. Just go to "People and Groups", click “Site Permissions", then click "Settings" and choose "Access Requests".

There are not always only one people manage the site, maybe two or more. You can put the ";" between emails in the text box like (owner1@teamsite;owner2@teamsite), then the request mail will send to multi email address.

SharePoint 2007 提供了一個功能讓沒有權限存取某個網站的使用者可以透過Email的方式對該網站請求存取權. 你可以在 "People and Groups"中點選 "Site Permissions", 然後選取"Settings"->"Access Requests". 會有一個Text Box, 填入Email, 就可以收到使用者的請求.

但是一個Site並不一定只會有一個人在管理, 所以怎麼將多人都放入Email清單中呢? 很簡單, 只要把分號放置其中, 像(owner1@teamsite;owner2@teamsite), 這樣子裡面每個人都會收到要求授予權限的Email了.

9.19.2007

Server Error 2041 Occurred Invalid BlogId Parameter

如果使用Windows Live Writer Beta時要Publish新的Post時, 跳出這個錯誤訊息,你可以先看看自己用的是不是最新版, reference here:http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!926.entry?&thisPost=cns!D85741BB5E0BE8AA!926&nextComment=true&commentPH=cns!D85741BB5E0BE8AA!952&expand=cmt

或是先確定自己的在Weblog->Edit Weblog Settings裡面的路徑要設定成http://yourweblogname.spaces.live.com/ 的樣子.

If popup up the error message "Server Error 2041 Occurred Invalid BlogId Parameter" after publish new post to "Live Space" by Windows Live Writer, please reference here:http://windowslivewriter.spaces.live.com/blog/cns!D85741BB5E0BE8AA!926.entry?&thisPost=cns!D85741BB5E0BE8AA!926&nextComment=true&commentPH=cns!D85741BB5E0BE8AA!952&expand=cmt

If your version is lastest version, please check the url setting in "Weblog->Edit Weblog Settings", the path should be like http://yourweblogname.spaces.live.com/

SPFieldUser

SPFiled一直都是個難解的東西, 真希望能有Class Diagram與Architecture出來看看.

想到以前想要取出List裡面的Item的Contact or something else的欄位, 用SPUser接了半天只接到Exception...

後來發現要用SPFieldUser去套那個欄位, 然後用SPFieldUserValue去接, 接出來後在SPFieldUserValue.User裡面去取出SPUser.

不過講到這裡, 這裡是有關GetFieldValue的寫法...

String currentvalue=item[field.Title].ToString();

SPFieldUserValue fieldvalue=(SPFieldUserValue)field.GetFieldValue(currentversion);