Pages

Categories

First of all this tips & tricks is courtsey not by me but i have found on on of the forum. I ahve tried this tricks and works very good

Most imp thing is thgat if anyone colund not follow and get problems or any type of damages by this tips anyhow……….. i’ll not be responsible

Her r the tips…………….

DISABLE INDEXING SERVICES
Indexing Services is a small little program that uses large amounts of RAM and can often make a computer endlessly loud and noisy. This system process indexes and updates lists of all the files that are on your computer. It does this so that when you do a search for something on your computer, it will search faster by scanning the index lists. If you don’t search your computer often, or even if you do search often, this system service is completely unnecessary. To disable do the following:

Windows XP can look sexy but displaying all the visual items can waste system resources. To optimise:

1.Go to Start
2. Click Settings
3. Click Control Panel
4. Click System
5. Click Advanced tab
6. In the Performance tab click Settings
7. Leave only the following ticked:
– Show shadows under menus
– Show shadows under mouse pointer
– Show translucent selection rectangle
– Use drop shadows for icons labels on the desktop
– Use visual styles on windows and buttons

DISABLE PERFORMANCE COUNTERS

Windows XP has a performance monitor utility which monitors several areas of your PC’s performance. These utilities take up system resources so disabling is a good idea.

To disable:

1. download and install the Extensible Performance Counter List(http://www.microsoft.com/windows2000/remove404.mspx)
2.Then select each counter in turn in the ‘Extensible performance counters’ window and clear the ‘performance counters enabled’ checkbox at the bottom.button below.

SPEEDUP FOLDER BROWSING

You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly:

Cacheman Improves the performance of your computer by optimizing the disk cache, memory and a number of other settings.

Once Installed:

1.Go to Show Wizard and select All
2.Run all the wizards by selecting Next or Finished until you are back to the main menu. Use the defaults unless you know exactly what you are doing.
3.Exit and Save Cacheman
4.Restart Windows

OPTIMISE YOUR INTERNET CONNECTION

There are lots of ways to do this but by far the easiest is to run TCP/IP Optimizer.

1. Download(www.speedguide.net/files/tcpoptimizer.exe) and install
2. Click the General Settings tab and select your Connection Speed (Kbps)
3. Click Network Adapter and choose the interface you use to connect to the Internet
4. Check Optimal Settings then Apply
5. Reboot

OPTIMISE YOUR PAGEFILE

If you give your pagefile a fixed size it saves the operating system from needing to resize the page file.

1. Right click on My Computer and select Properties
2. Select the Advanced tab
3. Under Performance choose the Settings button
4. Select the Advanced tab again and under Virtual Memory select Change
5. Highlight the drive containing your page file and make the initial Size of the file the same as the Maximum Size of the file.

Windows XP sizes the page file to about 1.5X the amount of actual physical memory by default. While this is good for systems with smaller amounts of memory (under 512MB) it is unlikely that a typical XP desktop system will ever need 1.5 X 512MB or more of virtual memory. If you have less than 512MB of memory, leave the page file at its default size. If you have 512MB or more, change the ratio to 1:1 page file size to physical memory size.

1. Download and Run
2. Select Trace
3. Select Next Boot and Driver Trace
4. A Trace Repetitions screen will appear, select Ok and Reboot
5. Upon reboot, BootVis will automatically start, analyze and log your system’s boot process. When it’s done, in the menu go to Trace and select Optimize System
6. Reboot.
7. When your machine has rebooted wait until you see the Optimizing System box appear. Be patient and wait for the process to complete

REMOVE THE DESKTOP PICTURE
Your desktop background consumes a fair amount of memory and can slow the loading time of your system. Removing it will improve performance.

Fonts, especially TrueType fonts, use quite a bit of system resources. For optimal performance, trim your fonts down to just those that you need to use on a daily basis and fonts that applications may require.

1. Open Control Panel
2. Open Fonts folder
3. Move fonts you don’t need to a temporary directory (e.g. C:\FONTBKUP?) just in case you need or want to bring a few of them back. The more fonts you uninstall, the more system resources you will gain.
DISABLE UNNECESSARY SERVICES

Because Windows XP has to be all things to all people it has many services running that take up system resources that you will never need. Below is a list of services that can be disabled on most machines:

Go to Start and then Run and type “services.msc”
Doubleclick on the service you want to change
Change the startup type to ‘Disable”

TURN OFF SYSTEM RESTORE

System Restore can be a useful if your computer is having problems, however storing all the restore points can literally take up Gigabytes of space on your hard drive. To turn off System Restore:

Open Control Panel
Click on Performance and Maintenance
Click on System
Click on the System Restore tab
Tick ‘Turn off System Restore on All Drives’
Click ‘Ok’

DEFRAGMENT YOUR PAGEFILE

Keeping your pagefile defragmented can provide a major performance boost. One of the best ways of doing this is to creat a separate partition on your hard drive just for your page file, so that it doesn’t get impacted by normal disk usage. Another way of keeping your pagefile defragmented is to run PageDefrag. This cool little app can be used to defrag your pagefile, and can also be set to defrag the pagefile everytime your PC starts. To install:

Download(www.sysinternals.com) and Run PageDefrag
Tick “Defrag at next Reboot”,
Click “Ok”
Reboot

SPEEDUP FOLDER ACCESS – DISABLE LAST ACCESS UPDATE

If you have a lot of folders and subdirectories on your computer, when you access a directory XP wastes a lot of time updating the time stamp showing the last access time for that directory and for ALL sub directories. To stop XP doing this you need to edit the registry. If you are uncomfortable doing this then please do not attempt.

Go to Start and then Run and type “regedit”
Click through the file system until you get to “HKEY_LOCAL_MACHINE\System\Cur rentControlSet\Control\FileSys tem”
Right-click in a blank area of the window on the right and select ‘DWORD Value’
Create a new DWORD Value called ‘NtfsDisableLastAccessUpdate’
Then Right click on the new value and select ‘Modify’
Change the Value Data to ‘1’
Click ‘OK’
DISABLE SYSTEM SOUNDS

Surprisingly, the beeps that your computer makes for various system sounds can slow it down, particularly at startup and shut-down. To fix this turn off the system sounds:

IMPROVE BOOT TIMES
A great new feature in Microsoft Windows XP is the ability to do a boot defragment. This places all boot files next to each other on the disk to allow for faster booting. By default this option in enables but on some builds it is not so below is how to turn it on.

Go to Start Menu and Click Run
Type in “Regedit” then click ok
Find “HKEY_LOCAL_MACHINE\SOFTWARE\M icrosoft\Dfrg\BootOpt imizeFunction”
Select “Enable” from the list on the right
Right on it and select “Modify”
Change the value to “Y to enable”
Reboot

IMPROVE SWAPFILE PERFORMANCE

If you have more than 256MB of RAM this tweak will considerably improve your performance. It basically makes sure that your PC uses every last drop of memory (faster than swap file) before it starts using the swap file.

Go to Start then Run
Type “msconfig.exe” then ok
Click on the System.ini tab
Expand the 386enh tab by clicking on the plus sign
Click on new then in the blank box type”ConservativeSwapfileUsage =1″
Click OK
Restart PC

MAKE YOUR MENUS LOAD FASTER

This is one of my favourite tweaks as it makes a huge difference to how fast your machine will ‘feel’. What this tweak does is remove the slight delay between clicking on a menu and XP displaying the menu.

Go to Start then Run
Type ‘Regedit’ then click ‘Ok’
Find “HKEY_CURRENT_USER\Control Panel\Desktop\”
Select “MenuShowDelay”
Right click and select “Modify’
Reduce the number to around “100”
This is the delay time before a menu is opened. You can set it to “0” but it can make windows really hard to use as menus will open if you just look at them – well move your mouse over them anyway. I tend to go for anywhere between 50-150 depending on my mood
MAKE PROGRAMS LOAD FASTER

This little tweak tends to work for most programs. If your program doesn’t load properly just undo the change. For any program:

Right-click on the icon/shortcut you use to launch the program
Select properties
In the ‘target’ box, add ‘ /prefetch:1’ at the end of the line.
Click “Ok”
Voila – your programs will now load faster.

IMPROVE XP SHUTDOWN SPEED

This tweak reduces the time XP waits before automatically closing any running programs when you give it the command to shutdown.

This tweak works by creating a batch file to clear the temp and history folders everytime you shutdown so that your PC doesn’t waste time checking these folders the next time it boots. It’s quite simple to implement:

2. Save the new as anything you like but it has to be a ‘.bat’ file e.g. fastboot.bat or deltemp.bat

3. Click ‘Start’ then ‘Run’

4. Type in ‘gpedit.msc’ and hit ‘ok’

5. Click on ‘Computer Configuration’ then ‘Windows Settings’

6. Double-click on ‘Scripts’ and then on ‘Shutdown’

7. Click ‘Add’ and find the batch file that you created and then press ‘Ok’
SPEED UP BOOT TIMES II

When your PC starts it usually looks for any bootable media in any floppy or cd-rom drives you have installed before it gets around to loading the Operating System from the HDD. This can waste valuable time. To fix this we need to make some changes to the Bios.

1. To enter the bios you usually press ‘F2’ or ‘delete’ when your PC starts

2. Navigate to the ‘Boot’ menu

3. Select ‘Boot Sequence’

4. Then either move your Hard drive to the top position or set it as the ‘First Device’

Note: Once this change has been made, you won’t be able to boot from a floppy disc or a CD-rom. If for some strange reason you need to do this in the future, just go back into your bios, repeat the steps above and put your floppy or CD-rom back as the ‘First Device’
SPEED UP BOOT TIMES III

When your computer boots up it usually has to check with the network to see what IP addresses are free and then it grabs one of these. By configuring a manually assigned IP address your boot time will improve. To do this do the following:

1. Click on ‘Start’ and then ”Connect To/Show All Connections’

2. Right-click your network adapter card and click ‘Properties’.

3. On the ‘General’ tab, select ‘TCP/IP’ in the list of services and click ‘Properties’

4.I n the TCP/IP properties, click ‘Use the following address’ and enter an IP address for your PC. If you are using a router this is usually 192.168.0.xx or 192.168.1.xx. If you are not sure what address you could check with your ISP or go to ‘Start/run’ and type ‘cmd’ and then ‘ipconfig/all’. This will show your current IP settings which you will need to copy.

5. Enter the correct details for ‘Subnet mask’, ‘Default gateway’ and ‘DNS Server’. Again if you are not sure what figures to enter use ‘ipconfig/all’ as in stage 4.

FREE UP MEMORY
I found this useful app via FixMyXP. ClearMem Is an Excellent Tool for speeding up your XP Computer (especially if your system has been on for awhile and you have a lot of applications open). What it does, is it Forces pages out of physical memory and reduces the size of running processes if working sets to a minimum. When you run this tool, the system pauses because of excessive high-priority activity associated with trimming the working sets. To run this tool, your paging file must be at least as large as physical memory. To Check your Paging File:

1. Go to your control panel, then click on ‘System’, then go to the ‘Advanced’ Tab, and Under ‘Performance’ click ‘Settings’ then the ‘Advanced’ Tab

2. On the Bottom you should see ‘Virtual Memory’ and a value. This is the value that must be at least as large as how much memory is in your system.

3. If the Virtual Memory Value is smaller than your system memory, click Change and change the Min Virtual Memory to a number that is greater than your total system memory, then click ‘Set’ and Reboot.

4. Once you have rebooted install ClearMem
ENSURE XP IS USING DMA MODE

XP enables DMA for Hard-Drives and CD-Roms by default on most ATA or ATAPI (IDE) devices. However, sometimes computers switch to PIO mode which is slower for data transfer – a typical reason is because of a virus. To ensure that your machine is using DMA:

4. In the ‘Current Transfer Mode’ drop-down box, select ‘DMA if Available’ if the current setting is ‘PIO Only’

ADD CORRECT NETWORK CARD SETTINGS

Some machines suffer from jerky graphics or high CPU usage even when a machine is idle. A possible solution for this, which, can also can help network performance is to:

1. RightClick ‘My Computer’

2. Select ‘Manage’

3. Click on ‘Device Manager’

4. DoubleClick your network adaptor under ‘Network Adapters’

5. In the new window, select the ‘Advanced’ tab

6. Select ‘Connection Type’ and select the correct type for your card and then Reboot

REMOVE ANNOYING DELETE CONFIRMATION MESSAGES

Although not strictly a performance tweak I love this fix as it makes my machine ‘feel’ faster. I hate the annoying ‘are you sure?’ messages that XP displays, especially if I have to use a laptop touchpad to close them. To remove these messages:

1. Right-click on the ‘Recycle Bin’ on the desktop and then click ‘Properties’

Is it too early to forecast the demise of the vertical job search engines? Maybe. Maybe not. Here are some thoughts to consider:

Indeed – If any vertical will survive on its own, these guys are it. They know the job board business better than their peers and have kept things focused and lean-and-mean from Day One. That said, the recent choice by investor New York Times to ally with Monster Worldwide doesn’t bode well for the current state of revenue generation for Indeed. Their PPC model, a la Google AdWords, is well done, but by the time enough job boards become advertisers (assuming a profitable number do become advertisers), the faucet of content may dry-up.

Simply Hired – Born to be acquired and partying like its 1999. The gang at SH is very talented but their trial-and-error is reminiscent of the early days: resume blasting, untargeted banner ads (a job search for “marketing” in “Cleveland” gives me general ads for Dice, a healthcare job board and Oracle) and giveaway promos for a free HP Jordana, er, I mean iPhone. The Job-a-matic product is nice, but I have doubts the blogging masses will generate enough cash to make it worthwhile. Hell, I write for the Internet recruiting space and only have 2 job postings on my own board … and postings are only $5. Geesh!

Jobster – The evolution of these cats reads like a horror story out of business school. Referral site then vertical job search engine then social network then layoffs then free-for-all and spending God-only-knows to partner exclusively with Facebook. Whew! At least $50 million buys a great roller coaster ride. I look at Jobster and see a site at this point just hoping to 1) drive a bunch of traffic, 2) get a lot of registered users and, most importantly, 3) pull a good number of employers into their database via free job postings, in return for becoming an appealing acquisition target. Maybe if someone like IAC buys Facebook, they’ll throw in Jobster for fun. Dating with your job search anyone?

The periphery – Take a look at the second tier players in this space and there’s not much to be impressed about. Many are experiments, supporting sites to bigger ones, drowning without an acquisition lifesaver or, worse yet, none of the above. I think you’ll see a lot of death and destruction in the coming year.

It makes me sad. I hope I’m wrong. I’m a big fan of vertical search in general, but particularly for jobs. I think users prefer a single destination to search multiple boards and employers. And I still believe the idea can work in the right environment. Google Base is seeing improvement and traffic mammoth Yahoo! has a lot of potential integrating job content from around the Web.

However, the unfortunate reality may be that no matter how much the verticals provide a great service, pleasing the investors who have poured tens of millions into seeing big money probably are not all that pleased right about now.

That said, a majority of the primary verticals have told me to be on the lookout for enhancements that will “blow your mind.” We’ll see. Blowing away the revenue projections would probably be more important at this point.

Every time an economic bubble develops, many will tell you how “this time it’s different,” how “this time the rules have changed.” The lie of the Web 2.0 bubble is that free is the way to succeed in the new economy. That’s not true. The rules of economics have not changed. The best way to make money in the new economy, in the Web 2.0 economy, comes down to the same fundamental business model that has always existed: create something of value for people who will pay for it.

scaling from $5 to $50 million is not the toughest part of a new venture – it’s getting your users to pay you anything at all. The biggest gap in any venture is that between a service that is free and one that costs a penny.

