alkampfer on September 19th, 2007

Today I open my visual studio, open “Device emulator manager” started an emulator of virtual pc and then “Cradle” the decive to access with WMDC (Windows mobile device center)…the result is nothing, my emulator won’t cradle L

After a little search I found that there is a new version for WMDC downloadable here, this resolves partially [...]



kick it on DotNetKicks.com

Continue reading about Pocket pc emulator and cradle in windos vista

One of my colleague write a service for windows, he install the service on a server, then set the startup mode as “automatic” but the service fail to start. When the server is rebooted the service is in state stopped, if you start the service all is good, but the service is not started whenever [...]



kick it on DotNetKicks.com

Continue reading about Custom services failed to start even if automatic start is enabled

alkampfer on September 13th, 2007

Code generators are really useful because they could cut down the time needed to write tedious code. There are a very good code generator called CodeSmith, with an old version that is freeware, but it is possible to generate code with own code with the help of CodeDom. CodeDom namespace contains a lot of classes [...]



kick it on DotNetKicks.com

Continue reading about Generate code with CodeDom

I need to create a project and add references to Microsoft.VisualStuidio.Designer.Interfaces, since it does not get listed on the standard reference pane I resort editing the csproj manually adding the references.

<Reference Include=”Microsoft.VisualStudio.Designer.Interfaces, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”>

<SpecificVersion>False</SpecificVersion>

<HintPath>D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Microsoft.VisualStudio.Designer.Interfaces.DLL</HintPath>

[...]



kick it on DotNetKicks.com

Continue reading about How to add reference to Microsoft.VisualStudio.Designer.Interfaces

alkampfer on September 12th, 2007

In another post I spoke about castle Windsor and lifecycle of objects, now I want to show how to write a custom lifecycle. First of all the class must inherit from AbstractLifestyleManager class, then we must choose where to store the instance of the object that are created by the container. Since I want to [...]



kick it on DotNetKicks.com

Continue reading about Write a custom lifecycle for castle windsor