Geeks With Blogs

Welcome to my blog.
Here's what we've got on the menu today:

Lorin Thwaits A geek says what? WinForms
How to use a DataGrid or DataGridView in a WPF app
Did you know that there's no grid-like control in WPF 1.0? This post will show you how to get around that limitation. But first, may I say that the recently-released Orcas September CTP bits offers a great improvement at design-time when writing WPF applications. Instead of those three clunky tabs for .xaml, [Designer], and .xaml.cs that we had back in the June CTP, you now get the first glimpse of Microsoft's new cool “Split” view, which will become a part of ASP.NET in the Orcas timeframe! Very ......

Posted On Saturday, September 9, 2006 10:27 AM

Multi-threaded applications are a cinch in .NET
With careful programming, threads offer a great way to make your application more responsive. If you need to do some database access or call a web service, many millions of computer cycles could go unused before your application actually gets underway again. Instead of making your application sit on the bench that whole time, you may be able to keep it busy with other important tasks. This post offers a simple introduction to spawning your first thread. Here's a couple of lines that will kick off ......

Posted On Monday, July 17, 2006 10:50 AM

Start experimenting with XAML on your XP machine in under 15 minutes!
I presented a session on WPF at the Arizona .NET User's Group last night, and today have been getting email and calls from several people who wished they could have been in attendance, and wanted to get started with WPF. So for those that weren't there last night, this post is designed as an intro to get you started. The version of Windows Presentation Foundation (WPF) included in the June CTP is very polished. Being this late in the development cycle, the things you learn now in this environment ......

Posted On Thursday, July 6, 2006 11:32 AM

C# code to determine which versions of the .NET Framework are installed on a system, along with hotfixes and Service Packs
There was a question that surfaced on the Arizona .NET User Group list about determining which versions of .NET are on a system, and which service packs have been applied. It sounded like a fun challenge, so I spent a few minutes this afternoon learning about how to dig up that data. Definitely the most helpful information came from this post in Aaron Stebner's blog, which was pointed out by my friend Tim Heuer. Aaron's sample code is only available in native C++ and VB.NET, so I decided to write ......

Posted On Monday, January 30, 2006 2:09 PM

Max for the Web - Part 1: Matrix Transforms in GDI+
A friend of mine, Scott Cate, recently gave me a challenge to create an ASP.NET server control that renders images similar to Microsoft Max. That is with a little tilt and some reflection below as if it were sitting on a glass table. This is the first of three posts in which I'll detail how to make that happen. Overall the real challenge comes in getting GDI+ to do anything resembling 3D. It will do great 2D things all day long. Part of the namespace is appropriately called “Drawing2D”! ......

Posted On Wednesday, November 23, 2005 7:01 AM

A geek says what?
Welcome to my blog, largely about .NET development using C#, but also about video, algorithms, SQL, Javascript, and other geeky subjects. To introduce myself, I'm an ASP.NET developer for a large financial institution, and enjoy all things code. Having a complete passion for the bits and bytes buried deep in every device we see around us, let's get this blog started on the right track with three articles with full source code! Two about GDI+, and one about reflecting on assemblies. Creating GIFs ......

Posted On Monday, November 21, 2005 11:46 AM

Copyright © Lorin Thwaits | Powered by: