The Wiert Corner – irregular stream of Wiert stuff

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

  • My work

  • My badges

  • Twitter Updates

  • My Flickr Stream

    20120127-Microsoft-Visual-Studio-2010-New-Work-Item-menu-still-loading...-(try-again-in-a-moment)

    20120127-Microsoft-Visual-Studio-2010-Cannot-navigate-to-definition.Disable-this-productivity-power-tool

    20120127-Microsoft-Visual-Studio-2010-Cannot-navigate-to-definition

    More Photos
  • Pages

  • All categories

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

    Join 366 other followers

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 | Leave a Comment »

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. Selete 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 | Leave a Comment »

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 | 3 Comments »

Delphi Labs: DataSnap XE and jQueryMobile; a Web Frontend accessing DataSnap through a Delphi WebBroker server

Posted by jpluimers on 2011/03/22

Paweł Głowacki recently released two very interesting blog articles, together with 5 (five!) demonstration videos on how to get your mobile device to talk to a DataSnap backend using jQueryMobile so you get a very native look & feel UI on your mobile device without putting a lot of effort in writing a native device app.

Part 1: Delphi Labs: DataSnap XE – WebBroker jQueryMobile Boilerplate – DelphiFeeds.com.
Part 2: Delphi Labs: DataSnap XE – jQueryMobile Web Frontend – DelphiFeeds.com.

Highly recommended!

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

How to clear the “ErrorList” window before compiling

Posted by jpluimers on 2011/03/22

It seems that all versions of Visual Studio suffer from this behaviour:

Visual Studio (VS) doesn’t always clear the “Error List” window of existing errors when you compile a different project but simply appends new errors to it.

Simplest solution: Build | Clean All.
That takes some time (especially on large solutions), but I haven’t found an easier way.

Have you?

–jeroen

via: How to clear the “ErrorList” window before compiling.

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

How big of a team do you need to benefit from bug tracking software? – Programmers – Stack Exchange

Posted by jpluimers on 2011/03/21

Interesting comment on this StackExchange question:

The Student and Startup Edition at Fog Creek includes FogBugz AND Kiln (source control).

–jeroen

via How big of a team do you need to benefit from bug tracking software? – Programmers – Stack Exchange.

Posted in Development, Software Development, Source Code Management | 1 Comment »

Google Chrome about:about – main entrance to the “geek” pages

Posted by jpluimers on 2011/03/21

Google Chrome as a quite extensive collection of about: pages not limited to the empty about:blank and the simple about: info page.

Some of them enable you to view and/or set some geeky stuff.

about:about is the best entrance: it has a list of most of the available about: pages.
An alternative is chrome://about/about/

There are a few more, and some site, including lifehacker published has a nice list in 2008, but since then some of them moved to the regular configuration dialogs.

So here is what still works and what doesn’t (as of Chrome 8.0; 9.0 will change a bit):

Doesn’t work:

Works, but not in the about:about list:

ChromeAccess is an extension plugin that gives you quick access to these pages too.
(Speaking of extensions, there is a FireBug Lite extension for Chrome, and a nice list of popular Chrome extensions)

ChromeFans shows there is also a view-cache: and view-source: prefix.

Finally Zhacks has a list with a few chrome:// pages that are also interesting:

–jeroen

Posted in Chrome, Power User, Web Browsers | 1 Comment »

Vodafone raadt klanten af iPhone en iPad te updaten naar iOS 4.3 | Mobile | Tweakers.net Nieuws

Posted by jpluimers on 2011/03/19

Één woord: wow!

Vodafone raadt klanten voorlopig af om hun iPad of iPhone 3GS te updaten naar iOS 4.3. Dat laat Vodafone weten aan Tweakers.net. Veel klanten kunnen na de update niet meer op het 3g-netwerk van de provider, zo bleek eerder deze week.

–jeroen

via Vodafone raadt klanten af iPhone en iPad te updaten naar iOS 4.3 | Mobile | Tweakers.net Nieuws.