Then he suggests that the existence of this hard-to-cross chasm means you should look for someone other than users to pay–advertisers perhaps.

However, the reason there’s a huge gap between people paying you nothing and people paying you something is because that’s where you go from hobby to business. Between zero revenue and positive revenue lies your business model. Going from zero pay to a penny is where you’ve discovered how to make money–and that’s what businesses are about. The penny gap separates the winners from the losers, economically speaking.

VC Fred Wilson wrote in defense of free in 2005: “free is a great way to make money. You just have to know how you are going to get paid for being free.”

That’s the key to having a business: getting paid, not whether you offer free samples in the morning newspaper to convince people your shampoo smells really great.

To be fair to these VCs, they’re not advocating doing everything without pay. They’re suggesting free as a tactic towards getting paid in other ways: through advertising, or by premium services (as in a freemium model), or maybe even through being acquired by a company with a large wallet. Free is only a tactic, though, not a business model.

Conflating the two misleads web application developers into thinking they don’t need to do the hard work of figuring out what’s really of value to users before they build and launch their online service. Who loses? Users, because we have to suffer through introduction after introduction of half-baked web apps that we’re not willing to pay for with our money or our attention.

If you are doing it twice, you are doing it wrong. Every piece of code should be designed only once. When setting to a new project, look for places to reuse your previous code. Allow old code to be modified to serve multiple purposes. As you work in any language, you should be building a large toolbox of subroutines that you can bring to bear on each new task.

