12th
February
2009
.NET/C# Programming
PowerShell
Apps and Tools
Other Stuff
posted in Dotnet/.NET - C#, Links, PowerShell, Programming, Silverlight, Software/tools, Technology |
23rd
January
2009
A while ago I had been posting my Finds of the Weeks series and this is the continuation of that. Instead of weekly though, this series will be more of a “whenever possible” kind of thing.
General Programming
.NET/C# Stuff
Database
Windows
- Experiencing strange issues with your Windows (like dialog boxes that don’t show up)? You may be having a desktop heap issue. Try these articles:
- If IE crashes when you try to open SharePoint documents, try this fix: regsvr32 “C:\Program Files\Microsoft Office\OFFICE11\OWSSUPP.DLL”.
Software, Tools, etc.
- If you have a Linksys WRT54* router, I highly recommend loading Tomato firmware. I have been using it for about 6 months now and it’s so much better than the built-in Linksys firmware. Tomato’s QOS works great to make sure my Vonage phone line remains usable at all times.

PowerShell
- Ben Pierce posted a series of very useful PowerShell command-line demos: Demo1 (Administering Windows), Demo 2 (Administering Servers in bulk), Demo 3 (How do I Know Which Class to Use), Demo 4 (Administering Hyper-V).
Something Different
posted in Dotnet/.NET - C#, PowerShell, Programming, Software/tools, Technology, Uncategorized, Windows Mobile / Pocket PC |
27th
August
2008
If you are a subscriber to my blog, you may have noticed that I have not been posting my more “Finds of the Week” in the last 2 months. Well, I was a little busy with the month-long Euro 2008 tournament in June, plus a couple of new games (Crysis and Medieval Total War II). Finally the Olympics in August finished me off.
I am going to turn this series into a periodic (as in longer than weekly :-)) Interesting Finds series from now on.
Oh, if you want to know… Crysis is ok. Very good graphics and requires a hot rod box but gameplay is just ok. I am more into realistic squad-based shooters. Medieval 2 is very addictive.
.NET, C#
Programming, General
PowerShell
- I am finding more and more things I can do with PowerShell everyday. The other day I had to “touch” a file… two lines is what it takes:
PS C:\Users\Cdo\AppData\Local\Temp> $f = ls testFile.txt
PS C:\Users\Cdo\AppData\Local\Temp> $f.LastWriteTime = new-object System.DateTime 2007,12,31
PS C:\Users\Cdo\AppData\Local\Temp> ls testFile.txt
Directory: Microsoft.PowerShell.Core\FileSystem::C:\Users\Cdo\AppData\Local\Temp
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 12/31/2007 12:00 AM 8 testFile.txt
PS C:\Users\Cdo\AppData\Local\Temp>
Something Different
posted in Dotnet/.NET - C#, PowerShell, Programming |
25th
June
2008
I am finding more and more things I can do with PowerShell everyday. The other day, I had to “touch” a file… one line is what it takes:
(ls testFile.txt).LastWriteTime = New-object DateTime 1991,12,31
posted in PowerShell, Programming |
31st
March
2008
Programming
.NET/C#
PowerShell
posted in Dotnet/.NET - C#, PowerShell, Programming, Software/tools |
4th
March
2008
Programming
C#.NET
.NET Tips & Tricks
Powershell
- Round-robin game scheduling algorithm in Powershell. By Scott Hanselman. Check out my C# 2.0 algorithm in the comments section.
- Mitch Denny wrote How To: Host the PowerShell Runtime.
- Use Powershell array expression syntax @(…) allows you to force a scalar return value to be wrapped in a array, if it’s not already in an array. I learned about this the hard way while trying to figure out while Get-Childitem sometimes returns an array and sometimes a scalar. Bruce Payette wrote more about it here.
Windows Mobile / Pocket PC
- I needed a way to stream music and other media to my Windows Mobile phone (Samsung SCH-i760) and all the PCs around the house. Orb seems to be the answer. I’ve only had it running for a few days but it seems to be working great. I can stream music and photos (have not tested videos yet) to any PC in the house or anywhere on the net. I can also listen to my entire music library on my i760 phone anytime, anywhere through Verizon Wireless’s unlimited (with a catch… not to exceed 5GB) EDVO connection.
- I am a Google Mobile guy, but Yahoo! Go for Windows Mobile also looks very cool. I downloaded it to my Samsung SCH-i760 a few days ago. I am still checking it out but here are a few things I like:
Software and Tools
Something a Little Different
posted in Dotnet/.NET - C#, PowerShell, Programming, Technology, Tips, Windows Mobile / Pocket PC |
28th
January
2008
.NET Programming, C#
Powershell
Software and Tools
Windows Mobile / Pocket PC
Something Different
posted in Dotnet/.NET - C#, PowerShell, Programming, Software/tools, Technology, Windows Mobile / Pocket PC |
6th
January
2008
It’s 2008. Happy New Year!
Tips and Tricks
- I can’t believe I didn’t know about this Visual Studio command before: File.OpenContainingFolder. Asmita A Wankhede mentioned it, but he left a few important details out. By default, this command does not have a shortcut, so you would have to assign one to it (try CTRL+SHIFT+ALT+O). Also, the "item" that this command works on is the currently opened item in the editor, not the selected item in the Solution Explorer. See my Visual Studio tips article for instructions on how to create new shortcuts (section 3 - Make New Shortcuts).
- Aaron Lerch shared a tip on how to use Powershell to perform search-and-replace on an entire folder hierarchy.
.NET, C#, Programming
Software And Tools
- Did you know that something called Robocopy (short for Robust File Copy, not Robot Copy), is the new XCOPY? It’s a standard tool in Windows Vista and is also available as part of the Windows Resource Kit. Via Don Box’s Spoutlet on Pluralsight.
- I recently tried and liked GhostDoc very much. It’s a free Visual Studio add-in to help write XML documentation comments. Roland Weigelt wrote a nice intro article on GhostDoc on DotnetSlackers here.
- SyncBackSE is a great folder synchronization utility. It has tons of features… maybe even a little bit on the bloated side. It costs $30 for a single license. If you just want something simple, Microsoft’s free SyncToy may do the trick for you.
Gadgets
- From CES, it looks like Blu-ray will be the winner of the HD format war. No, the war is not completely over, but this was the landing at Normandy… so to speak. The loss is just too great for the HD-DVD camp to recover.
And Now, Something Different
posted in Dotnet/.NET - C#, PowerShell, Programming, Software/tools, Tips |
15th
December
2007
Here are this week’s finds:
.NET, C#, Programming
Software and Tools
And Now, Something Different
Here’s a Christmas tree made out of Heineken beer bottles. I took this picture last December at the Imperial Hotel in Hue, Vietnam, while vacationing there. Click on the picture for a larger version.

posted in Dotnet/.NET - C#, PowerShell, Programming, Software/tools |