Posted in iOS, iPad, Opinions, Power User | Leave a Comment »

Ideone.com | Online IDE & Debugging Tool >> C/C++, Java, PHP, Python, Perl and 40+ compilers and intepreters

Posted by jpluimers on 2011/03/18

Really cool stuff; dozens of computer languages are supported, including C# and VB.NET (both on Mono) and a few Pascal flavours.

Briefly about ideone

ideone.com is a… pastebin. But a pastebin like no other on the Internet. More accurate expression would be online mini IDE and debugging tool.

Ideone is an Italian word for great ideas – because ideone.com is a place where your greatest ideas can spring to life.

ideone.com is designed mostly for programmers (but, of course, common plain text can also be uploaded). You can use it to:

share your code (that’s obvious – it is a pastebin, isn’t it? :) ) in a neat way,

run your code on server side in more than 40 programming languages (number still growing)

and do it all with your own input data!

ideone.com also provides free Ideone API which is availabe as a webservice. It’s functionality allows you to build your own ideone-like service!

for logged in users Ideone offers possibility to manage their codes, publish multiple submissions at one go, and more.

All codes can be accessed through convenient hash links. Source code pages provide information about the code and its execution: memory usage, execution time, language and compiler version, code itself, input uploaded by the user, output generated by the program and error messages from compilers and interpreters.

–jeroen

via Ideone.com | Online IDE & Debugging Tool >> C/C++, Java, PHP, Python, Perl and 40+ compilers and intepreters.

Posted in .NET, C#, Delphi, Development, Software Development, VB.NET | 4 Comments »

I love my keyboard; why did they hide “Underline keyboard shortcuts and access keys” in Windows 7 so far away?

Posted by jpluimers on 2011/03/18

This is how you get the underline character to show for Alt and other keyboard shortcuts in Windows 7 (the link shows you how to do this with the mouse, but we are keyboard lovers, are’t we?):

  1. Press the WINDOWS-U combination to open the “Ease of Access Center”
  2. Under Explore all settings, select “Make the keyboard easier to use” by pressing TAB a couple of times, then press ENTER to select it.
  3. Press ALT-N to select and check “Underline keyboard shortcuts and access keys” under ”Make it easier to use keyboard shortcuts”
  4. Press ALT-O to fire the OK button action.
  5. Press ALT-F4 to close the “Ease of Access Center”

Done!

–jeroen

via: Underline keyboard shortcuts and access keys.

Posted in Power User, Windows, Windows 7 | 2 Comments »

Orban/Coding Technologies AAC/HE-AAC Player Plugin™

Posted by jpluimers on 2011/03/18

For playing AAC in Windows Media Player: Orban/Coding Technologies AAC/HE-AAC Player Plugin™.

In the past, you could download it from this page, now you need to go underground.

–jeroen

Posted in Power User | Leave a Comment »

Older Fritz!Box Firmwares for 7340 (and 7170/7270/7570)

Posted by jpluimers on 2011/03/17

The Dutch internet provider xs4all keeps an archive of some of the older Fritz!Box firmwares.

Sometimes newer firmwares have some issues, and the Fritz people are often very fast removing the old ones.

Here are some older firmwares for Fritz!Box 7170, 7270, 7340 and 7570: Index of /~helpdesk/firmwares.

Fritz themselves have their Firmwares here: ftp://ftp.avm.de///fritz.box/fritzbox.fon_wlan_7340

–jeroen

Posted in Power User | Leave a Comment »

Solution for “Why do I get a ‘LoaderLock’ Error when debugging my Managed DirectX application” (The ZBuffer)

Posted by jpluimers on 2011/03/17

I maintain some .NET code that still uses the MDX 1.1 (since MDX 2.0 got cancelled, and this project cannot be brought to XNA).

Every now and then, you get a Loader Lock error.

