Showing posts with label tips and tricks. Show all posts
Showing posts with label tips and tricks. Show all posts

31 December 2013

How to open On-Screen Keyboard in Windows XP

Problem: Sometimes the keyboard starts giving fault and some key does not work.
Solution: We can use on-screen keyboard with mouse click on it, the letters will be typed.

(If you found this article useful then share with your friends.)

Open multiple link from single HTML link tag

javascript
Trick: You can open multiple links by single clicking the <a> tag (defines an anchor) using javascript code inside HTML. It is very simple. just include onclick() function and write inline javascript in its attribute.

(If you found this article useful then share with your friends.)

15 December 2013

How to Open HyperLink Using bat File in Windows XP

windows logo
To do this work , Do the following things:

Go to Start => Run => Notepad

Write the following code in that file :

@ECHO OFF
c:
cd C:\Program Files\Internet Explorer
start iexplore.exe http://www.google.com

Save as the File and give extension .bat

For example :

batch file create a file named openGoogleIE.bat


Done .

Note:
Bat File : In DOS, OS/2, and Microsoft Windows, batch file(.bat) is the name given to a type of script file, a text file containing a series of commands to be executed by the command interpreter.


Syntax:


Start     Starts a separate window to run a specified program or command.

CD      (Change Directory) is a command used to switch directories in MS-DOS.

Echo      is used to repeat the text typed in back to the screen and can be used to echo to a peripheral on the computer, such as a COM port.

(For any question , please comment and suggest.)





(If you found this article useful then share with your friends.)

11 December 2013

Nokia Phone Quality Check with code


Nokia logo
To check IMEI, dial *#06#

Check the 7th and 8th numbers to know its origin of manufacture/assemble:

You can also get to see IMEI code printed outside the retail box of your phone. So you can easily check the 7th and 8th from the packet and know about its origin.

=========  1  2  3  4  5  6   7   8  9  10  11  12  13  14  15
Phone serial no.  x  x  x  x  x  x   ?   ?   x   x    x    x    x    x    x

IF the Seventh & Eighth digits are 00 this means your cell phone was
manufactured in original factory which is the best Mobile Quality

IF the Seventh & Eighth digits are 01 or 10 this means your cell phone was
manufactured in Finland which is very Good quality

IF the Seventh & Eighth digits are 02 or 20 this means your cell phone was
assembled in Emirates/UAE which is poor quality



IF the Seventh & Eighth digits are 03 or 30 this means your cell phone was
assembled in Germany which is fair quality

IF the Seventh & Eighth digits are 04 or 40 this means your cell phone was
assembled in China which is good quality but not good compare to 01 or 10

IF the Seventh & Eighth digits are 05 or 50 this means your cell phone was
assembled in Brazil / USA / Finland which is better quality

IF the Seventh & Eighth digits are 06 or 60 this means your cell phone was
assembled in Hong Kong / Mexico which is good quality


IF the Seventh & Eighth digits are 08 or 80 this means your cell phone was
manufactured in Hungary which is fair quality


IF the Seventh & Eighth digits are 13 this means your cell phone was
assembled in Azerbaijan which is very Bad quality and also dangerous for
your health.

Validate your IMEI number to be Genuine or Fake from this link: IMEI checker



(If you found this article useful then share with your friends.)

03 December 2013

How to Add Javac to Compile Java code in Windows

java logo

To compile java code in command promt , you need to register the java variable to the windows Environment variable .

Follow the step below :


(If you found this article useful then share with your friends.)

11 May 2013

How to Open Multiple links/websites at once with bat file

batch file
With a Batch file you can create a script that will open Multiple websites/links in just a single click . You need to write  a (dot).bat(batch) file to do this task.

Steps to do :
Step1: Go to Start->Run -> type "notepad" and click OK

Step2: Paste this following code :

@ECHO OFF
ECHO STARTING FIREFOX
START C:\"Program Files"\"Mozilla Firefox"\firefox.exe http://www.google.com/ http://www.facebook.com http://www.yahoo.com



Step 3 : Save it (Go to file-> Save ) with file name : quickstart.bat

NOTE: Make sure that your file ends with .bat or else it wont work.
Another important thing is dont give newline in between web address, just give a singe space in between them.


Run the file and hope it might work.


(If you found this article useful then share with your friends.)

26 May 2012

