Jobping Laurent Kempé MVP JetBrains Academy Member Certified ScrumMaster


My status

View Laurent Kempé's profile on LinkedIn

Xbox 360


Locations of visitors to this page

.NET Dudes


French .NET Dudes




Tech Head Brothers

May 2007 - Posts

Windows Live Writer Beta 2 released

This release incorporates a ton of feedback from our discussion forums and your blogs. Here are some of the new features you'll find in Beta 2:

New Authoring Capabilities

  • Inline spell checking
  • Table editing
  • Ability to add categories
  • Page authoring for WordPress and TypePad
  • Support for excerpts and extended entries
  • Improved hyperlinking and image insertion
  • Paste Special
Integration and Compatibility
  • SharePoint 2007 support
  • New APIs enabling custom extensions by weblog providers
  • Automatic synchronization of local and online edits
  • Integration with Windows Live Gallery
  • Support for Blogger Labels
  • New look and feel
  • Available in 6 languages
  • Improved accessibility and keyboard support
  • Many other frequently requested enhancements!

Read more on the blog.

Download the new version.

By the way, I posted this entry with the new version and I like the first impression.

Posted: May 31 2007, 08:21 PM by lkempe | with no comments
Filed under:
Innovative Technology Weblog » How to relocate your Groove 2007 files to another disk

Hey Olivier, do you read my blog ? Here is the answer to your question, but this solution is not official 

Link to Innovative Technology Weblog » How to relocate your Groove 2007 files to another disk

:D Hilarious reading :D

Roy Osherove just posted a link to a really hilarous story about a fantastic hacker, a must read.

Shut Up I Hack you

I read this one a while but yesterday a friend forwarded the link to me again, and I smiled as I read it again.

Here's how to be a real hacker

RegisterClientScriptInclude and scripts ordering

I spend a part of this evening fighting with ScriptManager.RegisterClientScriptInclude and had no chance to use it in a way that my javascripts would appear after MicrosoftAjax.js and in an order that I defined.

I finally found a solution, using ScriptManagerProxy and declaratively listing the javascripts in the order I wanted.

Posted: May 25 2007, 01:04 AM by lkempe | with 1 comment(s)
Filed under:
Cannot open new window under Vista !!

I was experiencing for some time a quite strange effect on my no so old installation of Windows Vista. After some dyas of usage without any reboot I sometime was unable to open any new window, it could be an explorer, internet explorer 7 tab, a menu of tray icon, and this without any error message. I first thought it was an issue with the video driver, but after too much annoyance I searched the web and found a post "Max Num. of Open Windows under XP/2003/VISTA - Resolved !' explaining the issue and a possible fix.

From Ohad's WebLog

When I'm working (it happens from now and then...) I always tend to open lots and lots of explorer windows as I Google for answers to questions that come along while coding...

When I used XP and Win 2003 it always bothered me that as soon as I opened 15-17 Internet explorer windows my system got stuck so hard that even right click context menu wouldn't seem to show up.
When I migrated to Vista I though that finally someone in MS will fix this limitation but I was disappointed to find out that it still there...

Well after looking and looking... searching and hacking ... I found the answer !

Its all about the desktop heap !

Following is Desktop Heap Tweak:

Because it is an undocumented registry tweak I take no responsibility regarding implementing this tweak ! It worked for me and if you choose to tweak your system you are doing it on your own risk.

Longtime Windows users are familiar with the desktop heap, a memory space that Windows allocates for desktop objects such as, well, windows.

Each open window or other desktop object uses up a certain amount of the desktop heap. In older versions of Windows the desktop heap was very small, and objects weren't always disposed from the heap correctly.

This was a good part of the reason for the Incredible Shrinking Resource Heap problem that plagued the 16 and hybrid 16/32-bit versions of Windows.

NT fixed this problem by devoting a far larger chunk of memory to the desktop heap -- but the fact that it had a far better memory manager than Win 3.x or Win9x, and a pure 32-bit architecture, didn't hurt either.

The desktop heap limit affects the NT/VISTA family of systems, Hitting the limit is manifested as either a DLL initialization error for USER32.dll or an out of memory error.

Fortunately, the limit it tweakable, the default settings are low enough that the limit is easily hit.
To tweak the limit, take a look in the registry at HLKM/System/CurrentControlSet/Control/Session Manager/SubSystems

(cranked up a bit if you find yourself manipulating a lot of desktop objects.)

Within that key is a subkey called Windows, which contains in it, among other things, the value "SharedSection=1024,3072"

Changing the SharedSection entry to "1024,3072,512" (note the comma and the value)increases the size of the "hidden" desktop heap.

