Archives
-
Shutdown command (via Rob McLaws)
This morning, on the drive to work I was thinking about some code I had to write today that had to shut down the PC after it had finished. Aware that I could use ExitWindowsEx to the job, I wasn't relishing - as I never do - declaring said method so that I could call it from managed code.
-
Virtual PC now available for download - plus small rant about testing on different platforms
Tomas Restrepo is reporting that Virtual PC is now available for download from MSDN subscriptions. It is indeed, and it can be found under Platforms\Connectix Virtual PC 5.2 is you sign in.
-
[link] Template-based code generation
Via Chris Sells, Eric Parker offers a cool template based code generation tool.
-
TextBallon
A note from Jeff Key points us all in the direction of displaying a cool validation balloon on text boxes...
-
[cnet] Developers to get first taste of 'Longhorn'
Oh, so that's why I need to be at PDC!
-
Thoughts for the day - SpamArrest and "quality as a control variable"
Couple of thoughts spring to mind on this Monday, which is a “public” holiday over here in the UK (OK, it's a “bank” holiday to us Brits)...
-
Lutz's CommandBar for .NET
Lutz may be famous for Reflector, but for those of you needing a menu and toolbar library, his CommandBar for .NET is worth a look.
-
Mind mapping
I've been meaning to blog for a while on mind mapping, but I see that Tim Sneath has blogged about it here.
-
Hosting Remoting objects in IIS
I've long been an advocate of hosting Remoting objects in an application's own Windows Service. However, I always knew that there was this "other way" of doing it in IIS (some would argue that I have this the wrong way round!). A new MSDN article ".NET Remoting Architectural Assessment" has plenty to say on Remoting best practice.
-
Shadow copy cache "causes" weird debugging problems
(I am trying not to rant and rave about this - this just causes me a serious headache!)
-
[MSDN link] Video of Profiling Managed Code with the CLR Profiler
Here it is:
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20030729CLRGN/manifest.xml -
RSS feed of Microsoft Downloads
NewsIsFree appears to have an RSS feed of the last ten items posted to Microsoft Downloads...
http://www.newsisfree.com/sources/info/7864/?USERLANG=en -
Showing non-user code in Call Stack
I've run into a couple of weird Windows Forms problems today. In VS .NET 2002, when I used to bring up the call stack on an event handler (”OnWhatever...”), I used to see all of the Framework calls that got me from the last call in my own code to the call I'm actually debugging. Although you can't see the code behind these calls (they're compiled and you have no debug info), they're often useful for getting a hint about what's happening in the Framework assembly by reading the method names.
-
Preserving the cursor when putting up an hour glass - Win32 best practice in a .NET world
Today's quickie tip comes from the world of Win32 best practice.
-
"virtual" method call performance
After my post yesterday on the C# Coding Standards document, I received a comment from Adam with relation to the performance of the calls. There's a common misconception about how virtual should be used, and I wanted to address the perf issue here. (Comments are here and here.)
-
C# coding standards document
A colleague of mine directed me to this C# coding standards document.(PDF document) on idesign.net.
-
Another .Text comment
Had reason to spend some time with Scott's .Text yesterday.
-
Creating array's dynamically
Bit of a simple one this, but I didn't know about it.
-
[ot] Changing network settings with NETSH
Not really about .NET, but I use this for work... :-)
-
Roadmap for SourceSafe and Beyond [link]
Korby Parnell has a thing or two to say about what's happening with SourceSafe going forward.
Quote: But for VSS, the Roadmap is HUGE! The Roadmap is 100 decibels of source-controlled joy. Finally! The SourceSafe feature team is planning to do more than fix bugs. As many customers have observed recently, the last few VSS releases have seemed like a reverse alphabetical countdown to something: 6.0, 6.0a, 6.0b, 6.0c, 6.0d. Whidbey will be different... -
Simulating covariance in interface implementations
Brad Abrams always has good things to say on object model design. His recent post, Design Guidelines Update: Implementing Interfaces Privately, has caused something of an “aha” moment for me.