Increment a Cell value using button from macro in MS Excel

ms excel

Using a button , you can increment any cell value in Microsoft Excel.

For Excel 2003:

On the top menu ,
  • Go to View => Toolbars => Choose Control Toolbox (if not checked)
  • From the control toolbox, Select Design Mode to activate .
  • Then,From the control toolbox , select Command Button and draw it on the sheet.
  • Right Click on the button and choose View Code
[note: Design mode should be active in the control toolbox]

Add this line of code in the middle of the given lines.

Selection.Value = Selection.Value + 1

After adding it, the tolal code will look like this :
Private Sub CommandButton1_Click()
Selection.Value = Selection.Value + 1
End Sub

Close the Editor.

To change the label of the button , right click on button , select properties.
Look for Caption and enter your desired text , for example : increment

Done.

Now , from control toolbox , unckech the design Mode (Exit Design mode).

Now select a cell and click the button .

This will result in increment a value of that selected cell.


(If you found this article useful then share with your friends.)

How to Change favicon in blogspot blog

favicon tutSteps To Change the favicon :
1. Create an image and upload in any image hosting site and get the direct link of that image.[image formats : jpg,gif,png]
2. Go to admin panel of your blogspot blog.
3. Go to Design => Edit HTML
4. Now , look for </head> tag and paste the following code just above the </head> tag

Code:

Sample :
<link href='image_url' rel='shortcut icon' type='image/x-icon' />
<link href='image_url' rel='icon'              type='image/x-icon' />

Example :
<link href='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXagiSZE_kxmkS_CZ4mImgbW1uHUrytyLtLObd23542MX2K4UaC82pf4z59Ocfr7v41zWWqMdn4ad8AwXrDUpViuy1FHwSLMVZhqI1bLe8-dwMW6iyvtOUzdhduojXsQpedErEjALGDJaG/' rel='shortcut icon' type='image/x-icon'/>
<link href='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXagiSZE_kxmkS_CZ4mImgbW1uHUrytyLtLObd23542MX2K4UaC82pf4z59Ocfr7v41zWWqMdn4ad8AwXrDUpViuy1FHwSLMVZhqI1bLe8-dwMW6iyvtOUzdhduojXsQpedErEjALGDJaG/' rel='icon' type='image/x-icon'/>

(If you found this article useful then share with your friends.)

How to reopen Closed Tab in Internet Browser

To open closed tab, Press Ctrl+Shift+T

Pressing every time will reopen previously closed tab in web browser.

This is shortcut to reopen a closed tab in web browser instead of going to history to open the previously closed tab.

(If you found this article useful then share with your friends.)

04 November 2010

Set Folder Name to be working as Primary Domain Name

To make a new folder as the default domain name , you need to write some code in .htaccess file

For example :
if your domain name is www.yourweb,com
and you want to set a folder named ver1 as primary directory ,
then you need to write some code in .htaccess file to redirect to your ver1 folder as primary domain.

To do this , create a file names .htaccess in the public_html/ directory .
Write the following code in .htaccess file .
Change <DOMAIN> to your domain name .
Change <SUBDIRECTORY> to the path of that folder you like to set to be primary directory.

-------------------------------------------------------------------------------------
.htaccess
-------------------------------------------------------------------------------------
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} <DOMAIN>
RewriteCond %{REQUEST_URI} !^/<SUBDIRECTORY>/(.*) [NC]
RewriteRule ^(.*)$ /<SUBDIRECTORY>/$1
-------------------------------------------------------------------------------------


This code after changing will look like this :
-------------------------------------------------------------------------------------
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} www.yourWebsite.com
RewriteCond %{REQUEST_URI} !^/ver1/(.*) [NC]
RewriteRule ^(.*)$ /ver1/$1
-------------------------------------------------------------------------------------

(If you found this article useful then share with your friends.)

29 October 2010

How to Create .htaccess file in Windows OS ?

While creating a file manually with .htaccess , it gives a warning and says "You must type a file name" . So to create .htaccess file in Windows OS ,you need to follow this:
    htaccess
  1. Go to Start -> Run -> Type "notepad" and click OK.
  2. Write your code for .htaccess.After finish writing, go to File -> Save As
  3. Enter file name .htaccess
  4. Choose Save as type: All files
  5. click Save .
Done.



(If you found this article useful then share with your friends.)