Posts Tagged ‘c#’

How to add an overwriting message to a console application in c#.

Thursday, February 12th, 2009

As part of my TunerFreeMCE application, I have a console application which builds up a cache of all of the programs that can be watched. That can be a slow process at times, particularly on hulu and Five. I wanted to give the user some feedback of what was going on, so I put a bunch of Console.WriteLine messages in there. That worked OK, but it only gave people feedback when a task was finished, not when a long running task was in progress. What I really wanted was to add a progress update for long running tasks.

(more…)

Adding a version checker – code walkthrough

Monday, February 2nd, 2009

I was reading an article today on Symbian Guru about how more and more S60 developers are doing the right thing by including an automatic check for updates to their code. It guilted me in to realizing that it’s one of the big features that was missing from my TunerFreeMCE application. It also made me realize that I didn’t know what the best practice was for things like that, so I googled “c# check for new program version” and frankly what came back was irrelevant or overly complex. I had some very simple requirements;

  • Minimal web traffic – I pay for this hosting you know!
  • Minimal application impact
  • Easy for the user

(more…)