Thursday, October 11, 2012

Four Tips for Longer PC Life



1. Keep your PC in a smoke-free environment. Tobacco smoke can damage delicate contacts and circuits.

2. Leave your PC running. Powering up from a cold state is one of the most stressful things you can do to your system's components.
If you don't want to leave your PC running all the time, use Windows' Power Management settings to put your machine into hibernation rather than completely shutting down.

In Windows XP, right-click the desktop and select Properties. Click the Screen Saver tab and select the Power button. Choose the Hibernate tab to ensure that hibernation is enabled, and then select a time beneath "System hibernates" under the Power Schemes tab.

(Note that this option is not available on all PCs.)
Computers running older versions of Windows may or may not provide similar power-management features. Look under the Power Management icon (Power Options in Windows 2000) in Control Panel to evaluate your machine's capabilities.

3. Don't leave your monitor running. The best way to extend your display's life is to shut it off when it's not in use.

4. Avoid jostling the PC. Whenever you move your system, even if it's just across the desktop, make sure the machine is shut down and unplugged.

Read more

Stop a restart process or shutdown in 3 steps

Some times we need to stop some restart process quickly.
In windows XP some times it gives auto restart warning and here is good solution for it.


1. Go to Start menu

2. Click on RUN

3. Enter the following command excluding hashcodes "shutdown -a"

its Done.
Read more

1 to 25 ways to speed windows not only defragment

Since defragging the disk won't do much to improve Windows XP performance, here are 25 suggestions that will.

Each can enhance the performance and reliability of your customers' PCs. Best of all, most of them will cost you nothing.

1.) To decrease a system's boot time and increase system performance, use the money you save by not buying defragmentation software -- the built-in Windows defragmenter works just fine -- and instead equip the computer with an Ultra-133 or Serial ATA hard drive with 8-MB cache buffer.

2.) If a PC has less than 512 MB of RAM, add more memory. This is a relatively inexpensive and easy upgrade that can dramatically improve system performance.

3.) Ensure that Windows XP is utilizing the NTFS file system. If you're not sure, here's how to check: First, double-click the My Computer icon, right-click on the C: Drive, then select Properties. Next, examine the File System type; if it says FAT32, then back-up any important data. Next, click Start, click Run, type CMD, and then click OK. At the prompt, type CONVERT C: /FS:NTFS and press the Enter key. This process may take a while; it's important that the computer be uninterrupted and virus-free.

The file system used by the bootable drive will be either FAT32 or NTFS. I highly recommend NTFS for its superior security, reliability, and efficiency with larger disk drives.

4.) Disable file indexing. The indexing service extracts information from documents and other files on the hard drive and creates a "searchable keyword index." As you can imagine, this process can be quite taxing on any system.

The idea is that the user can search for a word, phrase, or property inside a document, should they have hundreds or thousands of documents and not know the file name of the document they want. Windows XP's built-in search functionality can still perform these kinds of searches without the Indexing service. It just takes longer. The OS has to open each file at the time of the request to help find what the user is looking for.

Most people never need this feature of search. Those who do are typically in a large corporate environment where thousands of documents are located on at least one server. But if you're a typical system builder, most of your clients are small and medium businesses. And if your clients have no need for this search feature, I recommend disabling it.

Here's how: First, double-click the My Computer icon. Next, right-click on the C: Drive, then select Properties. Uncheck "Allow Indexing Service to index this disk for fast file searching." Next, apply changes to "C: subfolders and files," and click OK. If a warning or error message appears (such as "Access is denied"), click the Ignore All button.

5.) Update the PC's video and motherboard chipset drivers. Also, update and configure the BIOS. For more information on how to configure your BIOS properly, see this article on my site.

6.) Empty the Windows Prefetch folder every three months or so. Windows XP can "prefetch" portions of data and applications that are used frequently. This makes processes appear to load faster when called upon by the user. That's fine. But over time, the prefetch folder may become overloaded with references to files and applications no longer in use. When that happens, Windows XP is wasting time, and slowing system performance, by pre-loading them. Nothing critical is in this folder, and the entire contents are safe to delete.

7.) Once a month, run a disk cleanup. Here's how: Double-click the My Computer icon. Then right-click on the C: drive and select Properties. Click the Disk Cleanup button -- it's just to the right of the Capacity pie graph -- and delete all temporary files.

8.) In your Device Manager, double-click on the IDE ATA/ATAPI Controllers device, and ensure that DMA is enabled for each drive you have connected to the Primary and Secondary controller. Do this by double-clicking on Primary IDE Channel. Then click the Advanced Settings tab. Ensure the Transfer Mode is set to "DMA if available" for both Device 0 and Device 1. Then repeat this process with the Secondary IDE Channel.

9.) Upgrade the cabling. As hard-drive technology improves, the cabling requirements to achieve these performance boosts have become more stringent. Be sure to use 80-wire Ultra-133 cables on all of your IDE devices with the connectors properly assigned to the matching Master/Slave/Motherboard sockets.