Borrow code. When able, pick a programming language that is popular, so you can go download code that others have already created. Check around before you commit hours to writing code that someone else probably already wrote.

Make the computer do the work for you. Work to make any repetitive task into an automated one. Some tasks will actually take longer to accomplish when not done manually, but over time you will recoup those lost minutes when performing similar tasks.

Find short cuts. If you expect that you will type the same command over and over, make an alias for it that is one or two characters long. Use an editor that allow easy insertion of long variable and command names. Fewer keystrokes, even for fast typists, can save a lot of time.

Make code legible. Make variable names and procedure names long and clear. Usually variables should be nouns, procedures should be verbs, and procedures that return a value of importance should be nouns. This is a critical part of good internal documentation. The time saved in making short variable and procedure names will be lost many times over when trying to read the code later. Add comments that say why you are doing what you are doing, and make sure that your programs are clear enough about how you are doing it.

Find elegant solutions. Perhaps the hardest part of good programming is creating abstract data structures and programs that can handle any problem that is likely to be presented. Code that has exceptions for unusual requests are difficult to maintain and fail to scale well when those unusual requests become common tasks.

Test. Always test out changed code in many different situations. Consider how a change might affect other programs. Make all your tests automated, or you will not want to run them all the time.

There is no good writing, only good rewriting. Read over your code frequently to see how it can be improved. After a project has matured, a full rewrite will often sweep out all old bugs and accurately capture the evolved program requirements. Get other good programmers to read your code and offer suggestion. If you would be embarrassed to have your work critiqued, get busy rewriting it.

