uhri.com

taste is in the tongue of the beholder

Archive for January, 2006

Sometimes C# just torques me off. Especially when it doesn’t give useful errors. I wrote the following line of code: if (((string)e.Row.Cells[3].Value = "Yes")) {} Which of course should have been: if (((string)e.Row.Cells[3].Value == "Yes")) {} The errors I got were: The left-hand side of an assignment must be a variable, property or indexer and Cannot implicitly convert type 'string' to 'bool' Why can’t it just say: Hey stupid C#-wannabe   Read More ...

.NET

Recently, I’ve been giving the Pandora music service a try. Originally I had briefly scanned a post by Steve Pavlina about it, but I didn’t really consider it much. I was pretty happy with iTunes and didn’t see what the difference from iTunes radio was. Then I heard a podcast from Amber MacArthur and Leo LaPorte on Inside the Net where they interviewed Tim Westergren from the Music Genome Project.   Read More ...

Web

Our youngest is crashed out on the couch getting over a nasty cold. The oldest is at his Papa’s, and the wife is at work. That means Nerd Timeā„¢ for me! w00t! I never get a night to myself without some obligation. Truth is, there’s probably some obligations around here somewhere, but I just can’t seem to find them. Having a free night reminds me of days of yore living   Read More ...

Spectacularity

Its interesting to think about the different websites a person visits over the years and how they wax and wane as moods and tastes differ. I used to read Metafilter quite religiously. But since the advent of bookmarking sites like del.icio.us and company, Metafilter has dropped from my regular reads. So to has the veritable Slashdot. Slashdot used to be a place with interesting posts about all things tech. I   Read More ...

Web

Another follow up to Removing an uninstalled .NET service, I ran into a problem where installutil kept giving me an error: InstallUtil.exe is not a valid Win32 application. Annoying. I found an post on Randomize that listed some of his(?) issues he saw when building a Windows Service. I think I was unable to unistall the service because of all the spaces in the path, but I seem to remember   Read More ...

.NET

I keep coming across these “kids” that have made themselves tons of money in very entrepreneurial ways. Most of them are under 25 so while they have the utmost of my respect, they make me ill at the same time. They make or have made more money than I have and their still 10 years younger than I. It certainly gives me the feeling that I’ve been wasting a whole   Read More ...

Business

In a followup to the previous post, the code listed there will work for user controls when they are located on the master page itself. However, when the user control is the default content inside a placeholder, an extra .FindControl() needs to be done to get the placeholder, and then the user contol. So if the user control is in the placeholder: <asp:ContentPlaceHolder ID="Placeholder" runat="server"> <uc:ToolBar runat="server" id="Toolbar"/> </asp:ContentPlaceHolder> You   Read More ...

.NET

Here’s a link to a list of all the events that fire in ASP.NET 2.0 page’s lifecycle. http://weblogs.asp.net/jeff/archive/2004/07/04/172683.aspx

.NET

I love the idea of master pages in ASP.NET 2.0. They provide a standard look and feel for web applications that work much better than the old “include” model. Sometimes it still makes sense to have a user control embedded in the master page. In particular, toolbars and navigation items may be reused across master and other non-master pages. Here’s how to access the user control on the master page:   Read More ...

.NET

The first time I used the Internets in any capacity (other than email) was in 1994. During a trip to Chicago over spring break, my interest in virtual reality (VR) was peaked. I tried a helmet-based VR simulator in which I could “walk” around. When I turned my head, the virtual environment turned to show me what I saw. It was hands down one of the coolest things I had   Read More ...

Uncategorized