29 May 2012

How to Turn On Task Manager when Disabled in Windows XP

task manager To turn on disabled Task Manager in Windows XP:

1. Go to Start =>> Run .

 2. Type : gpedit.msc and Click OK.

 3. Group Policy window will open.

4. On the left tree , under Local Computer Policy , Expand the User Configuration =>>Administrative Template=>>System =>>Ctrl+Alt+Del

 5. On the right side , select Remove Task Manager

 6. Under setting tab , choose Enabled and click OK.

 Done

Note: This steps may not work if gpedit.msc is not accessible.

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

26 May 2012

Get the dayname of current week using SQL with system function

For MS SQL Server 2005,

This query result with output of today's name of the day :
for example , sunday or monday etc.


SELECT { fn DAYNAME(GETDATE()) } AS Expr1

This is a system defined function , so you can use it to get the todays day .

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

How to Skip Welcome Screen in Windows XP

windows xp

To skip the welcome screen in Windowx XP SP2 , follow the steps:
  1. Go to start -> Run
  2. Type "control userpasswords2"
  3. Uncheck the box "Users must enter a user name and password to use this computer"
  4. Click OK and then you will be asked to enter your password of the account (leave blank if you dont have a password)
  5. Done.

for more details with images :
http://www.mvps.org/marksxp/WindowsXP/welskip.php

for quick view :
http://xperiencexp.blogspot.com/2005/02/how-to-skip-welcome-screen_28.html

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

How to stop this from showing in php5 ? :: Warning: Cannot modify header information - headers already sent by (output started at ::

PHP5 Problem:
"Warning: Cannot modify header information - headers already sent by (output started at "

This warning message can be corrected by deleting the empty spaces and lines
before and after the < ? php and ? > tags .

for example :
Error Format :


Corrected Format:

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

How to embed Google doc Viewer in website

Google Doc Viewer is an online website where you can view documents through your browser without any additional installation of plugins or software.
To embed this google doc viewer in your website , paste the following code :
<iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Just change the url to your document link url to view.

Check this Sample Embedded document below :
Document Link: http://infolab.stanford.edu/pub/papers/google.pdf


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

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.)

Submit url to Google Yahoo MSN for SEO

If you like to get your website listed in Google/ Yahoo/ bing(msn) search result then you need to add your website name in their site. This will be very much helpful in SEO for your website links / blog sites.

-To Submit your blog url to google , Visit : Add url of blog to Google
in this site , you submit your blog site addresss and also your atom feed of your blog.

-To Submit your website url to google, Visit : Add url of your website to Google
Fill the blank space with your url , with a breif comment about your website.

-To Submit your url to bing (msn), visit : Submit website url to Bing(MSN)

-To submit url to Yahoo , visit : Add url to Yahoo

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

Add Web Reference option Missing in VS 2008 [Solved]


In MS Visual Studio 2008 , there is no direct "Add Web reference" option in the solution explorer.





In this 2008 version , it is replaced by "Add Service reference" in the right click menu.

Steps to add Web Reference in VS 2008 :


1. On the Solution Explorer , right click on References folder.

2. Choose Add Service References

3. The interface might look different but the functionality is same as "Add Web Reference" option in VS2005.

Done.

(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 Determine the URL of Google Adsense Ads

google adsense
To find the url of the specific advertisement of Google Adsense  in your website ,

  1. Right click on the image or link and choose "Copy Link Location"
  2. Open Notepad  and paste the copied link .
  3. In the string , you will find something that looks like a website address.
  4. Copy it and paste under Adsense Setup => Competitive Ad Filter text box.

Done.

You may not find Advertisement Url for Flash ads. For that , you need to download a tool to get the url.

Get the tool from google support : Using Competitive Ad Filter

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

How to Convert HTML Text to Number in Javascript

javascript
Using a function , a string can be converted to integer in Javascript.
In Javascript, functions that are used to convert from text to number are :
parseInt() , parseFloat(), number()

parseInt() fuction converts text to round number format in javascript.

Example:
var num1 = document.getElementById("textbox1").value;
var num2 = document.getElementById("textbox2").value;
var ans = parseInt( num1 + num2 );

parseFloat() function coverts text to floating number in javascript.

Example:
var num1 = document.getElementById("textbox1").value;
var num2 = document.getElementById("textbox2").value;
var ans = parseFloat( num1)  +parseFloat(num2 );

::View CHEAT SHEET of JAVASCRIPT ::

(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.)

List of Open Source Free Software for Networking and Communication

List of open source software for Networking :

wiresharkWireshark :Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education.
www.wireshark.org

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

How to switch between apps in Android

samsung galaxy y
In Android Phones, To switch between apps using task manager quickly,
1 .Hold center (hard) key for a few seconds to open it.

Done.

Tested in Samsung Galaxy Y,



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

Keyboard Shortcut to Address Bar in Web Browser

To go quickly from keyboard to Address bar of web browser,

Shortcuts are :
keyboard

Way 1: function m F6 on keyboard

Way 2: CTRL + L on keyboard.

Way 3: ALT + D on keyboard.

CTRL + Enter : Adds prefix www and append com of the address.

ALT + Enter : Opens the link in new tab / duplicate the tab.



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

25 May 2012

Windows XP restarting continuous - Solved

windows

Problem: Windows xp keeps on restarting continuously and non-stop restarting

Solution: This problem can be solved by getting into Recovery Console from the boot menu.

  • First Boot Windows XP CD


  • Press R when options are displayed. [R is for Recovery Console]


  • Write the comand prompt,

chkdsk c: /p


/p 
Performs an exhaustive check even if the drive is not marked for chkdsk to run. This parameter does not make any changes to the drive.
/r
Locates bad sectors and recovers readable information. Implies /p.

Problem should get solved.


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