First of all:
Double Quote Marks (“) have to be around an entire SQL Statement

If there is Limiter (non-numeric), like ‘where Fieldname=Peter’, where the limiter is not numeric, then you must put single quotes around it:

“Select * from Tablename where (Firstname)=’Peter’

This is an example of an EXACT SQL Statement. We are asking to return all instances of the name ‘Peter’.

Here’s where it gets tricky with variables. In our form, we are requesting a name, but whoever fills out the form might want to search for someone with a different name. So, since it can be different things to different people, we assign that section of the SQL statement a variable.

Let’s say you have designated a variable called FirstNameVar. Above where Peter starts is where the variable would go, but Peter is an exact search and a variable is not, so your SQL ending double quote goes directly after the single quote. This is where the EXACT SQL statement ends. At this point, you have:

“Select * from Tablename where (Firstname)='”

Notice, that directly after the single quote is a double quote, just as if it were the end, but as you know, it isn’t. Think of how a response.write statement is in ASP.Net when we have html that needs to be in the response.write statement:Response.write “Here is the the name You wanted” & myVar

The exact HTML is separated from the ASP. Well, in SQL, the same thing is happening. You are separating the EXACT SQL statement from the Variables.

OK, what about the variable? Well, you add an ampersand and the variable name:

“Select * from Tablename where (Firstname)='” & FirstNameVar