A single device must be at the end of the cable; connecting a single drive to the middle connector on a ribbon cable will cause signaling problems. With Ultra DMA hard drives, these signaling problems will prevent the drive from performing at its maximum potential. Also, because these cables inherently support "cable select," the location of each drive on the cable is important. For these reasons, the cable is designed so drive positioning is explicitly clear.

10.) Remove all spyware from the computer. Use free programs such as AdAware by Lavasoft or SpyBot Search & Destroy. Once these programs are installed, be sure to check for and download any updates before starting your search. Anything either program finds can be safely removed. Any free software that requires spyware to run will no longer function once the spyware portion has been removed; if your customer really wants the program even though it contains spyware, simply reinstall it. For more information on removing Spyware visit this Web Pro News page.

11.) Remove any unnecessary programs and/or items from Windows Startup routine using the MSCONFIG utility. Here's how: First, click Start, click Run, type MSCONFIG, and click OK. Click the StartUp tab, then uncheck any items you don't want to start when Windows starts. Unsure what some items are? Visit the WinTasks Process Library. It contains known system processes, applications, as well as spyware references and explanations. Or quickly identify them by searching for the filenames using Google or another Web search engine.

12.) Remove any unnecessary or unused programs from the Add/Remove Programs section of the Control Panel.

13.) Turn off any and all unnecessary animations, and disable active desktop. In fact, for optimal performance, turn off all animations. Windows XP offers many different settings in this area. Here's how to do it: First click on the System icon in the Control Panel. Next, click on the Advanced tab. Select the Settings button located under Performance. Feel free to play around with the options offered here, as nothing you can change will alter the reliability of the computer -- only its responsiveness.

14.) If your customer is an advanced user who is comfortable editing their registry, try some of the performance registry tweaks offered at Tweak XP.

15.) Visit Microsoft's Windows update site regularly, and download all updates labeled Critical. Download any optional updates at your discretion.

16.) Update the customer's anti-virus software on a weekly, even daily, basis. Make sure they have only one anti-virus software package installed. Mixing anti-virus software is a sure way to spell disaster for performance and reliability.

17.) Make sure the customer has fewer than 500 type fonts installed on their computer. The more fonts they have, the slower the system will become. While Windows XP handles fonts much more efficiently than did the previous versions of Windows, too many fonts -- that is, anything over 500 -- will noticeably tax the system.

18.) Do not partition the hard drive. Windows XP's NTFS file system runs more efficiently on one large partition. The data is no safer on a separate partition, and a reformat is never necessary to reinstall an operating system. The same excuses people offer for using partitions apply to using a folder instead. For example, instead of putting all your data on the D: drive, put it in a folder called "D drive." You'll achieve the same organizational benefits that a separate partition offers, but without the degradation in system performance.

Also, your free space won't be limited by the size of the partition; instead, it will be limited by the size of the entire hard drive. This means you won't need to resize any partitions, ever. That task can be time-consuming and also can result in lost data.

19.) Check the system's RAM to ensure it is operating properly. I recommend using a free program called MemTest86. The download will make a bootable CD or diskette (your choice), which will run 10 extensive tests on the PC's memory automatically after you boot to the disk you created. Allow all tests to run until at least three passes of the 10 tests are completed. If the program encounters any errors, turn off and unplug the computer, remove a stick of memory (assuming you have more than one), and run the test again. Remember, bad memory cannot be repaired, but only replaced.

20.) If the PC has a CD or DVD recorder, check the drive manufacturer's Web site for updated firmware. In some cases you'll be able to upgrade the recorder to a faster speed. Best of all, it's free.

21.) Disable unnecessary services. Windows XP loads a lot of services that your customer most likely does not need. To determine which services you can disable for your client, visit the Black Viper site for Windows XP configurations.

22.) If you're sick of a single Windows Explorer window crashing and then taking the rest of your OS down with it, then follow this tip: open My Computer, click on Tools, then Folder Options. Now click on the View tab. Scroll down to "Launch folder windows in a separate process," and enable this option. You'll have to reboot your machine for this option to take effect.

23.) At least once a year, open the computer's cases and blow out all the dust and debris. While you're in there, check that all the fans are turning properly. Also inspect the motherboard capacitors for bulging or leaks. For more information on this leaking-capacitor phenomena, you can read numerous articles on my site.

24.) Key things to save your computer : Defragment, DiskCheck, Error Cleaning, Antivirus, Memory Scanning etc.

25.) Scan every external disk you connect. There are many autorun viruses which may bipass antivirus if not scanned.


Read more

Tuesday, October 09, 2012

Signup form javascript validation with regular expressions - demo and coding

Demo form with validation
* click submit to check validation

Name : *
Email : *
Subject : *
Contact : *
Message :  
   
