Thursday, 30 March 2006

Wanted: Network profile changer for PocketPC

I have an HP iPAQ 4150 PocketPC device. Not the latest and greatest, but it works pretty well.

Now that I have a wireless network at home, I've struck an annoying problem: The Wireless network at work requires authentication via a VPN and can only get to the Internet via a proxy server. My network at home however doesn't require the VPN or proxy configuration.

What I need is a nice little applet that will run on my iPAQ and that will swap the network settings over depending on if I'm at work or at home. It doesn't need to do that automatically - pressing on a button manually is ok. It would just save me messing around with all the network settings every time I want to get it working again.

I had a quick Google but couldn't find anything that seemed to fit the bill.

ObjectDataSource and sorting

I struck this error today - "Automatic sorting is only supported with DataView, DataTable, and DataSet". It was caused by binding a custom collection through a DataSourceObject control.

Scott Guthrie suggests in a comment to this post to either implement a custom comparer, or make use of the SortParameterName property of the ObjectDataSource control.

I ended up doing the latter, as I need to be able to sort the collection on more than one property. My middle-tier expects this as an extra parameter, and then uses a DataView to sort the DataTable before it creates the custom collection.

Friday, 24 March 2006

Cumulative Hotfix for SQL Server 2000 Service Pack 4 - Build 2187 for x86 and x64 Based Systems

This package contains all hotfixes that are available for SQL Server 2000 Service Pack 4 prior to build 2187.

This build contains hotfixes that were available for SQL Server 2000 Service Pack 3 build 1031 but were not included in SQL Server 2000 Service Pack 4.

Thursday, 23 March 2006

Microsoft Visual Studio 2005 - Update to Support Web Application Projects

This update enables migration wizard support and an improved designer experience when using Web Application Projects.

You can get the Web Application Projects add-in from here

Sunday, 19 March 2006

Code analysis and flowcharting utilities

Might have to give these a try out on some of my code. If the diagrams get too complicated, then it's probably a good sign that the code could use a re-write!

Friday, 17 March 2006

SQL Server 2005 SP1 March CTP

SQL Server 2005 has only been out for a few months and they're already working on Service Pack 1!

The list of fixes will eventually be posted to KB article 913090.

Wednesday, 15 March 2006

How delete all the data in all the tables in your database

Adi has a nice way of removing all the data. The only change I made was to use "DELETE FROM" instead of "TRUNCATE TABLE" so that it works with foreign keys.

Tuesday, 14 March 2006

My 711CE is dead, long live my 7404GL

It is a sad day - in the last few days, my Billion 711CE had become very unreliable - locking up regularly after a few hours use. It has been so reliable, and I had high hopes that it would keep powering on for another year or so, even after our exchange got upgraded to ADSL2+.

But it wasn't to be. And seeing as we use VoIP for our phone calls, it is kind of important to have a reliable and stable Internet connection. So I've stuck with Billion, and gone for a BiPAC 7402GL purchased from Mark at MATS Systems.

I didn't need the VGL model, as I already have a Sipura 3000. The features are certainly more advanced than the 711CE could offer. The 11g wireless is a nice bonus, and the extra LAN ports means I can retire my mini-switch for now too (a small power consumption saving there).

Friday, 10 March 2006

Threat Analysis & Modeling v2.0

As seen at the recent Adelaide Security seminar, here is the latest threat modelling tool from Microsoft.

Wednesday, 8 March 2006

Code profiling, memory profiling - ANTS Profiler

I'd like to see a comparison of the ANTS profiler versus the inbuilt performance analysis tool in VSTS

For that matter, it would also be interesting to compare it with Rational Quantify too. I've got that, but have not found it the most intuitive tool to use, and am also wondering about IBM/Rational's commitment to .NET.

Monday, 6 March 2006 Cookbook

When UniSA implements SIP, then I'll be able to ring work numbers for free!

I made my first real SIP Broker call tonight - now that Chris has his Sipura 3000 up and running!

Fast transactions with System.Transactions and Microsoft SQL Server 2000

ClearType in Internet Explorer 7

After reading this article, I've turned on ClearType to see if I think it makes a difference.

I've got LCD displays at home so it looks quite nice on those. Unfortuately, the Philips 109S4/75 monitors I have at work don't appear to use Trinitron, but I'll still give it a go here too.

Wednesday, 1 March 2006

Bug: Refreshing schema of ObjectDataSource causes error

I think I've found another bug in Visual Studio.NET :-(

I've got some DataObject classes that return arrays of objects. These used to return collections (using the System.Collections.ObjectModel.Collection generic class). I updated them to return simple arrays as I thought that would be more efficient.

Turns out that while ASP.NET seems to work fine with this, the design experience in Visual Studio isn't so good. Clicking on the 'Refresh Schema' task on the ObjectDataSource control that references the data object method, causes a "The schema of type 'Class1[]' could not be retrieved. Operation is not valid due to the current state of the object" error to be displayed.