Andrew Stevenson's WebLog

Write Here Write Now

Syndication

.Net Languages

ADO.Net

Asp.Net (Misc.)

Asp.Net Controls

Bad Patterns

Err What?

Files and Folders

Forums

IE Add-Ins

Methods for the Madness

Performance

See Clearer, C#

Test Driven

February 2004 - Posts

Implementing a ViewAsText property for a WebControl at design time

I've written my first blog about WebForms at design time.

I use DesignTimeElement and mshtml.IHTMLElement to create a ViewAsText option on the design surface.

http://weblogs.asp.net/andrewseven/articles/DesignTimeViewAsText.aspx

Posted Tuesday, February 24, 2004 7:53 AM by AndrewSeven

Implementing a player ranking system ?

I need to "create" a ranking system.

I've been sent some links with very complex formulae that are probably massive overkill.
http://www.phys.utk.edu/sorensen/ranking/Documentation/Sorensen_documentation_v1.pdf
http://www.masseyratings.com/theory/

I don't need the sphistication of the international chess raking system.

I would use it if I could find a something that just let me put in the results and get out the stats, but I can't find such a thing.

I have a couple touchy parts, 2 to 5 players with only one winner, and the winner will have 1 to 3 lives left.

Ugh.

Posted Thursday, February 19, 2004 10:09 AM by AndrewSeven

Wow, that was easy for somebody

If you follow the code blog at http://www.testdriven.net/ , you probably noticed the challenge to parse a solution file (sln).

It didn't get many takers, I thought it looked too much like work.

But if you look at the solution someone posted, it seems so simple, just a question of the right tool for the job and a nice helper class.

http://www.testdriven.net/Feed.aspx?item=b9e9835b-d19f-44ec-ad0b-879fbe040168

Posted Wednesday, February 11, 2004 10:41 AM by AndrewSeven

Turn off the shutdown tracker in Windows 2003

It is a great feature, but it drives me crazy in dev :)

To configure Shutdown Event Tracker on your local computer

  1. Open Group Policy.
  2. Navigate to the Display Shutdown Event Tracker policy, and double-click it.

    Where?

    • Local Computer Policy
    • Computer Configuration
    • Administrative Templates
    • System
  3. On the Setting tab, click Not Configured, Enabled, or Disabled.
  4. Click Apply, and then click OK.

 Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
  • To open Group Policy, click Start, click Run, type gpedit.msc, and then click OK.
  • The Server Only and Workstation Only settings that appear in the user interface (UI) have an impact on the local computer, but they are intended primarily for use by domain administrators.
  • To apply the policy setting to a remote computer, see "Group Policy" under Related Topics, below.
  • You cannot use Group Policy to manage computers running Windows NT 4.0, Windows 95, Windows 98, Windows Millennium Edition, and Windows XP Home Edition.
  • Shutdown Event Tracker is enabled by default on all Windows Server 2003 family operating systems. It is disabled by default on Windows XP Professional. It is not a functional component of Windows XP Home Edition.

 

Posted Monday, February 09, 2004 3:39 PM by AndrewSeven | 5 comment(s)

Introducing Me

Hi,

My name is Andrew Stevenson, I am Canadian originally from P.E.I., but living in Montreal Quebec.

I work mostly with Asp.Net and spend a lot of my personla time working on design time behavior in VS.

I wrote my first computer program at “computer camp” way back in 1980. I have always been a computer hobbyist, but I got serious about it at the end of the 90s.

I had not seen the web as platform for programming until my internship, where I saw this really complicated application all built with asp. I was hooked. My first professional job was with a Microsoft certified partner where we built web based applications.

I dabbled with C# with the first SDK, but became serious with the first beta of Visual Studio.Net. In the past 12-18 months, work has also been nothing but net.

I don’t have a lot of Urls I can point to, but I worked on www.tourisme-montreal.org , www.aldoshoes.com , and the www.peoplerx.com family of sites.

I’m a regular at www.aspmessageboard.com as “the_origional_andrew” and I have added a couple short articles here before posting this introduction.

 

Posted Sunday, February 08, 2004 10:49 PM by AndrewSeven | 1 comment(s)

More Posts