Friday, October 14, 2011

Validation in windows application in C#

Whenever we create an application, some forms need specific entries. For example, phone numbers must be all numeric, whilst email ID must have a @ symbol followed somewhere by a . symbol. For these purposes, no automatic validators are provided for windows applications. Hence, we must manually give validations to these fields.

There are many logical routes to valication. The following is the validation code that I follow. Hope it helps you too. In case of any doubts or suggestions, kindly feel free to comment or mail me at nardz07@gmail.com.


Ten Important Tips For Java Users

There are some protocols that when followed differentiate a good program from a mediocre program. Here are some tips that will help you become good Java programmers:


Thursday, October 13, 2011

how to ensure ranking in sql

Whilst using mysql, I was inspired by our faculty to figure out how to assign ranks to the entries. A little bit of internet browsing, a lot of head scratching, and some innovatively redundant use of table manipulation later, I succeeded.

Point to be noted, we MUST not use the 'rank' structure of transact-sql. Instead we use and manipulate simple sql queries.

Here is the tutorial, please contact me at nardz07@gmail.com



Tuesday, October 11, 2011

Add a Splash Screen to Your C# Windows Application Project


How to create a splash screen in C#

Tutorial: How to create a splash screen in C#
Time: 5 minutes
Experience needed: Basic understanding of Threads and the flow of applications

In this tutorial you will learn how to create an application that displays a splash form for x seconds.
The benefits for this are: if you have a form that takes a while to load up (for insastance one that does a lot of Database interaction) the user will sit there wondering why your app is not open yet.

With a splash screen you can give the user something pretty to look at to keep them happy.

Monday, October 10, 2011

Steve's Job Gets Over :(

Steve Jobs, co-founder and the former CEO of the world reputed computer firm Apple (AAPL) bids a good bye to his followers at the age of 56. The mastermind behind Apple's iPhone, iPad, iPod, iMac and iTunes, has died in California after a lifely battle against his pancreatic cancer.