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 May, 2012

How to Fix Temporary Profile in Windows 7

Posted by jpluimers on 2012/05/11

(Thanks to a “Missed Post” problem on WordPress.com, this one didn’t get posted on the scheduled date. Sorry for any inconvenience)

You can fix the “temporary profile” in Windows 7 if you have access to the registry.

So it totally depends on how tight security at your clients is, and how fast their alternative processes are…

–jeroen

via: How to Fix Temporary Profile in Windows 7.

Posted in Missed Schedule, Power User, SocialMedia, Windows, Windows 7, WordPress | Leave a Comment »

The meaning of “On-link” in the IPv4 result of the “route print” command (Windows 7, 2008, Vista; via: Super User)

Posted by jpluimers on 2012/05/11

The “route print” command in Windows will show you some “On-link” entries in the gateway column. This is from Windows Vista and up. Before that, you would see “127.0.0.1”.

While creating Windows Vista and Windows Server 2008, Microsoft built a “Next Generation TCP/IP Stack” (Wikipedia link) that – apart from adding IPv6 – added many new features and performance improvements.

Since traffic routable through the local machine can have multiple IPv4 and IPv6 addresses, it is not called ” 127.0.0.1″ any more, but “On-link” as the answers to the windows 7 – What does “On-link” mean on the result of “rout print” command? on SuperUser nicely point out:

They are addresses that can be resolved locally. They don’t need a gateway because they dont need to be routed.

and this:

Yep, the other three answers are correct: it’s just a route thats directly reachable the NIC is in direct contact with it; on the same subnet. To explain a little further though: by contrast, the routes that have a gateway IP listed must be contacted through that gateway.

Note that sometimes the new TCP/IP stack needs some arm wrestling in order to have it do what you want (for instance to have it honour TCP metrics).

Note that the “default gateway” line is also missing, as it is in the 0.0.0.0 network destination.

A few examples of what route print shows: Read the rest of this entry »

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

Recommended reading: Greg Beechs Blog | Greg Beechs Website

Posted by jpluimers on 2012/05/10

To bad that Greg Beechs Blog only has “42 Entries” as those entries (from the start of 2006 till the end of 2009) are well worth reading on various .NET related topics.

–jeroen

via Greg Beechs Blog | Greg Beechs Website.

Posted in .NET, C#, C# 2.0, C# 3.0, Development, Software Development | Leave a Comment »

Getting TLIST.EXE: Microsoft TaskLister from the Debugger Tools

Posted by jpluimers on 2012/05/09

A few notes on TLIST.EXE:

  1. Lots and lots of articles mention it.
  2. Not all versions of TLIST.EXE will work on all Windows versions (I found a 40k version 3.51 at a client that clearly hangs on their XP systems, where the version 3.50 works fine but is more limited).
  3. It is hard to find an actual download.

This is what I downloaded as I prefer ISO files prefer web-installers:

http://download.microsoft.com/download/4/A/2/4A25C7D5-EFBE-4182-B6A9-AE6850409A78/GRMWDK_EN_7600_1.ISO

I got there through these pages (in reverse chronological order)

–jeroen

Posted in Debugging, Development, Power User, Software Development, Windows, Windows 7, Windows Vista, Windows XP | 1 Comment »

Batch file to “Keep Alive” a CMAK generated VPN connection in Windows 7

Posted by jpluimers on 2012/05/08

Some clients generate their VPN connection settings using the CMAK (Connection Manager Administration Kit). Apart from the cumbersome way to support both x86 and x64 at the same time, they usually add in some kind of time-out feature, and often route the whole 10.0.0.0/8 network over the VPN to just host a couple of dozen machines. Having done most of my VPN connections by hand, and automating them using rasdial to dial these from the commandline, I also found out the hard way that you cannot use rasdial for CMAK generated VPN connections: it will give you the error “This function is not supported on this system.”. The funny thing is: you can disconnect using rasdial. Luckily, the far less well documented rasphonedoes work for dialing. The batch file below uses a few tricks, and you can set the parameters in the top of the batch file.

Have fun with it!

Posted in Development, Power User, Scripting, Software Development, Windows, Windows 7 | 1 Comment »

10 great uses of image and face recognition – TNW Apps

Posted by jpluimers on 2012/05/07

10 great uses of image and face recognition – TNW Apps.

–jeroen

Posted in Power User | Leave a Comment »

Microsoft Excel 2007/2010 – Protecting Workbooks and Worksheets

Posted by jpluimers on 2012/05/04

One of the things about the Office 2007 and 2010 Ribbon is that it makes the things that you have remembered for 10+ years go into hard to find places.

My point is that according to the ribbon documenation:

A ribbon can replace both the traditional menu bar and toolbars.

Microsoft has decided to read the “a ribbon can replace” as “the ribbon replaces”. Thereby also introducing a whole new naming for the UI elements used in ribbons (see at the bottom).

Tab "Review"; Group "Changes"; Commands "Protect Sheet" / "Protect Workbook"

Tab “Review”; Group “Changes”; Commands “Protect Sheet” / “Protect Workbook”

Protecting a worksheet and workbook have been in the menu “Tools”, submenu “Protection” forever. But alas: No more “Tools” menu, and accompanying keyboard shortcut productivity (and I needed “unprotect workbook” because you cannot copy workbooks inside a protected workbook).

As “password protect worksheet” shows, it is now under:

  1. Tab: Review
  2. Group: Changes
  3. Commands: Protect Sheet / Unprotect Sheet / Protect Workbook / Unprotect Workbook

–jeroen

via: Microsoft Excel 2007 – Protecting Workbooks.

Naming of ribbon UI elements

Naming of ribbon UI elements

Posted in Excel, Keyboards and Keyboard Shortcuts, Office, Power User | Leave a Comment »