code-o-rama
code that won't rust, bust, pick-up dust, burst, buckle or bend
Browse by Tags
All Tags
»
windows
(RSS)
.net
.net 2.0
.net 3.5
2003
assembly
c#
c++
coding
debugging
dll
dvorak
fun
hardware
internet explorer
keyboard
performance
powershell
probing
registry
screen saver
side-by-side
sxs
team system
tips
tweaks
vista
visual studio
vs
xp
CPU-Z and CPU Information
17 January 08 11:06 AM
|
john
|
0 Comments
My colleague Sergey just showed me a useful tool for getting CPU information on your Windows hardware system called CPU-Z .
Read More...
Dynamic Code Generation in .NET
05 January 08 03:08 PM
|
john
|
0 Comments
I recently had the need/desire to dynamically generate some code in .NET. It's not something you tend to do a lot unless you are creating a compiler, so it was an interesting experience. In the end it didn't solve my problem, but it was educational none-the-less.
Read More...
Arrays in PowerShell
23 October 07 08:39 AM
|
john
|
0 Comments
While I'm waiting for some files to copy around I thought I'd record my recent PowerShell learnin'. Somtimes a command, like Get-ChildItem can return either an array of results or just a single one. You can use the @ symbol to cast the result into an
Read More...
Line Count with PowerShell
22 October 07 08:35 PM
|
john
|
0 Comments
Starting to get the hang of PowerShell. Today I wanted to quickly count the number of lines in some source code. There's a simple implementation and then there's a better one . In the end I settled on: $count=0;gci . -i *.cs,*.cpp,*.h -r | %{$count +=
Read More...
More PowerShell Fun
17 October 07 11:33 AM
|
john
|
0 Comments
Still struggling to gain traction with PowerShell. I've stopped myself running the CMD prompt by default, and I've installed it on all my test VPC machines. Firstly, I recommend you download the Windows PowerShell Graphical Help File . It's an old school
Read More...
Changing the Desktop Wallpaper Programmatically on Windows
12 October 07 01:39 PM
|
john
|
0 Comments
My friend Scott asked me the other day how he might go about changing the desktop wallpaper programmatically. It's one of those things that is still buried in the native Windows Win32 API. The call you need is SystemParametersInfo and the action you need
Read More...
Changing the Windows Log On Keyboard Layout to Dvorak
03 October 07 06:15 PM
|
john
|
0 Comments
If you found this entry, you are either a Dvorak keyboard typist searching for help or you are a strange individual who reads my blog but never leaves a comment. If you are the former then the link you are looking for is to this Microsoft Help & Support
Read More...
Adventures with PowerShell
26 September 07 02:44 PM
|
john
|
0 Comments
I've held off moving to Windows PowerShell. The reason is that I came up with a solution for running C# source directly from the command line as script a few years ago using CodeRunner .NET , and I've haven't had a pressing need for more functionality.
Read More...
Getting Windows crash dumps
27 July 07 03:01 PM
|
john
|
0 Comments
Every so often I need get a crash dump for a crashing native process, and I always forget where to find the tools. The easiest to use is ADPlus which is part of the Debugging Tools for Windows . The best write-up I've found on other alternatives and how
Read More...
Cool IE7 add-ins
24 July 07 07:47 PM
|
john
|
0 Comments
I have to say that Internet Explorer 7 still hasn't reached the level of functionality provided by Maxthon , but it's really close. So close in fact that I only use IE these days. The IE7Pro Add-in provides a few more cool features that are missing.
Read More...
Hiding the Windows XP recycle bin
23 July 07 08:37 PM
|
john
|
0 Comments
I'm one of those folks that completely turns off the Windows recycle bin. Primarily, if I accidentally delete a file it's usually some source code that is also in version control, or it's a document and I always store documents on a backed up network
Read More...
Getting accurate per thread timing on Windows
17 July 07 05:04 PM
|
john
|
2 Comments
If you need to accurately time operations in Windows, you're usually directed to the QueryPerformanceCounter API. This API is also neatly wrapped in .NET under the Stopwatch class. Indeed, this is this is simplest way to get reasonably accurate timings
Read More...
Putting SxS errors in your face
01 May 07 09:18 AM
|
john
|
2 Comments
There are two schools of thought when it comes to unrecoverable software errors. One say that errors should be in your face and the other says that errors should be hidden (or at least smoothed over). It's not hard to see that the latter is a good approach
Read More...
Side-by-Side Problems
28 March 07 02:05 PM
|
john
|
2 Comments
If you still write C++ code on Windows then sooner or later you are going to run into SxS configuration problems on Windows. At work we tend to run into them more frequently because the C runtime version is changing all the time (because we're building
Read More...
3D Windows XP Screen Saver
28 August 05 01:36 PM
|
john
|
0 Comments
I was over at Building 20 on the Microsoft campus the other day and I noticed that all the lab machines were running a really cool 3D screen saver. I just had to have it! And here it is . A little more clicking leads me to a collection of Really Slick
Read More...
More Posts
Next page »
Search
Go
This Blog
Home
Tags
.net
.net 2.0
.net 3.5
2003
assembly
bugs
c#
c++
coding
command line
console
coverage
debugging
dll
dvorak
editing
ethereal
fonts
fun
funny
hardware
help
ide
instrumentation
internet explorer
keyboard
macro
microsoft
msbuild
mstest
mvid
network
nunit
packet
performance
points
powershell
probing
profiling
refactor
registry
safe code
screen saver
security
side-by-side
strong name
sxs
tcptrace
team foundation
team system
test signing
tfs
tips
tracing
tweaks
unit test
validating reader
vb
vista
visual basic
visual studio
vs
windows
windows installer
winpcap
wix
xbox 360
xml
xp
Navigation
Home
Blogs
Photos
Archives
February 2008 (2)
January 2008 (2)
December 2007 (1)
October 2007 (6)
September 2007 (1)
July 2007 (7)
May 2007 (3)
April 2007 (2)
March 2007 (5)
February 2007 (3)
January 2007 (3)
December 2006 (2)
November 2006 (2)
May 2006 (1)
January 2006 (3)
December 2005 (2)
August 2005 (3)
Useful Links
C# Code Format
Director of Random Technologies
Syndication
RSS 2.0
Atom 1.0