Mobile phone locked OR Not able to unlock mobile phone

When you place a new or a existing SIM card from another phone provider into a different cell phone, it asks for a Security Code and you don't have it with you. This means that a mobile phone is locked to the original mobile phone provider.

You need to contact this mobile provider to ask for the unlock code (Security Code) for this phone.
For this you need to provide proof of ownership etc.

Following are the possible action items you may do, when you come aross the above situation:

1) Get security code/restriction code to unlock the cell phone from the current cell phone service provider.

2) If your phone provider does not help you then this WEB site it provides security codes for a small price.

3) Try this WEB site also - UnlockFree

4) You can also try this WEB site :

5) For Nokia phone - try this WEB site too :

6)The IMEI number is unique for each mobile phone. The number is printed on the label under the battery.
You can also get the IMEI number by entering this on your phone
*#06# It will then display your IMEI number and you may also get a unique global serial number. Your IMEI number should be 15 digits.

Also read post on PUK information

Outlook 2007: How To Use Voting Buttons in a Message

You can use the Voting Buttons to get responses from a group of colleagues to see what the majority of them are leaning towards. This comes in handy when getting feedback for a meeting date and location or for figuring out where everyone is going to meet after work.

Outlook tallies the votes for you so that they can easily be assessed.

To Insert Voting Buttons into your Message:

1. Create your New Message.

2. Select the Options tab.

3. Select Use Voting Buttons.

4. Choose the voting buttons you wish to use from the four options provided (Approve; Reject, Yes; No, Yes; No; Maybe, or Custom).

5. Make sure your message is the way you want it, including the question or statement that is to be voted on. Make sure you have included the proper recipients for the email message.

6. Click Send.

The recipients of your message will notice a highlighted line of text (vote by clicking Vote in the Respond group above) showing up above the From line in the email. By clicking Vote, they will be shown the voting options to select from.

After they select the desired voting option, a confirmation prompt will appear showing their selection and giving them the choice of sending the response or editing the response before sending.

Getting a Tally of the Votes:

You will receive the replies to your message with the selected voting option in the subject line. You could tally the votes yourself, however if you sent the message out to a large number of recipients, this could be rather time consuming. A better method is to let Outlook tally the votes for you.

1. Go to your Sent Items.

2. Open the message that had the voting buttons.

3. Go to the Ribbon.

4. In the Show section, select Tracking.

You will see the reply totals followed by a list of the individual votes.


How to quickly and easily add a live bookmark/RSS feeds

How to quickly and easily add a live bookmark/RSS feed to Internet Explorer 7 or 8

Both Internet Explorer 7 and 8 fully support live bookmarks/RSS feeds. IE7 and IE8 also support Microsoft's 'Common Feed List', but more on that later. When you visit a site with an RSS feed in Internet Explorer 7/8, the RSS feed icon becomes active. This icon is circled red in the picture below:-

Click on the icon shown above and Internet Explorer will take you to a screen like the one below:-

Notice in the above picture, Internet Explorer says this feed "can be viewed in Internet Explorer and other programs". Here is the really cool part, any feed you add in Internet Explorer will be available in any other program that supports Microsoft's 'Common Feed List'.

Currently this includes Microsoft Outlook and the RSS reader in the Vista sidebar. Eventually most RSS aware Windows programs will support Common Feed List.
Getting back to the tutorial, to add this RSS feed to Internet Explorer and the Common Feed List, click on "Subscribe to this feed" as circled in the picture above.

The following window will then appear:-

Click on "Subscribe" as circled in the picture above to confirm your subscription. The window will close and you will be taken to the page below:-

You can now click on "View my feeds" (as shown above) to see a list of all the feeds you are subscribed to. You can access your feeds at any time by clicking on the favorites center (the small star icon in the top left hand corner
of the IE window, or press the keys ALT and C together) and then choosing "Feeds".

The picture below shows the favorites center open on the feeds tab.

Want to learn how to do it for Firefox ? Here is the link !


Recover MySQL root Password

You can recover MySQL database server password with following five easy steps.

Step # 1: Stop the MySQL server process.

Step # 2: Start the MySQL (mysqld) server/daemon process with the --skip-grant-tables option so that it will not prompt for password.

Step # 3: Connect to mysql server as the root user.

Step # 4: Setup new mysql root account password i.e. reset mysql password.

Step # 5: Exit and restart the MySQL server.

Here are commands you need to type for each step (login as the root user):

Step # 1 : Stop mysql service

# /etc/init.d/mysql stop

Stopping MySQL database server: mysqld.

Step # 2: Start to MySQL server w/o password:

# mysqld_safe --skip-grant-tables &

[1] 5988
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6025]: started

Step # 3: Connect to mysql server using mysql client:

# mysql -u root


Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.


Step # 4: Setup new MySQL root user password

mysql> use mysql;
mysql> update user set password=PASSWORD("NEW-ROOT-PASSWORD") where User='root';
mysql> flush privileges;
mysql> quit

Step # 5: Stop MySQL Server:

# /etc/init.d/mysql stop


Stopping MySQL database server: mysqld
STOPPING server from pid file /var/run/mysqld/
mysqld_safe[6186]: ended

mysqld_safe --skip-grant-tables

Step # 6: Start MySQL server and test it

# /etc/init.d/mysql start
# mysql -u root -p


ActivePERL - PERL for Windows - using perl

PERL comes pre-installed on many operating systems, like Linux for example.
For those of us running a version of
Windows however, we must download and install some sort of program that allows us to access PERL scripts from DOS. There are many PERL compilations available for your machine. A simple Google search yields several million results.

ActivePERL is the simplest of installers available and it is also free to download. Download the program, follow the onscreen installation guide, and you should have an active installation of PERL ready to go.

