Go here to download the files
Monthly Archives: April 2009
Windows 7 Shortcut Keys
Windows 7 introduces several new shortcut keys to take advantage of design improvements. These shortcut keys will help save time and improve productivity while using Windows 7. To perform shortcut key strokes, press and hold the keys while performing the task. For example, hold the
key and press the arrow to maximize the selected window.
Table of Shortcuts
Intel Q9400, Hyper-V and Windows Mobile 6.5
Besides upgraded my PC to Intel Q9400 Quad cores processor (I will share my experience on setting up a SharePoint clusters on Hyper-V) later. I also flashed my HTC Diamond to run the latest beta of Windows Mobile 6.5.
The phone upgrade process is not for the faint hearted (it could renders your phone unusable), for example during install Hard SPL to my phone at one point the screen on my Diamond gone blank and an error message appeared on my PC. Luckily thanks to the guidance here I find out this is normal and I just need to restart the application again.
All the while I don’t have intention to upgrade my phone to WM6.5 if not because of the new themes appear on the latest build. Although people still argue about how good looking the themes are but for me it is good enough. Beyond look, the usability of the new Today’s screen is similar to the one found on Smart Phone Edition of WM6.1 which I like very much when I loaned a Motorola Q9 from Pohz.
Below are the links to the latest ROM
HTC Touch Diamond (This is the one I installed)
The cooked ROM for Diamond does not comes with full set of themes so you got to download here.
Again, try this at your own risk, the best support you can get is from xda-developers.com
Using FCKEditor to embed Flash content; does not appear in IE
This is because FCKEditor only create a <embed> element to display Flash content which does not work for IE. IE requires the <object> element to embed Flash in a webpage where else <embed> only works for Firefox based browsers. This links shows the way to embed Flash object in HTML.
Changing the JavaScript code in FCKEditor is a bit troublesome (my JavaScript skill is not good enough) So if you are using .NET you can refer to this method I created to wrap the <embed> element with <object> element. This is more of a quick hack so I make no guarantee it will work in your environment. I am using LINQ to XML for this so you will need Visual Studio 2008 + .NET 3.5.
Public Function UpdateEmbedTag(ByVal content As String) As String Const embedTag As String = "<embed " Const objectTag As String = _ "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'" + _ "codebase='http://download.macromedia.com/pub/shockwave/cabs/" + _ "flash/swflash.cab#version=6,0,40,0' id='myMovieName'><embed " Const embedCloseTag As String = "</embed>" Const objectCloseTag As String = "</embed></object>" '<embed type="application/x-shockwave-flash" ' pluginspage="http://www.macromedia.com/go/getflashplayer" ' src="http://localhost:49427/userfiles/Video/test/flash.swf" ' play="true" loop="true" menu="true"></embed> ' 'TO ' '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' codebase="http://download.macromedia.com/pub/shockwave/cabs/ ' flash/swflash.cab#version=6,0,40,0" id="myMovieName"> ' <param name="movie" value=""/> '</object> Dim _newContent = "<div>" + content.Replace(" ", " ") + "</div>" _newContent = _newContent.Replace(embedTag, objectTag) _newContent = _newContent.Replace(embedCloseTag, objectCloseTag) Dim root = XElement.Parse(_newContent) Dim embedElementList = root.Descendants("embed") Dim flashLocation As String Dim height As String Dim width As String If embedElementList.Count > 0 Then For Each embedElement As XElement In embedElementList If ((embedElement.Attribute("pluginspage") = _ "http://www.macromedia.com/go/getflashplayer") _ Or embedElement.Attribute("type").ToString.Contains("flash")) Then flashLocation = embedElement.Attribute("src") height = embedElement.Attribute("height") width = embedElement.Attribute("width") If Not String.IsNullOrEmpty(width) Then _ embedElement.Parent.Add(New XAttribute("width", width)) If Not String.IsNullOrEmpty(height) Then _ embedElement.Parent.Add(New XAttribute("height", height)) Dim movie = New XElement("param") movie.Add(New XAttribute("name", "movie")) movie.Add(New XAttribute("value", flashLocation))
embedElement.Parent.Add(movie)
End If Next Return root.ToString Else Return content End If End Function
SharePoint Designer 2007 is now FREE for SharePoint customers
The news been circulating among SharePoint communities for the pass few weeks and now it is official. Microsoft is going to make SharePoint Designer FREE for all SharePoint customers.The open letter from SharePoint product team can be viewed here. Customers with SharePoint Designer 2007 Software Assurance (SA) current as of April 1, 2009 will receive upgrade rights to Expression Web for the lifetime of their SA agreement.