If that doesn't work, try increasing the second of the comma delimited values (e.g. 3072 -> 4096) which is the size limit of any particular desktop heap.

Update: just to clarify for some pepole... on vista your default is 1024,3072,512 changing is to 1024,4096,512 will make the difference

I did the modification and for the moment didn't had any issue, but I will wait one more week to be sure that it works good for me.

Posted: May 22 2007, 10:27 PM by lkempe | with 16 comment(s)
Filed under:
Start++ 0.5 and 0.6 released

Start++ is an enhancement for the Start Menu in Windows Vista. It also extends the Run box and the command-line with customizable commands.  For example, typing "w Windows Vista" will take you to the Windows Vista page on Wikipedia!

See the full description on this page.

What is new from 0.4.6 to 0.6

Fixes since 0.4.6

  • Double-quotes in web searches should work properly now.
  • UI hook should be more reliable
  • Fixed some erroneous idle CPU usage when running in the background.
  • Misc stability improvements.

New Features

  • Search Startlets can now be scripted using JavaScript! 
  • Fancy new scripting UI.

Changes since 0.5

  • The included "play" scripts were broken for most people, they are now fixed.
  • Start++ no longer attempts to hook the Start Menu UI on non-English versions of Windows (support for other language versions will come eventually).
  • Fixed focus issues when launching commands or elevated apps (hopefully once and for all).
  • Running a Startlet from the Start Menu no longer starts a new shortlived Start++ process to execute it in, if Start++ is running in the background.
  • The embedded Start Menu UI shouldn't jump around anymore the first time it's shown.
  • The "mail" and "play" scripts now show friendly error messages if no results are found.
  • Script authors can now get at the parameters the user typed in as well as the full search query
  • Added "Donation / License" tab.
  • Other misc fixes.

It is a great tool even if the version 0.4.6 was buggy and crashed often on my machine.

Posted: May 22 2007, 09:45 PM by lkempe | with no comments
Filed under:
Something cool is coming next on Tech Head Brothers!!!

Stay tuned... :-)

Posted: May 12 2007, 11:33 AM by lkempe | with no comments
Filed under: ,
CSS Adapters issues with Login controls

If you are using ASP.NET 2.0 CSS Friendly Control Adapters 1.0 with the Login controls of ASP.NET 2.0 you might have experienced some issue like multiple postback when using Internet Explorer. You might get a GREAT fix and explanation of the issue from Tana Isaac of Wellington, New Zealand.

Double Postback Problem - Cause (skip this if you just want the fix!):

Buttons that reside within the controls that are adapted by the CSS Control Adapters, for example the CreateUserWizard.CreateUserButton, are rendered out differently depending on the button type (which is set for example via CreateUserWizard.CreateUserButtonType = ButtonType.Link). The default button type used by the membership controls is Button. The following html controls are rendered out for the different System.Web.UI.WebControls.ButtonType enum values:

ButtonType.Button: input, type=submit
ButtonType.Image: input, type=image
ButtonType.Link: anchor

Both of the input controls will automatically cause the form that they reside within to be posted back to the server when they are clicked, whereas the anchor will not - instead it needs some javascript to cause a postback. This is where the problem is - all three html controls are rendered out with javascript attached to post the form back to the server on a click event, which allows buttons of type 'Link' to work correctly but causes buttons of type 'Button' and 'Image' to postback twice - the first time due to the javascript and the second because of the native postback.

The javascript method used to cause the postback is as follows:

WebForm_DoPostBackWithOptions(WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit))

In order to stop 'Button' buttons and 'Image' buttons firing twice we just need to set the clientSubmit parameter to false when these types of buttons are rendered out.

Other problems (specific to the CreateUserWizardAdapter control)

Once the double postback problem was fixed two other problems popped up. The first was that users still weren't being created. This was because the id and name (which is derived from the id) being used for the create user button was missing an underscore.

The other problem was that the cancel button didn't work. It was also missing an underscore from its name and also wasn't registered for Event Validation.


Great work Tana, Thanks for sharing you saved me some time.

Update: The CSS Adapters project is now hosted on Codeplex, http://www.codeplex.com/cssfriendly.

Posted: May 04 2007, 11:45 PM by lkempe | with 1 comment(s)
Filed under: ,
Switcher 1.2 - Nice Vista Aero tool

A nice tool for Windows Vista, I will not tell you more you need to try it (especially you Didier ;-)

You can get it from this page: http://insentient.net/

The blog about Switcher is on this page: http://baostuff.spaces.live.com/

Posted: May 04 2007, 11:21 PM by lkempe | with no comments
Filed under: ,
More Posts