Download ActivePERL link

To test the installation, make sure the program has fully completed installation and then run through the following:

1. Click on Start, go to Run.
2. Please enter 'Command' or 'cmd' into the display box to open up the command prompt.
3. At the command prompt type 'perl -v'

You should get some documentation about Larry Wall 1987-200X, and that means you are officially done installing

PERL and ready to start creating some PERL scripts.

PERL - Testing...Testing Script

Just to be sure everything is running correctly. Open up notepad or your preferred simple text editor and let's make a beginning script. We'll have our script print to the command prompt with the print function just as we would if we were printing text to our web browser.

#! usr/bin/perl
print "Hello PERL!";

Copy the two lines above and save them in a directory that you are capable of accessing through DOS with the name as

For eg:
When you launch command prompt you get-->
C:\Documents and Settings\pradeep

Create a new directory named perl in it.
Locate that directory (perl) in your DOS prompt and simply type the name of your PERL script into the command
prompt to execute your script.

C:\Documents and Settings\pradeep\perl>

Check that you get an output in the command prompt as: Hello PERL!

Teach yourself Perl in 21 Days !
- David Till (pdf file)

To find the kernel version and memory details of LINUX / SOLARIS Operating System

In SOLARIS, uname -r will give you the solaris release level.
some other useful options with uname are

uname -s [Operating system]

uname -r [Release version]

For example if output is:

then it denotes:
* 2 : Kernel version
* 6 : The major revision of the kernel
* 22 : The minor revision of the kernel
* 14 : Immediate fixing / bug fixing for critical error
* generic : Distribution specific sting. For example, Redhat appends string such as EL5 to indicate RHEL 5 kernel.

uname -v
Generic_117350-27[OS version]

uname -a
SunOS hostname 5.8 Generic_117350-27 sun4u sparc
The last two words describes h/w name and processor respctl[equivalent to -m and -p),

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)
this command return the Centos version

To find the Memory details:

dmesg | grep ^Memory:

Output: Memory: 1734144k/1792092k available (2512k kernel code, 49156k reserved, 1396k data, 184k init)

The second value is the physical RAM size. It'll also tell you what other junk is subtracted from that to give you what you get with "free"..


Find Java version Internet Explorer or Firefox is using

METHOD 1 : Java command using command prompt

In Windows, open a DOS prompt (a.k.a command window) and enter the following command

java -version

The output will look something like:

java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

You can also use the command "java -fullversion" and produce output such as:

java full version "1.6.0_17-b04"

On a computer without any version of Java from Sun Microsystems installed, this results in an error message:

'java' is not recognized as an internal or external command, operable program or batch file.

A computer with only Microsoft's ancient version of Java installed, also produces the above error.

On a Windows machine with multiple versions of Java, according to Sun, this command returns the default JVM.

METHOD 2 : Firefox Options

(1) Mozilla has a plugin check (shown below) that seems to detect Java correctly and report on whether its old or not. See a larger screen shot in this window or a new window.

(2) In Firefox version 3, do Tools -> Options -> Main tab -> Manage Add-ons button -> Plug-ins tab.
The screen shot below shows this from Firefox 3.08 on a Windows XP machine.

(3) In Firefox 3, go to the address bar and enter:


If Java is installed there will be multiple Java entries. In Firefox 3 (at least on Windows XP) they are labeled "Java(TM) Platform SE x Ux" where the Xs represent version numbers. Back with Firefox 2 they were labeled either "Java (TM) Platform" or "Java Plug-in" (last verified with v

On a Windows XP machine with Java version 1.6.0_03 installed, there were seven Java entries, all labelled "Java(TM) Platform SE 6 U3" which translates to Version 6, Update 3.

Back with version 1 of Firefox, the many Java entries showed different versions of Java. For more on how this used to work, see Multi-Version Support from Sun.

METHOD 3 : Internet Explorer Options

Advanced Options Tab

In Internet Explorer 6 and 7 do: Tools => Internet Options => Advanced tab and scroll down to about the middle of the options list. If a version of Java from Sun is installed, there will be a section in this list called "Java (Sun)". If Microsoft's Java is installed, there will be a section in this list called "Microsoft VM". If you see both, as the screen shot below (IE7 on Windows XP SP3) illustrates, then IE is using the one that is checked.

METHOD 4 : System Information

In some flavors of Windows, the System Information utility includes information about Internet Explorer. Among the data displayed is information on the Java Virtual Machine.

In Windows 2000 you run the System Information utility with:
Start -> Programs -> Accessories -> System Tools -> System Information

Double Click on Internet Explorer in the left hand column, then click on Summary. The Java VM version is displayed. It is similar to the output from the jview command, but not exactly the same. On one computer jview displayed 5.00.3809 while the System Information utility displayed 5.0.3809.0.

The path to the System Information utility is the same in Windows XP as in Windows 2000. However, XP does not display Java version information (at least XP Home Edition SP1 does not).

In Windows 98SE, the path to the System Information utility is also the same as with Windows 2000. I ran it on two Windows 98SE machines. With a recent version of IE5, System Information included Internet Explorer information. With an old version of IE (5.00.2614.3500) it did not.


How to count the number of worksheets used in an MS Excel file

Assuming I have a number of workbooks with a large number of worksheets filled out (not by me) in each workbook. Do you know how to count the number of worksheets used ?

Well you wouldn't be interested in manually counting by clicking each worksheet ?
Yes there is a way! A much easier than using the VB code;

Here we go;
We use Excel in built formula:


... where assuming A1 in each sheet is non-blank.


1. Suppose I have an xls file with 100 sheets:
2. I choose cell B2 and place my formula in it.

3. Press the followin gkeys: Ctrl+Shift+Enter

4. You get the answer as 100 in the cell B2