But, we’re not finished yet, because, if you remember, the EXACT name must be surrounded by single quotes and the entire SQL statement must start & end with double quotes. Therefore, we must add the single quote, but also remember that it is still part of the EXACT SQL Syntax. And – in SQL, when you separate the EXACT SQL from the variables, each section of the EXACT SQL is enclosed within its own double quotes. The SQL statement, though, within the ASP.Net brackets is a separated text statement. The EXACT SQL is surrounded by quotes, where the variables aren’t. Remember, we are inside the ASP.Net brackets with this SQL statement and everything within double quotes is not considered ASP.Net code. So, we end up with:

“Select * from Tablename where (Firstname)='” & FirstNameVar & “‘”

If you wanted to change out the “=” for “like”, then you would have an exact SQL like:

“Select * from Tablename where (Firstname)=’Peter%’

where this would find all instances of Peter as well as Peterman, Peterovsky, etc.
OR:

“Select * from Tablename where (Firstname)=’%Peter%’

— which would return to you any name which had the letters Peter anywhere in it.

With Variables, that would give you something like this:

“Select * from Tablename where (Firstname)=’%” & FirstNameVar & “%'”

Notice And, of course, this is only the first part because we are dealing with Non-numeric/text type values only. There are no single quotes around numeric values in an SQL statement.
So, if you put the single quotes around data and the data type of the field is numeric, you will get an error – a datatype mismatch error. Naturally, you need to be knowledgeable about the data structure of your table so that, for the fields that have a numeric datatype, you can go back and remove the single quotes around that field in the SQL statement.
For instance, if your statement looks like this:

MySQL="Select * from data where age >'" & strAge & "'"

You will get an error on the Age field if, in your data structure, you have defined the Age field with a numeric datatype. You would need to change your statment to this:

MySQL="Select * from data where age >" & strAge

Notice that the single quote before and after strAge have been removed. This will not give you an error. Then, of course, this principle is even more exemplified when using an INSERT statement. It boils down to one fact :

When you use single quotes, you are telling the database “the data I’m requesting (or INSERTING) is text”.
When you do not surround the data in your SQL statements with single quotes, you are telling the database “the data I’m requesting (or INSERTING) is numeric”.

So, as you can see it really pays to know your data!

Now – one Caveat – – Let’s say, you are inserting/updating a field where there is an apostrophe or single quote in the text itself. Since data is surrounded with single quotes, this would then cause a problem. It would actually end the text for that field at the point of the single quote/apostrophe. Then, the rest of the entire SQL statement is thrown off. To deal with this we can double the single quotes in the variable before it’s inserted into the database. By doing this, the database knows that two single quotes/apostrophes in a row mean that we actually want that character in the data. I normally recommend doing the replacement before the SQL statement so that the SQL statement is as clean and readable as possible. Here’s the basic VB.Net syntax for replacement:

MyVar = MyVar.Replace(“‘”, “””)

Don’t forget, though, to reverse the process when displaying the data from the database.In this tutorial, we’ve shown how to use single quotes and double quotes, with variables in an SQL statement and how to deal with single quotes/apostrophes with insert/update SQL statements. At this point, the rest is up to you!