Trigger a Timer Event at the Specific time of the Day in a Windows Service

I have used timer many times in Windows Form Application. It’s a simple control that is easy to use and implement. Lately, I was working on a Windows Service where there was a requirement of implementing a periodic job. The timer available in Windows Form is located in System.Windows.Form namespace which is definitely not available … Read more

AutoCompleteCustomSource – Specified Cast is Not Valid

There was a requirement to implement a textbox with a databound AutoComple feature. As the Autocomplete source was a database, I have to go for a custom DataSource. The main requirements for an auto-complete textbox (in this scenario) are: AutoCompleteMode is set to Suggest(or SuggestAppend). AutoCompleteSource is set to CustomSource AutoCompleteCustomSource is set AutoCompleteStringCollection. A … Read more

Deploying .NET 4.0 Application on IIS 6.0

I had my ASP.NET 2.0 application hosted on Windows 2003 Sever with IIS 6.0. After Visual Studio 2010 or more precisely after .NET Framework 4.0, I upgraded the desktop modules to 4.0 (version 3.0 and 3.5 are superset, not the framework). The transition of desktop application from 2.0 to 4.0 was smooth enough. Although there … Read more