Skip to main content

Posts

Showing posts from 2010

In This World - 16

"Relationship shouldn't be complicated, if it so, then its time to look at it from a different perspective and attempt to resolve challenges, if that doesn't work at any cost, put a period and move on." Well..I have one more view to share which may sound bit contradictory to what I expressed above, but its indeed an unarguable truth! "Move on - is the simplest one to say and most difficult to go through!" :)

Windows Service or Windows Task Scheduler?

Are you planning to create long running background process (in C#) and thinking to build a Windows service? Then wait for a moment! Windows Task scheduler (Start->Programs->Accessories-> System Tools-> Task Scheduler) can also be a decent choice! "Windows Vista and higher windows (server) operating systems are offering matured Task scheduler with many advancements like Triggers, Actions, Conditions, failure recovery, email notifications, security and much more." Its obvious that many programmers think Windows Service is easy to maintain and what it can do, task scheduler can’t . But now, it’s time to look at Windows Task Scheduler [also at Microsoft white paper ] and see what great features it is offering. When to go for Windows Service? Okay, let me try to answer this popular question in one line.  Windows Service is suitable for receiving service request ' anytime ' and process ' instantly '. Just think of anti-virus scanner, netwo...

Tracking Downloads in Google Analytics

I wanted to track download count of Quick Quest demo version hosted on SrushtiSoft through Google analytics. I faced obstacle during the implementation process and wanted to share here, hoping to save your sometime if you are also trying to do the same for your website or blog. Google neatly guide you how to do it, http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529 with a slashing message "This article is for the latest version of the tracking code". But it just doesn't work at one-shot!  I had to spend sometime to find a way to troubleshoot "pageTracker is not defined" javascript error . Finally, the post on StackOverflow puts you on right path: http://stackoverflow.com/questions/3503511/google-analytics-pagetracker-is-not-defined Though google talks about the approach in detail here: http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html chances of it going unnoticed is more.