<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-4472951086604612395</atom:id><lastBuildDate>Wed, 08 Sep 2010 06:13:35 +0000</lastBuildDate><title>Yet Another IT Blog</title><description>Software development, tools, and other issues.</description><link>http://blog.vanmeeuwen-online.nl/</link><managingEditor>noreply@blogger.com (Robje)</managingEditor><generator>Blogger</generator><openSearch:totalResults>64</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-2563234200560815758</guid><pubDate>Mon, 30 Aug 2010 10:38:00 +0000</pubDate><atom:updated>2010-08-30T12:39:26.865+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Issues regarding ItemAdding and ItemUpdating EventReceivers when not firing</title><description>Today I succeeded in creating working event receivers for my custom list in a MOSS 2007 environment.&lt;br /&gt;I had some difficulties to get those EventReceivers fired. I started with ItemAdding and ItemUpdating events. Those where installed and fired correctly.&lt;br /&gt;But I actually needed the ItemAdded and ItemUpdated events. So I switched to them. And there the problems started.&lt;br /&gt;&lt;br /&gt;One big problem is the caching (or something like that) of the elements.xml file of the feature (between brackets: don't forget to change the events in the elements.xml file!). Upgrade of the solution won't work!&lt;br /&gt;&lt;br /&gt;You need to uninstall and remove the feature from the solution store. Make sure that all files of the feature are gone from the 12-hive\template\features\-folder.&lt;br /&gt;To make sure that you really get rid of all the old version feature settings, do a IISRESET /NOFORCE. Until I did this, SharePoint remembers some settings of the old version feature. This is quit anoying and frustating and took me a while to get this sort out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-2563234200560815758?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/08/issues-regarding-itemadding-and.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-1068438935035636391</guid><pubDate>Fri, 28 May 2010 15:08:00 +0000</pubDate><atom:updated>2010-05-28T17:22:09.210+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Include or Exclude Users from SharePoint Profile Import</title><description>During a (default) import of user profiles (from Active Directory (AD)) inside SharePoint (MOSS) you will notice a bunch of user profiles you are not interested in (like system_mailbox, some dummy users as well as disabled accounts).&lt;br /&gt;I was wondering if it would be possible to exclude these AD user profiles during the profile import in SharePoint. After a little search, I found the solution to obtain this.&lt;br /&gt;&lt;br /&gt;You need to go to your &lt;span style="font-weight: bold;"&gt;SharedServiceProvider &lt;/span&gt;(from within the&lt;span style="font-weight: bold;"&gt; Central Administration&lt;/span&gt;). Navigate to '&lt;span style="font-weight: bold;"&gt;User Profile and Properties&lt;/span&gt;' &gt; '&lt;span style="font-weight: bold;"&gt;Manage Connections&lt;/span&gt;'.&lt;br /&gt;Here you will find the field called '&lt;span style="font-weight: bold;"&gt;User filter&lt;/span&gt;'. The content will look like this (which is default):&lt;blockquote&gt;(&amp;amp;(objectCategory=Person)(objectClass=User))&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Between '(&amp;amp;' and the last ')' (let's say the filter placeholder) you can add fields you want to filter on. Add the following string just after the last fieldfilter to exclude those user accounts that are disabled in AD:&lt;br /&gt;&lt;blockquote&gt;(!userAccountControl:1.2.840.113556.1.4.803:=2)&lt;/blockquote&gt;So the entire string will be like this:&lt;br /&gt;&lt;blockquote&gt;(&amp;amp;(objectCategory=Person)(objectClass=User)(!userAccountControl:1.2.840.113556.1.4.803:=2))&lt;/blockquote&gt;If you also want to include only those user accounts where (e.g.) the company name is filled in, you need to include (company=*). In reverse, if you want to exclude those that have a company name, just place a exclamation mark right for company: (!company=*). The 'include' version will then look like this:&lt;br /&gt;&lt;blockquote&gt;(&amp;amp;(objectCategory=Person)(objectClass=User)(company=*)(!userAccountControl:1.2.840.113556.1.4.803:=2))&lt;/blockquote&gt;An easy way to figure out to create your own filtersyntax (like company start with 'bla'), you can build easily a query inside AD which will show you the correct syntax.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-1068438935035636391?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/05/include-or-exclude-users-from.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-699724298056732848</guid><pubDate>Thu, 20 May 2010 14:45:00 +0000</pubDate><atom:updated>2010-05-20T16:49:39.205+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>Fun</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Is SharePoint a PITA?</title><description>Sometimes SharePoint drives me crazy. But not only me. Google, our big friend shows the following results on some search terms:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;moss 2007 problem: about 53.400.000&lt;/li&gt;&lt;li&gt;moss 2007 errors: about 8.160.000&lt;/li&gt;&lt;li&gt;moss 2007 bug: about 28.000.000&lt;/li&gt;&lt;li&gt;moss 2007 failed: about 4.560.000&lt;/li&gt;&lt;li&gt;moss 2007 failure: about 8.420.000&lt;/li&gt;&lt;li&gt;moss 2007 not working: about 23.300.000&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;sharepoint problem: about 8.270.000&lt;/li&gt;&lt;li&gt;sharepoint error: about 3.380.000&lt;/li&gt;&lt;li&gt;sharepoint bug: about 1.920.000&lt;/li&gt;&lt;li&gt;sharepoint failed: about 892.000&lt;/li&gt;&lt;li&gt;sharepoint failure: about 1.240.000&lt;/li&gt;&lt;li&gt;sharepoint not working: about 16.300.000&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;wss 3.0 problem: about 334.000&lt;/li&gt;&lt;li&gt;wss 3.0 errors: about 237.000&lt;/li&gt;&lt;li&gt;wss 3.0 bug: about 78.500&lt;/li&gt;&lt;li&gt;wss 3.0 failed: about 90.500&lt;/li&gt;&lt;li&gt;wss 3.0 failure: about 855.000&lt;/li&gt;&lt;li&gt;wss 3.0 not working: about 289.000&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Do these numbers say something? I don't know. Is SharePoint a PITA? Well sometimes it definitely is!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-699724298056732848?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/05/is-sharepoint-pita.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-8799863705313251679</guid><pubDate>Wed, 12 May 2010 12:23:00 +0000</pubDate><atom:updated>2010-05-12T14:30:28.440+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>VS 2008</category><category domain='http://www.blogger.com/atom/ns#'>Workflow</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>A Solution for: SharePoint 2007 Workflow 'Failed on start'</title><description>&lt;span style="font-weight: bold;"&gt;The Problem:&lt;/span&gt;&lt;br /&gt;I struggled some time to get my out-of-the-box (OOB) workflow working on a MOSS 2007 environment (Win2K3 64-bit). I got always the error 'Failed on Start'. The log file on the 12-hive shows two records like this:&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;w3wp.exe (0x0AF4)  0x0724  Windows SharePoint Services  Workflow Infrastructure  72fs  Unexpected  RunWorkflow: System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties..ctor(SPWorkflow workflow, Int32 runAsUserId, String associationData, String initiationData)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.MakeActivation(SPWorkflow workflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="brush: plain"&gt;&lt;br /&gt;w3wp.exe (0x0AF4)  0x0724  Windows SharePoint Services  Workflow Infrastructure  98d7  Unexpected  System.ArgumentException: Value does not fall within the expected range.     at Microsoft.SharePoint.Workflow.SPWorkflowActivationProperties..ctor(SPWorkflow workflow, Int32 runAsUserId, String associationData, String initiationData)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.MakeActivation(SPWorkflow workflow, SPWorkflowEvent e)     at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Solution:&lt;/span&gt;&lt;br /&gt;I search a lot, but didn't find a working solution. Finally I found it. It turns out that I had changed the account for the SharePoint - 80 application pool (don't remember why, but I did). But, I did this on IIS 7 and not using the Central Administration (CA).&lt;br /&gt;Well, this was a wrong action. &lt;span style="font-style: italic; font-weight: bold;"&gt;Changing the account of one of the SharePoint application pools must be done using the Central Administration&lt;/span&gt; (Serviceaccounts on the 'operations' page inside the CA).&lt;br /&gt;And again, a big SharePoint miracle occured: the workflows started to work!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-8799863705313251679?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/05/solution-for-sharepoint-2007-workflow.html</link><author>noreply@blogger.com (Robje)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-7321278268206808687</guid><pubDate>Fri, 07 May 2010 15:16:00 +0000</pubDate><atom:updated>2010-05-07T17:22:33.130+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>VS 2008</category><category domain='http://www.blogger.com/atom/ns#'>C#</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Work around ServerContext en UserProfile troubles</title><description>I struggled some time with working with the UserProfile and ServerContext inside SharePoint (MOSS 2007).&lt;br /&gt;I wrote a web part to show more details of a sitecontact. For that, I needed to get details from the UserProfile. The UserProfile was obtained from the UserProfileManager.&lt;br /&gt;The code (web part) was running fine on the SharePoint server itself, but it failed on a client machine.&lt;br /&gt;After struggling a lot, trying different suggestions (like fake SPContext and so on) today I found the solution. You need to use the SPSecurity.RunWithElevatedPrivileges method. RunWithElevatedPrivileges runs the code in the brackets under the SharePoint System Account.&lt;br /&gt;So here is the piece of code I am using:&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;  SPSecurity.RunWithElevatedPrivileges(delegate()&lt;br /&gt;  {&lt;br /&gt;    using (SPSite site = new SPSite(SPContext.Current.Site.ID))&lt;br /&gt;    {&lt;br /&gt;      ServerContext context = ServerContext.GetContext(site);&lt;br /&gt;      HttpContext currentContext = HttpContext.Current;&lt;br /&gt;      HttpContext.Current = null;&lt;br /&gt;&lt;br /&gt;      UserProfileManager profileManager = &lt;br /&gt;        new UserProfileManager(context);&lt;br /&gt;&lt;br /&gt;      UserProfile user = &lt;br /&gt;        profileManager.GetUserProfile("domain\\accountname");&lt;br /&gt;&lt;br /&gt;      PropertyCollection propCollection =&lt;br /&gt;        user.ProfileManager.Properties;&lt;br /&gt;&lt;br /&gt;      if (user != null &amp;&amp; propCollection != null)&lt;br /&gt;      {&lt;br /&gt;        \\ do your stuff with the 'user'&lt;br /&gt;      }&lt;br /&gt;      HttpContext.Current = currentContext;&lt;br /&gt;    }&lt;br /&gt;  });&lt;br /&gt;}&lt;br /&gt;catch (Exception)&lt;br /&gt;{&lt;br /&gt;  \\ handle the exception&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I used this code for retrieving userprofile details. I didn't try to edit the user profile. But I assume it should work as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-7321278268206808687?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/05/work-around-servercontext-en.html</link><author>noreply@blogger.com (Robje)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-3545032655648215431</guid><pubDate>Wed, 05 May 2010 13:41:00 +0000</pubDate><atom:updated>2010-05-05T15:43:34.333+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tools</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>VS 2008</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Deployment of a class library with WSPBuilder</title><description>This topic contains some points about deployment class library with WSPBuilder. For a couple of weeks I am working with WSPBuilder (http://www.codeplex.com/wspbuilder) for creating SharePoint web parts.&lt;br /&gt;Due to the lack of some functionality, I wrote a class library which contains some extension methods for the SPWeb object. At that time the problems began.&lt;br /&gt;Situation:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;VMWare machine with MOSS 2007 on a Win2003 machine for development and test purposes&lt;/li&gt;&lt;li&gt;Visual Studio 2008 with WSPBuilder extension&lt;/li&gt;&lt;li&gt;Solution with several WSPBuilder web part projects&lt;/li&gt;&lt;li&gt;Custom class library SPExtensions.dll&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Three of the WSPBuilder projects in my solution are using this class library with the extension methods in it. That works fine, until you are going to deploy it.&lt;br /&gt;The deployment of the first WSPBuilder project deployed the class library into the GAC. This will affect the build process of the other two WSPBuilder projects. Those two wsp-packages do not have the class library dll in it. This happens even the referenced dll property "copy local" is set to "true". This was/is a real PITA! Because after updating the SPExtensions project, the new dll was not updated in the GAC for the 2nd and 3rd project (because the dll is not included in the wsp file).&lt;br /&gt;So I want the SPExtentions.dll deployed to the WebApplication bin and not in the GAC. After some search and trial and errors I found the solution to get this job done.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Make sure the SPExtensions.dll (or whatever your class library is called) is not present in the GAC anymore. You can use gacutil to uninstall the assembly.&lt;/li&gt;&lt;li&gt;Created a '80' folder with a 'bin' subfolder inside all of the projects (e.g. ..\ProjectFolder\80\bin) that uses the SPExtensions.dll.&lt;/li&gt;&lt;li&gt;Create for each of these project a post build event:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;move /Y "$(TargetDir)SPExtensions.dll" "$(ProjectDir)80\bin"&lt;/span&gt;&lt;br /&gt;NOTE: You should use the "move" command and not the xcopy. The WSPBuilder (by default) sets the DeploymentTarget of the assemblies found in folders, other than GAC and 80\bin to GlobalAssemblyCache. So make sure you move the SPExtensions.dll from the ProjectFolder\bin\release (or debug) to the 80\bin folder created in step 2.&lt;/li&gt;&lt;li&gt;Now you can build the project, create the wsp-files and deploy (or upgrade) them. After step 3, I used the "clean" option, just to be sure that I do not get messed up with some left crap.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-3545032655648215431?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/05/deployment-of-class-library-with.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-8712041520777912670</guid><pubDate>Tue, 13 Apr 2010 11:58:00 +0000</pubDate><atom:updated>2010-04-21T09:28:45.393+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>C#</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><title>Format file size (C#)</title><description>This post is not spectacular, but might be useful for some of you. I wrote a simple function to format the file size like it is in the file explorer (21 KB, 1,23 MB etc). I needed this for showing the file size in a tooltip for a SharePoint treeview.&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;private string FileSizeFormat(long size)&lt;br /&gt;{&lt;br /&gt; const int KB = 1024;&lt;br /&gt; const int MB = 1048576;&lt;br /&gt; const int GB = 1073741824;&lt;br /&gt;&lt;br /&gt; if (size &lt; KB)&lt;br /&gt; {&lt;br /&gt;  return string.Format("{0} bytes", size); &lt;br /&gt; }&lt;br /&gt; else if (size &lt; MB)&lt;br /&gt; {&lt;br /&gt;  return string.Format("{0} KB", (size / KB)); &lt;br /&gt; }&lt;br /&gt; else if (size &lt; GB)&lt;br /&gt; {&lt;br /&gt;  return string.Format("{0:0.00} MB", (size / MB));&lt;br /&gt; }&lt;br /&gt; else&lt;br /&gt; {&lt;br /&gt;  return string.Format("{0:0.00} GB", (size / GB)); &lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Just enter the file size (which usually is a long) into this function, you get the appropriate format back.&lt;br /&gt;Edit: Made the code a bit easier (thanks Frank!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-8712041520777912670?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/04/format-file-size-c.html</link><author>noreply@blogger.com (Robje)</author><thr:total>3</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-2982008322759295494</guid><pubDate>Fri, 26 Mar 2010 11:13:00 +0000</pubDate><atom:updated>2010-03-26T12:32:33.775+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><category domain='http://www.blogger.com/atom/ns#'>Tools</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>Virtualization</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><title>Improve performance of VMWare</title><description>For a while I am using VMware environments for SharePoint development projects. Last time, I was really struggling with performance issues. My host OS is Windows 7 (64-bit) with an Intel T7700 processor and 4 GB RAM. About every 10 minutes, the CPU of the virtual machine (Windows 2008 R2, 64-bit) was up to 100% caused by a variety of services (every time another one).&lt;div&gt;There are some improvements I have made which worked (at least) in my situation.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Configuration of the virus scanner.&lt;br /&gt;Exclude the VMware files from real-time protection and for the ThreatSense-engine&lt;/li&gt;&lt;li&gt;Add some parameters to the VMware configuration file (.vmx)&lt;br /&gt;- Disable page sharing (improves I/O). Add following line to the vmx-file:&lt;br /&gt;      &lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;sched.mem.pshare.enable = "FALSE"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;- If you have enough free RAM for all planned concurrent VMs, be sure to disable memory trimming for guest OSes adding the following line to the virtual machine configuration (.vmx) file:&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;        memTrimRate="0"&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;A really performance hitter for virtual machines is a fragmented host OS disk. Be sure to schedule a disk defragmentation on your host OS a regular basis (best: daily)&lt;/li&gt;&lt;li&gt;See more tips &lt;a href="http://www.virtualization.info/2005/11/how-to-improve-disk-io-performances.html" target="_blank"&gt;here&lt;/a&gt;. &lt;/li&gt;&lt;/ul&gt;By now, I am a bit more happy&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-2982008322759295494?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/improve-performance-of-vmware.html</link><author>noreply@blogger.com (Robje)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-5814411459248363324</guid><pubDate>Fri, 19 Mar 2010 10:37:00 +0000</pubDate><atom:updated>2010-03-19T15:32:32.054+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tools</category><category domain='http://www.blogger.com/atom/ns#'>Browsers</category><title>One way to fix slow FireFox startup</title><description>Last time FireFox was starting up very slowly on my computer. I am using FireFox 3.6, which is by now the most recent version.&lt;br /&gt;The next solution helped me to increase the startup time.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Start FireFox&lt;/li&gt;&lt;li&gt;Type &lt;span style="font-weight: bold;"&gt;about:config&lt;/span&gt; in the address bar&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XAb52IpycBU/S6NUTe8_thI/AAAAAAAAASs/YFjr9KepzTo/s1600-h/FireFox-Startup01.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 303px;" src="http://2.bp.blogspot.com/_XAb52IpycBU/S6NUTe8_thI/AAAAAAAAASs/YFjr9KepzTo/s400/FireFox-Startup01.jpg" alt="" id="BLOGGER_PHOTO_ID_5450292667751577106" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Search for the preference name &lt;span style="font-weight: bold;"&gt;browser.sessionstore.enabled&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Edit the value to &lt;span style="font-weight: bold;"&gt;false&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;If you cannot find it, you should create this preference name:&lt;br /&gt;1. Right click somewhere in the window&lt;br /&gt;2. Choose New&gt;Boolean&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XAb52IpycBU/S6NU2XFtZgI/AAAAAAAAAS0/1Aw4GAOOT0o/s1600-h/FireFox-Startup02.jpg"&gt;&lt;img style="cursor: pointer; width: 215px; height: 154px;" src="http://4.bp.blogspot.com/_XAb52IpycBU/S6NU2XFtZgI/AAAAAAAAAS0/1Aw4GAOOT0o/s400/FireFox-Startup02.jpg" alt="" id="BLOGGER_PHOTO_ID_5450293266936063490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;3. Enter the preference name &lt;span style="font-weight: bold;"&gt;browser.sessionstore.enabled&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAb52IpycBU/S6NVZXgiOEI/AAAAAAAAAS8/ee6DkuvLSJE/s1600-h/FireFox-Startup03.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 125px;" src="http://1.bp.blogspot.com/_XAb52IpycBU/S6NVZXgiOEI/AAAAAAAAAS8/ee6DkuvLSJE/s400/FireFox-Startup03.jpg" alt="" id="BLOGGER_PHOTO_ID_5450293868343998530" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;4. Select the value &lt;span style="font-weight: bold;"&gt;false&lt;/span&gt; in the 'Enter Boolean value' window&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAb52IpycBU/S6NVdz5EiqI/AAAAAAAAATE/obI4n2p5l7E/s1600-h/FireFox-Startup04.jpg"&gt;&lt;img style="cursor: pointer; width: 331px; height: 193px;" src="http://1.bp.blogspot.com/_XAb52IpycBU/S6NVdz5EiqI/AAAAAAAAATE/obI4n2p5l7E/s400/FireFox-Startup04.jpg" alt="" id="BLOGGER_PHOTO_ID_5450293944682580642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;5. Press 'OK'&lt;br /&gt;6. Restart FireFox&lt;/li&gt;&lt;/ul&gt;Note:&lt;br /&gt;with this value set to this preference, you will not have the option for session restore if FireFox crashes. To get the session restore option back, just edit this preference value to true or just delete this entry (Right click on preference and select Reset, restart FireFox and your entry is gone).&lt;br /&gt;EDIT:&lt;br /&gt;Search also for &lt;span style="font-weight: bold;"&gt;browser.sessionstore.resume_from_crash&lt;/span&gt; and set this value also to false.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-5814411459248363324?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/one-way-to-fix-slow-firefox-startup.html</link><author>noreply@blogger.com (Robje)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XAb52IpycBU/S6NUTe8_thI/AAAAAAAAASs/YFjr9KepzTo/s72-c/FireFox-Startup01.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-9223081663085028833</guid><pubDate>Fri, 12 Mar 2010 10:14:00 +0000</pubDate><atom:updated>2010-03-12T11:40:20.694+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>CSS</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><category domain='http://www.blogger.com/atom/ns#'>Themes</category><title>SharePoint 2007: Create and manage custom theme in a flexible way</title><description>Recently I started to create a custom theme. As you may know, when you change the theme of a site, SharePoint will get a copy of the chosen theme and place that in the content database.&lt;br /&gt;And that is exactly not what I was looking for. I just want to have one single place where my custom theme is located so I can easily manage and change the theme. This will affect than all sites that are (already) using my custom theme.&lt;br /&gt;&lt;br /&gt;Here is how to do this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to 12-hive\TEMPLATES\&lt;/li&gt;&lt;li&gt;A good starting point is to make a copy of an existing theme that’s close to what you want to have. For example make a copy of the VINTAGE folder.&lt;/li&gt;&lt;li&gt;Rename it to e.g. MYCUSTOMTHEME.&lt;/li&gt;&lt;li&gt;Inside this folder, rename the VINTAGE.INF file to MYCUSTOMTHEME.INF.&lt;/li&gt;&lt;li&gt;Open this MYCUSTOMTHEME.INF and replace all ‘vintage’ text into ‘mycustomtheme’ (without quotes).&lt;/li&gt;&lt;li&gt;Add an entry for the MYCUSTOMTHEME in the SPTHEMES.XML&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;br /&gt;&amp;lt;Templates&amp;gt;&lt;br /&gt; &amp;lt;TemplateID&amp;gt;mycustomtheme&amp;lt;/TemplateID&amp;gt;&lt;br /&gt; &amp;lt;DisplayName&amp;gt;My Custom Theme&amp;lt;/DisplayName&amp;gt;&lt;br /&gt; &amp;lt;Description&amp;gt;This is my cool customized theme&amp;lt;/Description&amp;gt;&lt;br /&gt; &amp;lt;Thumbnail&amp;gt;images/thmycustomtheme.gif&amp;lt;/Thumbnail&amp;gt;&lt;br /&gt; &amp;lt;Preview&amp;gt;images/thmycustomtheme.gif&amp;lt;/Preview&amp;gt;&lt;br /&gt;&amp;lt;/Templates&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;(Note: the thmycustomtheme.gif image can be created when you are done with customization of your theme. Place this file on 12-hive\TEMPLATE\IMAGES\)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Instead of leaving the theme images and stylesheets inside the MYCUSTOMTHEME folder (12-hive\TEMPLATE\THEMES\MYCUSTOMTHEME) we need to move the images and stylesheets to be able to edit and see our changes immediate.&lt;br /&gt;a). Create subfolders called MYCUSTOMTHEME inside the following folders:&lt;br /&gt;i. \12\TEMPLATE\IMAGES\&lt;br /&gt;ii. \12\TEMPLATE\LAYOUTS\1033\STYLES\ (note: 1033 is dependent on your language)&lt;br /&gt;b). Move all images from the 12\TEMPLATE\THEMES\MYCUSTOMTHEME to 12\TEMPLATE\IMAGES\MYCUSTOMTHEME.&lt;br /&gt;c). Move the theme.css (and when using MOSS, mossExtensions.css) to \12\TEMPLATE\LAYOUTS\1033\STYLES\MYCUSTOMTHEME\. These two files you will use for your customizations.&lt;br /&gt;d). Go to 12\TEMPLATE\THEMES\MYCUSTOMTHEME\. There is one file left (mycustomtheme.inf).&lt;br /&gt;e). Create a new (text)file, called theme.css and open it.&lt;br /&gt;f). Add the following lines of code:&lt;br /&gt;&lt;pre class="brush: css"&gt;&lt;br /&gt;@import "/_layouts/1033/STYLES/mycustomtheme/mossextensions.css";&lt;br /&gt;@import "/_layouts/1033/STYLES/mycustomtheme/theme.css";&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;g). Now, when you set a site theme to your ‘mycustomtheme’, the theme.css you just created (with the import statements) are stored in the content database, but the site will use the the css-files on your file system. Now you are ready to edit your css files.&lt;/li&gt;&lt;li&gt;Remember to refer to the images like: url(“/_layouts/images/mycustomtheme/&lt;image.ext&gt;)&lt;/image.ext&gt;&lt;/li&gt;&lt;/ol&gt;The following pictures shows where the customtheme folders are located:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XAb52IpycBU/S5oZe-xDhqI/AAAAAAAAASk/J6dtORry1QM/s1600-h/MyCustomTheme2.gif"&gt;&lt;img style="cursor: pointer; width: auto;" src="http://3.bp.blogspot.com/_XAb52IpycBU/S5oZe-xDhqI/AAAAAAAAASk/J6dtORry1QM/s400/MyCustomTheme2.gif" alt="" id="BLOGGER_PHOTO_ID_5447694719293556386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XAb52IpycBU/S5oZb-siywI/AAAAAAAAASc/sMvvpnMXyIQ/s1600-h/MyCustomTheme1.gif"&gt;&lt;img style="cursor: pointer; width: 199px; height: 275px;" src="http://2.bp.blogspot.com/_XAb52IpycBU/S5oZb-siywI/AAAAAAAAASc/sMvvpnMXyIQ/s400/MyCustomTheme1.gif" alt="" id="BLOGGER_PHOTO_ID_5447694667735026434" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-9223081663085028833?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/sharepoint-2007-create-and-manage.html</link><author>noreply@blogger.com (Robje)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XAb52IpycBU/S5oZe-xDhqI/AAAAAAAAASk/J6dtORry1QM/s72-c/MyCustomTheme2.gif' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-5994916193505683644</guid><pubDate>Mon, 08 Mar 2010 11:22:00 +0000</pubDate><atom:updated>2010-03-08T12:26:20.445+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Microsoft Office System</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint 2010</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Release date SharePoint 2010 and Office 2010</title><description>Last Saturday, Microsoft announced the release date of both SharePoint 2010 en Microsoft Office 2010. &lt;a href="http://blogs.msdn.com/arpans/" target="_blank"&gt;Arpan Shah&lt;/a&gt; wrote:&lt;br /&gt;&lt;blockquote&gt;"&lt;em&gt;Today, we officially announced that May 12th, 2010, is the launch  date for SharePoint 2010 &amp;amp; Office 2010. In addition, we announced  our intent to RTM (Release to Manufacturing) this April 2010."&lt;/em&gt;&lt;/blockquote&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;For consumers, Office 2010 will be available online and on retail shelves this June.&lt;br /&gt;You can read more at &lt;a href="http://blogs.technet.com/office2010/archive/2010/03/04/get-office-today-or-tomorrow.aspx" target="_blank"&gt;http://blogs.technet.com/office2010/archive/2010/03/04/get-office-today-or-tomorrow.aspx&lt;/a&gt; and &lt;a href="http://sharepoint.microsoft.com/businessproductivity/proof/pages/2010-launch-events.aspx" target="_blank"&gt;http://sharepoint.microsoft.com/businessproductivity/proof/pages/2010-launch-events.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-5994916193505683644?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/release-date-sharepoint-2010-and-office.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-352429942522956933</guid><pubDate>Tue, 02 Mar 2010 08:31:00 +0000</pubDate><atom:updated>2010-03-02T09:38:34.357+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>CSS</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><category domain='http://www.blogger.com/atom/ns#'>Themes</category><title>Site Tips: Branding SharePoint (WSS3.0 and MOSS2007)</title><description>Yesterday I started with branding SharePoint for one of our customers. Creating a custom theme is not that easy as it should be. I will come back later on that.&lt;br /&gt;I found some useful sites on the internet. I want to share this one in particular with you:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.heathersolomon.com/content/sp07cssreference.htm"&gt;http://www.heathersolomon.com/content/sp07cssreference.htm&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;This is a nice overview of the used style elements in SharePoint sites. You can easily find the corresponding element that are used in the stylesheets ( e.g. .ms-topnavselected) by using the index or screenshots.&lt;br /&gt;The main site, http://www.heathersolomon.com/blog/articles/sp2007.aspx, shows a lot of information about the structure and customizations of sites.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-352429942522956933?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/site-tips-branding-sharepoint-wss30-and.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-1846167588930940135</guid><pubDate>Mon, 01 Mar 2010 13:05:00 +0000</pubDate><atom:updated>2010-03-01T14:12:36.992+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>WSS</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Install WSS3.0 and MOSS 2007 on Windows 2008 Server R2</title><description>Installing SharePoint (either WSS 3.0 or MOSS 2007) on a Windows Server 2008 R2 is not just a 'next-next-finish' action.&lt;br /&gt;At least, I tried it with MOSS 2007 with SP1. It will not work!&lt;br /&gt;&lt;br /&gt;You will get the following error message:&lt;br /&gt;&lt;blockquote&gt;Title: Program Compatibility Assistant&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Message: No solutions found for Office SharePoint Server 2007 - Please read Microsoft Knowledge Base article: 962935&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;Don't try to find this KB article (it's &lt;a href="http://support.microsoft.com/kb/962935" target="_blank"&gt;here&lt;/a&gt;). It doesn't have anything to do with this particular problem.&lt;br /&gt;&lt;br /&gt;The work-around for this problem is as follows:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy the setup folder of WSS3.0 or MOSS 2007 to the local drive of the server, e.g. C:\Moss_Install&lt;/li&gt;&lt;li&gt;Delete all content in the sub folder "&lt;span style="font-weight: bold;"&gt;updates&lt;/span&gt;"&lt;/li&gt;&lt;li&gt;Download WSS3.0 SP2 (&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=EF93E453-75F1-45DF-8C6F-4565E8549C2A&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;) and MOSS 2007 SP2 (&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=9FB41E51-CB03-4B47-B89A-396786492CBA&amp;amp;displaylang=en" target="_blank"&gt;here&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;Open a command prompt and navigate to the folder where you put the both SP2 files&lt;/li&gt;&lt;li&gt;Extract WSS 3.0 SP2 and MOSS 2007 SP2 using the command prompt:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;[filename] /extract:[path to copied setup folder step 1]\Updates /quiet&lt;/span&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:c:\Moss_Install\Updates&lt;/span&gt;&lt;br /&gt;The SharePoint installation program will automatically read this folder to apply the patches.&lt;/li&gt;&lt;li&gt;Optional: some people mention to delete the wsssetup.dll file. I didn't for the MOSS setup. It just works leaving this file.&lt;filename&gt;&lt;/filename&gt;&lt;/li&gt;&lt;li&gt;&lt;filename&gt;Start the setup.exe in the copied setup folder and you are on your way.&lt;br /&gt;&lt;/filename&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-1846167588930940135?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/03/install-wss30-and-moss-2007-on-windows.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-8502473333884213896</guid><pubDate>Mon, 11 Jan 2010 13:07:00 +0000</pubDate><atom:updated>2010-01-11T14:12:45.406+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><category domain='http://www.blogger.com/atom/ns#'>Fun</category><category domain='http://www.blogger.com/atom/ns#'>Windows 7</category><title>Windows 7 and a GodMode</title><description>Ever heard of a GodMode (strange name by the way) in Window 7? Yes, it's there.&lt;br /&gt;Create a folder somewhere and call it:&lt;br /&gt;GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}&lt;br /&gt;And you get a control panel with 270 options, getting from Action Center (15 actions) down to Windows Update (2 actions). It seems to me that not all settings you can edit and control via control panel are listed. However, is it useful? I don't know, I usually use the search box in the upper right corner of the control panel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-8502473333884213896?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/01/windows-7-and-godmode.html</link><author>noreply@blogger.com (Robje)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-2235514869884085864</guid><pubDate>Fri, 08 Jan 2010 11:59:00 +0000</pubDate><atom:updated>2010-01-08T13:12:28.738+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Microsoft Office System</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint 2010</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>Windows 7</category><category domain='http://www.blogger.com/atom/ns#'>Word</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><title>Edit Office Document from SharePoint in IE8 64 bit version</title><description>Have you ever tried to open a Word document from a SharePoint 2007 document library using Internet Explorer 8 64 bit edition? Today I tried, because I am running a 64 bit Windows 7 edition.&lt;br /&gt;Guess what, next message was shown:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XAb52IpycBU/S0cerM_x8nI/AAAAAAAAARA/WcmeOy7Tgos/s1600-h/SHS2007EditInWord.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 142px;" src="http://3.bp.blogspot.com/_XAb52IpycBU/S0cerM_x8nI/AAAAAAAAARA/WcmeOy7Tgos/s400/SHS2007EditInWord.jpg" alt="" id="BLOGGER_PHOTO_ID_5424338003762999922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So I tried also to open a Word document from a SharePoint 2010 document library in IE8 x64. Of course, it doesn't work either. Only the message was a bit different:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XAb52IpycBU/S0ce8yUtK0I/AAAAAAAAARI/Ps8Px9Qh33M/s1600-h/SHS2010EditInWord.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 151px;" src="http://2.bp.blogspot.com/_XAb52IpycBU/S0ce8yUtK0I/AAAAAAAAARI/Ps8Px9Qh33M/s400/SHS2010EditInWord.jpg" alt="" id="BLOGGER_PHOTO_ID_5424338305840655170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oh, by the way, I am using Office 2007 SP2. I didn't try it with Office 2010 (not installed yet). Maybe that will work? I guess not, but I let you know.&lt;br /&gt;Thanks Microsoft! :(&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I read on technet that the IE8 64 is a so called Level 2 brower. According to Microsoft, Web browser support is divided into two levels: level 1 and level 2. Although administrative tasks on SharePoint sites are optimized for level 1 browsers, SharePoint Server 2010 also provides support for other browsers that are frequently used. To ensure that you have complete access to all functionality, we recommend that you use a level 1 browser for administrative tasks.&lt;br /&gt;&lt;br /&gt;So it seems that editing a Word document from SharePoint is administrative task. In SharePoint it is called 'contribution'... do you follow it?&lt;br /&gt;&lt;br /&gt;Read more at Microsoft Technet:&lt;br /&gt;&lt;a target="_blank" href="http://technet.microsoft.com/en-us/library/cc263526%28office.14%29.aspx"&gt;http://technet.microsoft.com/en-us/library/cc263526%28office.14%29.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-2235514869884085864?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/01/edit-office-document-from-sharepoint-in.html</link><author>noreply@blogger.com (Robje)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XAb52IpycBU/S0cerM_x8nI/AAAAAAAAARA/WcmeOy7Tgos/s72-c/SHS2007EditInWord.jpg' height='72' width='72'/><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-4100295445067472427</guid><pubDate>Thu, 07 Jan 2010 13:19:00 +0000</pubDate><atom:updated>2010-01-07T14:29:06.311+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SharePoint 2010</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><title>SharePoint 2010: Solution for failing step 5 of the configuration wizard</title><description>This week I was trying to install SharePoint 2010 on Windows 2008 R2 (on VMware). That was not that easy. The major problem I faced with was step 5 on the configuration wizard. All the rest went well. There are a lot of sites/blog with information about the different steps, not that hard to do.&lt;br /&gt;But I got every time the following exception:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Failed to register SharePoint services. An exception of type System.ServiceProcess.TimeoutException was thrown. Additional exception information: Time out has expired and the operation has not been completed. System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed. at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) at Microsoft.SharePoint.Win32.SPAdvApi32.StartService(String strServiceName) at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Start() at Microsoft.SharePoint.Administration.SPWindowsServiceInstance.Provision(Boolean start) at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Provision() at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstanceInConfigDB(Boolean provisionTheServiceInstanceToo, String serviceInstanceRegistryKeyName, Object sharepointServiceObject) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInstances(Boolean provisionTheServiceInstancesToo, String serviceRegistryKeyName, Object sharepointServiceObject) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo) at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run() at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()&lt;/blockquote&gt;&lt;br /&gt;To overcome this problem, I tried to increase the amount of RAM from 1GB to 2GB. But that does not solved the problem. One of the other advices was to install SQL Server 2008 SP1. I was not able to install that on my version, so I skipped that part.&lt;br /&gt;The solution that worked for me was removing a couple of registry keys. Removing the following keys solved the problem for me:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server  Extensions\14.0 \WSS\Services\Microsoft.SharePoint. Search.Administration.SPSearchService&lt;/li&gt;&lt;li&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0 \WSS\Services\Microsoft.SharePoint. Search.Administration.SearchService&lt;/li&gt;&lt;/ul&gt;So, finally I have a beta version of SharePoint 2010 running on a virtual machine. So time to play with it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-4100295445067472427?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/01/sharepoint-2010-solution-for-failing.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-5669627106380887721</guid><pubDate>Thu, 07 Jan 2010 12:21:00 +0000</pubDate><atom:updated>2010-01-07T13:29:04.027+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><title>Windows 2008 R2 and bluescreen</title><description>Last year I posted about the blue screen in Windows 7. Today, when I tried to startup my Windows 2008 R2 in VMware (for SharePoint 2010 test purposes), I got a blue screen. So it's still there...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XAb52IpycBU/S0XS4RD26FI/AAAAAAAAAQ4/FWq0hkKpwG4/s1600-h/BlueScreenWin2008VMware.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 341px;" src="http://3.bp.blogspot.com/_XAb52IpycBU/S0XS4RD26FI/AAAAAAAAAQ4/FWq0hkKpwG4/s400/BlueScreenWin2008VMware.jpg" alt="" id="BLOGGER_PHOTO_ID_5423973190331721810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Sometimes I get sick of it... (even SharePoint 2010 is not getting configured correctly... :( )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-5669627106380887721?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/01/windows-2008-r2-and-bluescreen.html</link><author>noreply@blogger.com (Robje)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XAb52IpycBU/S0XS4RD26FI/AAAAAAAAAQ4/FWq0hkKpwG4/s72-c/BlueScreenWin2008VMware.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-1713164309872759785</guid><pubDate>Mon, 04 Jan 2010 08:49:00 +0000</pubDate><atom:updated>2010-01-04T09:51:13.826+01:00</atom:updated><title>Happy new year!</title><description>To all my blog readers: I wish you a good, healthy and happy 2010!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-1713164309872759785?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2010/01/happy-new-year.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-4280150166980290049</guid><pubDate>Mon, 28 Dec 2009 20:49:00 +0000</pubDate><atom:updated>2009-12-28T21:55:36.945+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Tools</category><title>Portable Skype version available!</title><description>Till today, I worked with a Skype version (3.8). For this version there was no portable version, and I love &lt;a href="http://portableapps.com/" target="_blank"&gt;portable apps&lt;/a&gt;. My colleague and I created from the installed 3.8 version a portable one. That worked ok.&lt;br /&gt;Today, I found that there is a portable Skype version (4.1) on portableapps.com. So no need to create your own work-around portable version.&lt;br /&gt;You can download it &lt;a href="http://portableapps.com/apps/internet/skype_portable" target="_blank"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-4280150166980290049?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/12/portable-skype-version-available.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-995001504053944740</guid><pubDate>Wed, 14 Oct 2009 19:38:00 +0000</pubDate><atom:updated>2009-10-14T21:41:05.732+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><category domain='http://www.blogger.com/atom/ns#'>SharePoint</category><category domain='http://www.blogger.com/atom/ns#'>MOSS</category><category domain='http://www.blogger.com/atom/ns#'>Virtual PC</category><title>SharePoint 2010 not possible on Virtual PC</title><description>Today I searched around to see whether it's possible to setup a virtual pc (VPC) with SharePoint 2010. I was planning to setup a virtual domain with two virtual pc's: one as a Domain Controller and one as a SharePoint server. Just as I have now for a MOSS development (and presentation) environment.&lt;br /&gt;Anyway, do you want to know if you can setup this? Well you cannot.&lt;br /&gt;&lt;br /&gt;Why? Well in short:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; SharePoint 2010 will run on 64-bit systems only.&lt;/li&gt;&lt;li&gt;VPC can run on a 64-bit host OS, but only supports 32-bit guest OS.&lt;/li&gt;&lt;li&gt;Virtual Server 2005 R2: same story. It doesn't support a 32-bit guest OS.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;I am really wondering whether Microsoft will sort this problem out, because running Hyper-V  is not really an option. Hyper-V supports a 64-bit guest OS but it’s not an ideal platform especially if you do development on a laptop (as I do). I assume a lot of other SharePoint developers are running into this problem as well.&lt;br /&gt;&lt;br /&gt;It is possible to use VMware, but I don't understand why Microsoft does not have a proper solution for this. They are coming with something that's called &lt;a href="https://www.microsoft.com/windows/enterprise/products/med-v.aspx" target="_blank"&gt;MED-V&lt;/a&gt;.&lt;br /&gt;I didn't have had time yet to read it all in detail, but the basic idea is that those that are 32-bit or running Windows Server 2003 will not have an in-place upgrade option.&lt;br /&gt;Well, that's the place I am standing, right now...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-995001504053944740?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/10/sharepoint-2010-not-possible-on-virtual.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-6183708604435540924</guid><pubDate>Fri, 09 Oct 2009 08:34:00 +0000</pubDate><atom:updated>2009-10-09T13:22:44.073+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Umbraco</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>CMS</category><title>Workaround to run Umbraco V4 on MySQL V4</title><description>I had some troubles running &lt;a href="http://umbraco.org/" target="_blank"&gt;Umbraco version 4&lt;/a&gt; on a MySQL database version 4. I developed a website on a MySQL V5 database, which works fine. The problem occured when I tried to place a backup on the live environment which appeared to be MySQL version 4.&lt;br /&gt;&lt;br /&gt;The following error message was shown:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ERROR 1074 (42000) at line 1947: Column length too big for column 'EMAIL' (max = 255); use BLOB or TEXT instead&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It seems that you cannot use varchar(1000) on MySQL 4. In the backup script (which is an sql file) I replaced all varchar(1000) into TinyText (thanks to my colleague &lt;a href="http://arnoraps.tweakblogs.net/" target="_blank"&gt;Arno Raps&lt;/a&gt;) and as far as I can see now, it works fine.&lt;br /&gt;&lt;br /&gt;Unfortunately, this problem is not well documented on Umbraco, so I just post it here...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-6183708604435540924?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/10/workaround-to-run-umbraco-v4-on-mysql.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-5816873660237820231</guid><pubDate>Tue, 06 Oct 2009 09:28:00 +0000</pubDate><atom:updated>2009-10-06T11:32:31.967+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><title>Evolution Microsoft Windows</title><description>Today, I saw a nice post about the evolution of Microsoft Windows. See it &lt;a href="http://www.hongkiat.com/blog/evolution-of-microsoft-windows-1985-2009/" target="_blank"&gt;here&lt;/a&gt;.&lt;br /&gt;It's getting from:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://hongki.at/images/evolution-of-ms-windows/bootscreen-msw101.jpg"&gt;&lt;img style="cursor: pointer; width: 500px; height: 312px;" src="http://hongki.at/images/evolution-of-ms-windows/bootscreen-msw101.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Up to:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://hongki.at/images/evolution-of-ms-windows/bootscreen-msw-w7.jpg"&gt;&lt;img style="cursor: pointer; width: 500px; height: 375px;" src="http://hongki.at/images/evolution-of-ms-windows/bootscreen-msw-w7.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;nice to see the evolution...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-5816873660237820231?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/10/evolution-microsoft-windows.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-710480716914646613</guid><pubDate>Thu, 01 Oct 2009 12:16:00 +0000</pubDate><atom:updated>2009-10-31T19:56:28.083+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>jQuery</category><title>The easy way to use jQuery DatePicker on ASP.NET controls</title><description>There are several posts on the internet on how to use jQuery datepicker control on ASP.NET (controls). Most of the solutions works with ASP.NET MVC from Microsoft (&lt;a href="http://www.asp.net/mvc/" target="_blank"&gt;http://www.asp.net/mvc/&lt;/a&gt;). Other wrote their own extension classes and you need to use them to get it work. With other words, a lot of extra development steps and stuff. And that's not what I was looking for.&lt;br /&gt;&lt;br /&gt;I was looking for a smaller, faster and easier way of attaching the JQuery datepicker to one of my controls. So I just tried to figure out my own route, and I found one.&lt;br /&gt;&lt;br /&gt;Here follows the way I did it.&lt;br /&gt;1. Just use the ordinary ASP.NET textbox for entering a date:&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;br /&gt;&amp;lt;asp:TextBox ID="txtDate" runat="server" Width="79px"&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2. Downloaded the appropriate JQuery libraries, placed them on your website and place a reference to the libraries (&lt;a href="http://www.blogger.com/jqueryui.com/download/" target="_blank"&gt;jqueryui.com/download/&lt;/a&gt;)&lt;br /&gt;&lt;pre class="brush: xml"&gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="/umbraco_client/ui/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="/umbraco_client/ui/effects.core.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript" src="/umbraco_client/ui/ui.datepicker.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;br /&gt;3. You can use one of the predefined themes (&lt;a href="http://jqueryui.com/themeroller/" target="_blank"&gt;http://jqueryui.com/themeroller/&lt;/a&gt;). Place a reference to the CSS&lt;br /&gt;&lt;pre class="brush: html"&gt;&lt;br /&gt;&amp;lt;link href="/CSS/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" /&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Ok, so far it's just ordinary stuff. Nothing special.&lt;br /&gt;&lt;br /&gt;4. As mentioned in step 1, the input box for a date is called txtDate. As you know, looking at the source code of you page when its rendered, the name (and also the id) is 'renamed' to something like 'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_MasterTemplateContentPlaceHolder_ctl01_ContactForm_4_txtDate'&lt;br /&gt;Don't worry, as long as there is the 'txtDate' part inside the name, the following JQuery function will find it:&lt;br /&gt;&lt;pre class="brush: html"&gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;$(document).ready(function() {&lt;br /&gt; $("input[name*='txtDate']").datepicker();&lt;br /&gt;});&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This piece of code will attach the jQuery datepicker functionality onto all input boxes with (somewhere) txtDate in the name. E.g. it will find input boxes with the name 'ct100_(...)_txtDateIn', 'ct100_(...)_txtDateOut', 'ct100_(...)_oldtxtDateIn' etc. As long as txtDate is used, it will be found.&lt;br /&gt;&lt;br /&gt;I placed this code in the header section of my master page, so all forms that has a txtDate input box, will get the JQuery datepicker.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-710480716914646613?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/10/easy-way-to-use-jquery-datepicker-on.html</link><author>noreply@blogger.com (Robje)</author><thr:total>12</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-92404393525208605</guid><pubDate>Tue, 22 Sep 2009 14:38:00 +0000</pubDate><atom:updated>2009-10-06T12:10:12.757+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>Microsoft Office System</category><category domain='http://www.blogger.com/atom/ns#'>Code Samples</category><category domain='http://www.blogger.com/atom/ns#'>Word</category><title>Update all fields in Word, including headers and footers (Edit)</title><description>At 11th November last year, I &lt;a href="http://blog.vanmeeuwen-online.nl/2008/11/update-all-fields-in-word-including.html"&gt;post&lt;/a&gt; a piece of code to update all fields in a Word document. Some people respond that it didn't work. Well, I tried, and it seems that's true.&lt;br /&gt;Today, I rewrote a new piece of code I found, and that seems to work fine.  I created an extension method for the Word.Document object that does the trick.&lt;br /&gt;&lt;pre class="brush: vb"&gt;&lt;br /&gt;&lt;extension()&gt; _&lt;br /&gt;Sub UpdateAllFiels(ByVal doc As Word.Document)&lt;br /&gt;&lt;br /&gt;Dim section As Word.Section&lt;br /&gt;Dim myRange As Word.Range&lt;br /&gt;Dim myHF As Word.HeaderFooter&lt;br /&gt;&lt;br /&gt;doc.Fields.Update()&lt;br /&gt;&lt;br /&gt;For Each section In doc.Sections&lt;br /&gt;&lt;br /&gt; For Each myHF In section.Headers&lt;br /&gt;  myRange = myHF.Range&lt;br /&gt;&lt;br /&gt;  For Each aField In myRange.Fields&lt;br /&gt;   If aField.Type = Word.WdFieldType.wdFieldDocProperty Then&lt;br /&gt;    aField.Update()&lt;br /&gt;   End If&lt;br /&gt;  Next aField&lt;br /&gt;&lt;br /&gt; Next myHF&lt;br /&gt;&lt;br /&gt; For Each myHF In section.Footers&lt;br /&gt;  myRange = myHF.Range&lt;br /&gt;&lt;br /&gt;  For Each aField In myRange.Fields&lt;br /&gt;   If aField.Type = Word.WdFieldType.wdFieldDocProperty Then&lt;br /&gt;    aField.Update()&lt;br /&gt;   End If&lt;br /&gt;  Next aField&lt;br /&gt;&lt;br /&gt; Next myHF&lt;br /&gt;&lt;br /&gt;Next section&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/extension()&gt;&lt;/pre&gt;&lt;br /&gt;So, now I am able to update all fields easily in my document. In my Word Add-on, I created a own ribbon tab, I placed a button on it, which does the following:&lt;br /&gt;&lt;pre class="brush: vb"&gt;&lt;br /&gt;Globals.ThisAddIn.Application.ActiveDocument.UpdateAllFiels()&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Note: Extension methods is supported on .NET framework 3.5 or higher&lt;br /&gt;&lt;br /&gt;Edit: A little fix: 'doc.Fields.Update()' added to the code. This is the regular Word Update All Fields function (so without doing Headers and Footers).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-92404393525208605?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/09/update-all-fields-in-word-including.html</link><author>noreply@blogger.com (Robje)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4472951086604612395.post-1957852364394219321</guid><pubDate>Mon, 14 Sep 2009 21:14:00 +0000</pubDate><atom:updated>2009-09-14T23:19:24.549+02:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Operating Systems</category><category domain='http://www.blogger.com/atom/ns#'>Fun</category><category domain='http://www.blogger.com/atom/ns#'>Windows 7</category><title>Windows 7 and Blue Screen</title><description>Yep, it's still there. Today, I successfully installed Windows 7. No installation errors, normal function of existing application. So far so good.&lt;br /&gt;O, than I got noticed to install at least one 'critical' update. Well, o.k. then, I choose also three other, less important updates.&lt;br /&gt;Than the installation started, and yes!!! the blue screen of death appeared. So, it's still there, and the problem event has got a name: the &lt;span style="color: rgb(51, 51, 255);"&gt;BlueScreen &lt;/span&gt;event&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XAb52IpycBU/Sq6zB1jZnsI/AAAAAAAAAQM/VOsB_NiHEcw/s1600-h/ItsStillThere.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 312px;" src="http://1.bp.blogspot.com/_XAb52IpycBU/Sq6zB1jZnsI/AAAAAAAAAQM/VOsB_NiHEcw/s400/ItsStillThere.jpg" alt="" id="BLOGGER_PHOTO_ID_5381435448891121346" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4472951086604612395-1957852364394219321?l=blog.vanmeeuwen-online.nl' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.vanmeeuwen-online.nl/2009/09/windows-7-and-blue-screen.html</link><author>noreply@blogger.com (Robje)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XAb52IpycBU/Sq6zB1jZnsI/AAAAAAAAAQM/VOsB_NiHEcw/s72-c/ItsStillThere.jpg' height='72' width='72'/><thr:total>1</thr:total></item></channel></rss>