ZBfufer provides the solution (I always use choice #3): Read the rest of this entry »

Posted in .NET, C#, C# 2.0, C# 3.0, Development, Software Development, Visual Studio 2005, Visual Studio 2008, Visual Studio and tools | Leave a Comment »

Visual Studio 2010 Ux #fail: finding the Macro Recorder and Context Menus toolbars #VS2010 #Ux

Posted by jpluimers on 2011/03/16

When you want to enable (or disable) a toolbar in Visual Studio 2010, there are three options to go, of which the last two are equivalent:

  1. Right click in the toolbar area to get a Context Menu, then check/unckeck the toolbar
  2. Right click in the toolbar area to get a Context Menu, choose Customize and check/uncheck the toolbar(s) in the dialog.
  3. In the Tools Menu, choose Customize and check/uncheck the toolbar(s) in the dialog.

The first one is the easiest; you can see the resulting Context Menu in the left picture (click on it to enlarge).
The last two require an extra step; you can see the resulting dialog in the right most picture (click on it to enlarge).

Given the size of those lists, you’d think all toolbars are in both.

Wrong!

These are missing from the Context Menu:

  • Context Menus
  • Recorder

I consider this a serious Ux problem; if the Context Menu was much shorter (like 10 entries or so), it would be pretty obvious they are not.

It took me more than 10 minutes to find the Recorder toolbar which would have been vastly shorter if both lists were the same.

(Another Ux failure that caused my search to be this long is that I was looking for ‘Macro Recorder’ since all entries in the menu contain the word ‘Macro’; Recorder could as well point to a Toolbar for screen, video or audio recording).

–jeroen

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

Why does Recording the TemporaryMacro sometimes fail in Visual Studio 2010? #durftevragen #dtv #daretoask

Posted by jpluimers on 2011/03/16

Every now and then, while recording a TemporaryMacro in Visual Studio 2010, I get this error message:


---------------------------
Microsoft Visual Studio
---------------------------
No TemporaryMacro in designated Recording Project
---------------------------
OK
---------------------------

The Recording a macro topic on MSDN suggest this solution:

Sounds like your macros directory is messed up.  Open Macro Explorer (View\Other Windows\Macro Explorer) and make sure you get the MyMacros element.

However, that works.

And if I check that, the next time I record a TemporaryMacro it just works.

I never had this in Visual Studio 2008, 2005 or older.

Anyone seen this behaviour too?

Anyone who knows why this happens?

–jeroen

via: Recording a macro.

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

“Try to avoid foreach/for loops”–Over my Dead Body! | Visual Studio Feeds

Posted by jpluimers on 2011/03/16

Zack Owens wrote a nice article comparing various loop constructs.

Summary:
If the semantics are the same, it does not matter if you use foreach, for, while or do while: they all  have equal speed.

So: choose the loop construct that best fits the problem you are trying to solve.

–jeroen

via: “Try to avoid foreach/for loops”–Over my Dead Body! | Visual Studio Feeds.

Posted in .NET, C#, Delphi, Prism, Software Development | 12 Comments »

SvnBridge – Fiddler2 debug the TortoiseSVN traphic to Team Foundation Server

Posted by jpluimers on 2011/03/15

The link below shows you how to use Fiddler2 to trace how TortoiseSVN communicates with SVN Bridge.

TortoiseSVN is a well known SVN client that nicely integrates with the Windows Explorer shell.

SvnBridge sits on top of TFS so that you can use Subversion clients against Team Foundation System.

The settings are so that only the TortoiseSVN requests are captures.

Basically the trick is to start Fiddler2, have it stop capturing WinINET traffic, then modify the TortoiseSVN uses Fiddler2 as HTTP proxy.

Here are the details: SvnBridge – Use TortoiseSVN with Team Foundation Server.

Hope this helps a few of you debugging the TortoiseSVN path to SvnBridge.

–jeroen

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

The True Cost of SMS Messages – Slashdot

Posted by jpluimers on 2011/03/15

Via The True Cost of SMS Messages – Slashdot.

Spoiler: very close to one over infinity.

–jeroen

Posted in Power User | Leave a Comment »

Is Linux Ready for the Desktop?

Posted by jpluimers on 2011/03/14

Larry Hengen recently posted the question Is Linux Ready for the Desktop on his TPersistent.com blog.

Though I like Linux (most of my incoming mail and web traffic is handled by a few SuSE Linux boxes), and have done so for a really long time.

I started with Linux about 15 years ago, after having uses SunOS and Minix in the early nineties, so I’d love Linux getting momentum in the desktop world.

But I don’t think it will; here is what I commented on the blog post:

Jeroen Pluimers Says:
March 7th, 2011 at 9:05 am
It won’t, and likely never will. Whereas the Linux server side is quite consistent in what you have and can use, the UI side still has way too many parties struggling to get their ‘way of doing UI’ (be it framework, theming, app suite, etc) accepted, so it is heavily fragmented.

In order to gain acceptance in the Desktop market, you need momentum, not fragmentation.

Apple recognizes that (in a very stringent way), Microsoft recognizes that (in a firm, but less stringent way), the Linux community at large doesn’t.

15 years ago, on one of my first Linux presentations, when you had only few flavours of UI on Linux, I was hopeful. Now I just use a Mac, or Windows.

Do you have a different opinion on this? let me know!

-–jeroen

Is Linux Ready for the Desktop? – DelphiFeeds.com.

Posted in Opinions | 1 Comment »

Convert Microsoft Access JET SQL to SQL Server T-SQL Cheatsheet and Access JOIN parenthesis

Posted by jpluimers on 2011/03/14

There are truckloads of differences in SQL between Microsoft Access and SQL Server.

This Convert Microsoft Access JET SQL to SQL Server T-SQL Cheatsheet helps you convert between the two.

It doesn’t cover the parenthesis thing that Access needs on joins, but you can read on that here, here and here.

–jeroen

Posted in Access, Database Development, Development, SQL, SQL Server | Leave a Comment »

Duh: iPad safari search inside is easy!

Posted by jpluimers on 2011/03/14

The old iOS version of safari had no way of searching inside a page so I never took the time to find out (pun intended) if it was added in the new iOS.

But: I still missed this obvious feature, and – after finding out how – was amazed it is so easy.

As GilsMethod points out, just use the search box: in addition with a list of search suggestions, it comes up with a list of matches for the current page too.

–jeroen

Posted in iOS, iPad, iPhone, Power User | Leave a Comment »

ISO CD/DVD image mounting tools for Windows

Posted by jpluimers on 2011/03/11

A few tools for mounting ISO CD/DVD images:

–jeroen

Posted in Power User, Windows, Windows 7, Windows Vista, Windows XP | Leave a Comment »

Routes.TomTom.Com #fail Sassenheim and Aankomstpassage Schiphol

Posted by jpluimers on 2011/03/11

Routes.TomTom.com is having Alzheimer.

It used to understand these addresses fine (in fact I copied them from my history):

  • Aankomstpassage Schiphol, Haarlemmermeer, NL
  • Gouverneurlaan 1, Sassenheim

Even though both addreses are clearly visible on their maps, currently it makes this out of them:

  • Multi-Vlaai Schiphol, Schiphol, Haarlemmermeer, NL
    Airtrade Holland Schiphol, Schiphol, Haarlemmermeer, NL
    Per Tutti Schiphol, Schiphol, Haarlemmermeer, NL
    Rabobank Luchthaven Schiphol, Schiphol, Haarlemmermeer, NL
    Rabobank Luchthaven Schiphol, Schiphol, Haarlemmermeer, NL
  • Sanem, Luxemburg

The latter is a silent one: it keeps the address info, but routes you about 350 kilometers in the wrong direction.

You have to work around it by manually including the country:

  • Gouverneurlaan 1, Sassenheim, Nederland

Regression testing, anyone?

–jeroen

Posted in Opinions | 1 Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 366 other followers