The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for March, 2011

Congrats, you’ve gained the privilege – access to #moderator tools – Jeroen Pluimers – #StackOverflow

Posted by jpluimers on 2011/03/31

Wow, it seemed enough people liked my contributions to StackOverflow to give me access to the moderator tools.

Great power comes with great responsibility, so I will be very careful when exercising moderator power.

Thanks to everyone how voted (up or down!) on my contributions!

–jeroen

via: User Jeroen Pluimers – Stack Overflow.

Posted in Opinions | Leave a Comment »

Bootstrap and DVD ISO Download details: Microsoft Visual Studio 2010 Service Pack 1

Posted by jpluimers on 2011/03/30

The Download details: Microsoft Visual Studio 2010 Service Pack 1 (Installer) initially lets you download a bootstrap installer that only downloads the Service Pack 1 parts you actually need.

A bit further down on that page is the link to the full ISO DVD image with the anything you might need when updating multiple systems.

–jeroen

Posted in .NET, Development, Software Development, Visual Studio 2010, Visual Studio and tools | Leave a Comment »

Delete a Team Project from Team Foundation Server

Posted by jpluimers on 2011/03/30

Somehow, deleting TFS projects is still not integrated in a default UI.

You can use TFSDeleteProject from the command-line though.

The TFSDeleteProject tool works for TFS 2005, 2008 and 2010, as these posts show:

It is usually in a directory like “\Program Files\Visual Studio 9\Common7\IDE\”.
Oh: don’t put quotes around “Project-Name“:

TfsDeleteProject /server:myteamserver.benday.com Project-Name

–jeroen

via Delete a Team Project from Team Foundation Server.

Posted in Development, Software Development, Source Code Management, TFS (Team Foundation System) | Leave a Comment »

Should I really install Windows 7 x64 SP1 after so many people get BSODs?

Posted by jpluimers on 2011/03/29

I’m hesitating to install Windows 7 SP1 on my development machines.

I do use the MUI language packs, and people doing that get BSODs after installing SP1.

Michael S. Kaplan (one of Microsoft’s nicest i18n people), wrote it like this: Lack of confidence in a feature can keep me from installing it. Oh yeah, a BSOD can, too (in a reaction to Why am I receiving “Error C000009A” after installing Windows 7 Service Pack 1 (SP1)?)

Two weeks ago, I had two co-workers that got a C00000034 too on difference machines; those could be resolved (not to complete satisfaction, but they could work) and cost a couple of hours work.

Opinions, anyone?

–jeroen

Posted in Opinions, Power User, Windows, Windows 7 | 1 Comment »

C# Toolbox: Debug-able, Self-Installable Windows Service Template Redux | Visual Studio Feeds

Posted by jpluimers on 2011/03/29

James Michael Hare finally published his Debug-able, Self-Installing Windows Service Template download.

Quote: Read the rest of this entry »

Posted in .NET, C#, Development, Software Development | 2 Comments »

How can I generate a consistent but unique value that can coexist with GUIDs? – The Old New Thing – Site Home – MSDN Blogs

Posted by jpluimers on 2011/03/25

For later reference:

How can I generate a consistent but unique value that can coexist with GUIDs? – The Old New Thing – Site Home – MSDN Blogs.

–jeroen

Posted in Development, Software Development | Leave a Comment »

Some LinkedIn sender addresses you can use for filtering

Posted by jpluimers on 2011/03/25

Years ago, I set some filters on incoming messages from LinkedIn. Boy I was wrong: the filters were way to generic, resulting in too much mail skipping my inbox.

Here is a run-down from LinkedIn sender addresses I got mail from over the past couple of years:

  • answers@linkedin.com – the Q&A part of LinkedIn
  • communication@linkedin.com – some generic overview statistics reports ???
  • connections@linkedin.com – connection confirmations
  • connections_dev@linkedin.com – connection confirmations (seems not to be in use any more)
  • emailconfirm@linkedin.com– confirmation of email address
  • groups-noreply@linkedin.com – group announcements
  • group-digests@linkedin.com – digest group messages
  • groups@linkedin.com – individual group messages
  • invitations@linkedin.com – incoming invitations
  • member@linkedin.com – invitations / direct messages
  • messages-noreply@linkedin.com – direct messages or CCs of messages
  • requests-noreply@linkedin.com – group introductions
  • updates@linkedin.com – sitewide updates, notification of email bounces
  • linkedin@em.linkedin.com – ??? correlation unclear (only 10 msgs)

Have fun adjusting your mail filters!

–jeroen

Posted in LinkedIn, Power User, SocialMedia | Leave a Comment »

trace switches for LLBLGenPro

Posted by jpluimers on 2011/03/24

I always forget which trace switches in the App.Config come in handy when using LLBLGenPro.

So  I remember: The most important one is SqlServerDQE.

More of them are explained in Righthand blogs : Implementing more useful tracing for LLBLGenPro 2.0.

–jeroen

Posted in .NET, Development, LLBLGen, Software Development | Leave a Comment »

SccProjectName value in .csproj hosed – strange build results (via: Interesting support case – Visual Studio solution prompts for entire SCC check-out on open – Developer Support Team Foundation Server – Site Home – MSDN Blogs)

Posted by jpluimers on 2011/03/24

Something in TFS screwed a SCC references in one of the .csproj files at a client.

As a result, it generated strange build errors (unfound projects in the wrong branch), because when loading project from the correct, the IDE in fact loads it from the wrong branch.

When you read the blog post from the Microsoft TFS development support team, the solution looks simple: in a regular project the values for SccProjectName, SccLocalPath, SccAuxPath and SccProvider should all be SAK (indicating the SCC should ignore their values).

That is only 1 piece of the solution. Somehow, Visual Studio and/or TFS seem to cache some information in hidden places, so it keeps insisting to use the project from the wrong branch.

So, in addition to changing the above SAK values in the project in the correct branch, you need to:

  1. Also check (and if wrong change) the above values to SAK for the project in the wrong branch
  2. Remove the references to the project in the wrong branch from the Visual Studio MRU list in the registry (HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList)
  3. Delete the .suo file for the good solution
  4. Add the project from the correct branch to the solution
  5. Manually modify the .sln file in the correct branch to remove the relative directory paths to the project in the wrong branch (values in keys named like SccProjectUniqueName58, SccProjectName58 and SccLocalPath58)
  6. Reload the solution in Visual Studio and check everything works correctly

It took at least a couple of hours to find this all out, for these reeasons: Read the rest of this entry »

Posted in .NET, C#, Development, Software Development | 2 Comments »

Delphi XE introduced SafeIntfAsClass to cast back interface to class (via: oop – Delphi – Proxy Design Pattern – interface problem – Stack Overflow)

Posted by jpluimers on 2011/03/23

Delphi XE introduced the SafeIntAsClass to cast back from an interface to a class.

This is one of the things I really started to miss after doing a lot of .NET work (where that worked starting with .NET 1).

Older versions of Delphi did not support safely casting from an interface back to an object.

–jeroen

via: oop – Delphi – Proxy Design Pattern – interface problem – Stack Overflow.

Posted in Delphi, Development, Software Development | 4 Comments »