Javascript code for signup form <script type="text/javascript"> var ck_name = /^[A-Za-z0-9 ]{1,20}$/; var ck_email= /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i ; var ck_subject = /^[A-Za-z0-9!@#,$%^&* -.+()_]{1,150}$/; var ck_phone = /^[0-9]{8,20}$/; function validate(form){ var name = form.name.value; var email = form.email.value; var subject = form.subject.value; var phone = form.phone.value; var errors = []; if (!ck_name.test(name)) { errors[errors.length] = "Enter Valid name"; } if (!ck_email.test(email)) { errors[errors.length] = "Enter valid email-id"; } if (!ck_subject.test(subject)) { errors[errors.length] = "Enter subject"; } if (!ck_phone.test(phone)) { errors[errors.length] = "Enter phone number"; } if (errors.length > 0) { reportErrors(errors); return false; } return true; } function reportErrors(errors){ var msg = "Please Enter Valid Data...\n"; for (var i = 0; i<errors.length; i++) { var numError = i + 1; msg += "\n" + numError + ". " + errors[i]; } alert(msg); } </script> Signup form html code <form method="post" name="form" onSubmit="return validate(this);"> <table width="100%" border="0" cellpadding="5"> <tr> <td width="32%" align="right"> Name :</td> <td width="4%">*</td> <td width="64%"><input class="tb6" type="text" name="name"></td> </tr> <tr> <td align="right">Email :</td> <td>*</td> <td><input class="tb6" type="text" name="email" /></td> </tr> <tr> <td align="right">Subject :</td> <td>*</td> <td><input class="tb6" type="text" name="subject" /></td> </tr> <tr> <td align="right">Contact :</td> <td>*</td> <td><input class="tb6" type="text" name="phone" /></td> </tr> <tr> <td valign="top" align="right">Message :</td> <td>&nbsp;</td> <td><textarea name="message" id="message" class="tb6" cols="30" rows="3"></textarea></td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> <td><input type="submit" value="Submit" name="submit" id="submit"></td> </tr> </table> </form>
Read more

Saturday, October 06, 2012

7 Dangerous acts after a meal in day to day life

1. Don’t smoke —- Experiments from experts proves that smoking a cigarette after meal is comparable to smoking 10 cigarettes (chances of cancer is higher)

2. Don’t eat fruits immediately — Immediately eating fruits after meals will cause stomach to be bloated with air. Thre fore take fruits 1 -2 hours after meal or 1 hour before meal.

3. Don’t drink tea—— Because tea leaves contain a high content of acid. This substance will cause the protein content in the food we consume to be hundred thus difficult to digest.

4. Don’t loosen your belt———- Loosening the belt after meal will easily cause the intestine to be twisted and blocked.

5. Don’t bathe———- ——- Bathing after meal will cause the increase of blood flow to the hands, legs and body thus the amount of blood around the stomach will therefore decrease, this will weaken the digestive system in our stomach.

6. Don’t walk about———- — People always say that after a meal walk a hundred steps and you will live till 99. In actual fact this is not true. Walking will cause the digestive system to be unable to absorb the nutrition from the food we intake.

7. Don’t sleep immediately—- ——– The food we intake will not be to digest properly. Thus will lead to gastric and infection in our intestine.

Please Share it to your friends let them be aware.
Read more

Monday, October 01, 2012

‎25 ultimate tips for better life


1. Take a 10-30 minute walk every day. & while you walk, SMILE. It is the ultimate antidepressant.

2. Sit in silence for at least 10 minutes each day.

3. When you wake up in the morning, Pray to ask God's guidance for your purpose, today.

4. Eat more foods that grow on trees and plants and eat less food that is manufactured in plants.

5. Drink green tea and plenty of water. Eat blueberries, broccoli, and almonds.

6. Try to make at least three people smile each day.

7. Don't waste your precious energy on gossip, energy vampires, issues of the past, negative thoughts or things you cannot control. Instead invest your energy in the positive present moment.

8. Eat breakfast like a king, lunch like a prince and dinner like a college kid with a maxed out charge card.

9. Life isn't fair, but it's still good.

10. Life is too short to waste time hating anyone. Forgive them for everything !

11. Don't take yourself so seriously. No one else does.

12.You don't have to win every argument. Agree to disagree.

13. Make peace with your past so it won't spoil the present.

14. Don't compare your life to others. You have no idea what their journey is all about.

15. No one is in charge of your happiness except you.

16. Frame every so-called disaster with these words: 'In five years, will this matter?'

17. Help the needy,Be generous ! Be a 'Giver' not a 'Taker'

18. What other people think of you is none of your business.

19. Time heals everything.

20. However good or bad a situation is, it will change.

21. Your job won't take care of you when you are sick. Your friends will. Stay in touch.

22. Envy is a waste of time. You already have all you need.

23. Each night before you go to bed ,Pray to God and Be thankful for what you'll accomplish, today !

24. Remember that you are too blessed to be stressed.

25.share this to everyone to help them lead a happier life.
Read more