Life, Surf, Code and everything in between
White Papers | Free Tools | Products | Message Board | News |

Weblog Posts in February 2009
"Variable is assigned but its Value is never used" Warning
February 28, 2009 @ 2:42 am

It’s late, but here’s a little humor for ‘ya. I’ve been noticing recently that I’ve been getting some odd warnings in Visual Studio for variables that are defined and never used. Check out the following screen shot from C# code editor: Notice how the compiler is warning about isSelected not being used, but as you can see just a few lines down it is in fact being used in an assignment. At first I...

kick it on DotNetKicks.com
Showing Syntax Colored Source Code in ASP.NET Content
February 25, 2009 @ 1:30 am

Code Syntax Highlighting in HTML pages and the ability to display source code for specific pages in samples is something I do a lot of. Here is what I use for code highlighting in text snippets and for displaying source code in samples easily.

kick it on DotNetKicks.com
Now Packaged with Less Plastic
February 24, 2009 @ 8:46 pm

Really? I can only imagine what the packaging must have looked before “Now”. This bugs the shit out of me. Why do manufactures have to waste resources like this? This packaging for 3 lousy memory sticks is gel plastic and is the size of a 8x14 piece of paper. What the hell for? Marketing? You think people will actually stop and go – gee, look at that nice packaging? Wasted resources, increased...

kick it on DotNetKicks.com
Using Enums in List Controls
February 20, 2009 @ 12:00 am

Using enums for display value in applications can be nice and easy with a little bit of help. While enums generally shouldn't be treated as data, in some situations it might just be more convenient to use enum definitions rather than database look up tables for data that is defined in the object/domain model. Here are a few ways you can easily use these enum values.

kick it on DotNetKicks.com
Error Creating Control Errors in the ASP.NET Designer
February 16, 2009 @ 3:32 am

I've been suffering from ASP.NET designer errors that force a Visual Studio restart. I don't use the designer very much - just for a few special cases like using Extender controls - but when I do the designer is incredibly frustrating and here is another example just why.

kick it on DotNetKicks.com
WSDL Imports without WSDL.exe
February 12, 2009 @ 4:01 am

A couple of weeks back I have been working on a Web Service client tool for COM clients. With the SOAP Toolkit DOA one of the things that old (for me most FoxPro apps of clients) apps need to do is access Web Services and .NET is really become the only viable option if calling a complex service is required. I’ve been swamped with work in this area recently (which isn’t a bad thing) but clearly a...

kick it on DotNetKicks.com
Quality of Life Home Improvements
February 09, 2009 @ 4:39 am

You might be wondering why the level of postings on my blog has dropped a bit in the last couple of months. For the last nearly 3 months I’ve been involved in a major home renovation of my house here on Maui and it’s taken a lot of energy, even though I wasn’t doing the work myself. But there are a decisions to make with contractors running around constantly making noise and living with torn up...

kick it on DotNetKicks.com
Html and Uri String Encoding without System.Web
February 05, 2009 @ 5:17 am

Url and Html encoding/decoding is provided on the HttpUtility class in System.Web but in non-Web applications it's not a good idea to force a reference to System.Web into a client project. Here are a few thoughts on alternatives you can use.

kick it on DotNetKicks.com
FeedBurner and RSS feeds in IE 7 and 8
February 02, 2009 @ 12:44 pm

I’ve noticed that recently FeedBurner’s feeds no longer display in IE’s auto RSS styling format. Normally if you open an RSS feed in IE 7/8 the feed is rendered using an internal style sheet that pretty formats the RSS feed and provides a few filtering and subscription options natively. Here’s what my RSS feed SHOULD look like in IE 7/8: This feed is displayed from:...

kick it on DotNetKicks.com
Archives
Categories
ASP.NET (204) Personal (68) .NET (62) JavaScript (52) Visual Studio (50) jQuery (43) AJAX (43) LINQ (32) CSharp (29) IIS (28) Vista (28) HTML (26) WCF (24) Localization (21) Web Services (15) Windows (15) FoxPro (14) Microsoft AJAX (13) WPF (12) ADO.NET (12) COM (9) XML (9) Web Connection (8) Silverlight (8) CSS (8) Sql Server (7) West Wind Ajax Toolkit (7) ASP.NET (6) C++ (6) Hardware (5) Security (5) MVC (5) ISV (4) Office (4) Software Development (4) Html Help Builder (4) Bugs (4) DataBinding (3) HTTP (3) Help Builder (3) Live Writer (3) Source Control (3) WebLog (3) Windsurfing (3) WinForms (2) Web Design (2) Speaking (2) Tools (2) RegEx (2) RSS (2) Maui (2) Installation (2) Help (2) Conferences (2) Visual Studio (2) ADO.NET (1) IIS7 (1) Addins (1) Control Development (1) Graphics (1) Html Help (1) iPhone (1) IIS7 (1) Networking (1) Travel (1) Utilities (1) Threading (1) SmartPhone (1) wwHoverPanel (1) Web Deployment Projects (1)


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2010