Geek Daily

Your source for daily geek news


As a web developer there are many important issues I have ran into over the years. I will try to cover them in this blog so hopefully you can avoid them...

As a .Net Programmer I enjoy using String.Format frequently when working with strings, particularly in SQL statements. Now I don’t work with SQL in JavaScript but there are still plenty of times that I wish I could just whip out my handy dandy String.Format but sadly JavaScript does support this function…what’s that you say?…it does now?

I decided enough was enough and I extended the String object to include my beloved String.Format.


function _StringFormatInline()
	var txt = this;
	for(var i=0;i<arguments.length;i++)
		var exp = new RegExp('\{' + (i) + '\}','gm');
		txt = txt.replace(exp,arguments[i]);
	return txt;

function _StringFormatStatic()
	for(var i=1;i<arguments.length;i++)
		var exp = new RegExp('\{' + (i-1) + '\}','gm');
		arguments[0] = arguments[0].replace(exp,arguments[i]);
	return arguments[0];

	String.prototype.format = _StringFormatInline;

	String.format = _StringFormatStatic;

I have given this feature 2 flavors; inline and static. For all you C#ers you know what a static method is, and inline, well I’ll just show you. Now you can do either of these:


var str = String.format("This is a {0} string using the {1} method.","formatted","static");


var str = "This is a {0} string using the {1} method.".format("formatted","inline");

And a nice little sample page would go like this.

	<title>String Extend</title>
	<script src="String.js"></script>

		var str = String.format("This is {0} story about {0} {1}.","my","dog");
		var str2 = "I have 2 friends, {0} and {1}.".format("Doug","Jane");
		alert(str + "nn" + str2);



This deserves as much exposure as possible. this exact situation happened to me. IIS died while I was working away. Thankfully this post was just the ticket to raise it from the dead!

The IIS Admin Service service terminated with service-specific error 2149648394 (0×8021080A).

IIS Admin Service goes away after restoring a VHD / VPC Server

I recently had the unexpected pleasure of losing my IIS Admin server - altogether!!! Translate - 150% !!!

Now, before this - everything was going great - except. During an upgrade of MOSS (Microsoft Office SharePoint Server) I encounted an issue that forced me to restore a VPC image - essentially bringing over another copy of the VHD and firing the server back up.

Interstingly, during that reboot - which for all intents should have gone fine - I see a hoard of DSKCHK processes running. Invariably, something got out of wack on the NTFS volumn between my shutting the image down and bringing it back up. During the ‘fixing’ process - a number of files invaribly can become corrupt - and the Metabase.xml - the blood-life of your IIS Admin service - is no exception. SO

Check in C:\Windows\System32\Inetsrv and you’ll find a ‘History’ folder. Within here - hopefully - you’ll find fairly recent backups of the Metabase.XML and MBSchema.XML objects. Before doing the following - be sure to backup the existing Metabase.xml and MBSchema.xml from C:\Windows\System32\Inetsrv first.

Now, rename a recent backup from the ‘History’ folder - renaming a recently Metabase.XML object, and then a recent MBSchema.XML object. Copy / Paste each of these to the C:\Windows\System32\Inetsrv.

Ahh, not quite done.

Now do a IISRESET from a command prompt.

Hopefully this will get you back to where you need to be.

There are many things that irritate me about Internet Explorer like poor CSS support and the differences JScript brings to the table and the bugs that go along with that (memory leaks, etc, etc) but recently I found yet another reason to loath developing applications for IE. HTMLElement. Mozilla and Opera have given us the ability to prototype this object which greatly simplifies extending the document object model (DOM) however IE (also Safari) decided to keep this object hidden and untouchable. Why? Good question! Who knows what goes on in the minds of these “brilliant” programmers or, probably, more fairly, the project managers that oversee the development.

Anyways, compaining and speculation aside, I have come up with a method to work around these short comings and provide a way to extend the DOM. Enjoy!


var DOMElement =
	extend: function(name,fn)
			eval("HTMLElement.prototype." + name + " = fn");
			//	IE doesn't allow access to HTMLElement
			//	so we need to override
			//	*document.createElement
			//	*document.getElementById
			//	*document.getElementsByTagName

			//take a copy of
			var _createElement = document.createElement;

			//override document.createElement
			document.createElement = function(tag)
				var _elem = _createElement(tag);
				eval("_elem." + name + " = fn");
				return _elem;

			//take copy of
			var _getElementById = document.getElementById;

			//override document.getElementById
			document.getElementById = function(id)
				var _elem = _getElementById(id);
				eval("_elem." + name + " = fn");
				return _elem;

			//take copy of
			var _getElementsByTagName = document.getElementsByTagName;

			//override document.getElementsByTagName
			document.getElementsByTagName = function(tag)
				var _arr = _getElementsByTagName(tag);
				for(var _elem=0;_elem<_arr.length;_elem++)
					eval("_arr[_elem]." + name + " = fn");
				return _arr;


	<script type="text/javascript" src="DOMElement.js"></script>
	<script type="text/javascript">

		DOMElement.extend("about","DOMElement v0.1")
		DOMElement.extend("contents",function(){return this.innerHTML})
		var elem = document.createElement("div");;

		onload = function()
			var elem2 = document.getElementById("myDiv");

			var divs = document.getElementsByTagName("div");
			for(var i=0;i<divs.length;i++)


	<div id="myDiv">hi</div>
	<div id="div2">there</div>


By Kalena Jordan

Google AdSense is fast becoming the preferred way for people to earn an income online. Forget eBay and multiple affiliate programs - Whether you are a work-at-home mom trying to make a little extra cash or an Internet entrepreneur with hundreds of monetized websites, AdSense is truly the easiest way to earn money.

Simply sign up for a free account, grab your ad code and paste it in your site. But here’s the amazing thing - no matter how much money AdSense is making for you right now, a few simple tweaks can increase that amount considerably. And I should know, after learning about these tricks, I more than doubled my AdSense commissions!

The self-proclaimed AdSense gurus and experts are sharing this insider knowledge, for a fee. You can learn all these secrets from them, as long as you buy their e-book, sign up for their seminar or purchase their newsletter. But I’m going to share all their AdSense tricks for free. Here they are:

1) Color code your ads to match your web site palette *exactly*. Don’t use frames around your ads. Instead, in the AdSense code generation interface, make sure you choose the same color as your page background for the ad frame and the ad background.

When choosing the ad heading colors, match them to the *exact* color of your page headings. Use the exact same ad background shade as your page background. Use the exact same ad text font and color as the text on your pages. You can see an example of this color-matching on my search engine advice blog - notice the 4 link ad unit and skyscraper text ad unit on the left hand side under the headings Ads by Google as you scroll down the page? The link and text colors are identical to the color palette used throughout the rest of the page.

Near enough is NOT good enough. If you can’t quite get the color matching right, use Google’s built in color palette together with the RGB to HEX or vice versa color converter on this page. That handy little tool was a life saver for me.

This is probably the one single tweak that made the most difference to my commission levels.

2) Try not to use the traditional horizontal banner style or leaderboard image ads because people are blind to them.

3) Use Google’s own AdSense optimization tips and visual heat map to assist you in deciding where on your page to place your AdSense ad code.

4) Research competitive keywords using a keyword research tool such as Keyword Discovery or grab a list of the most popular keywords from various sources and use them in your web site pages where relevant. This article is a good source of frequently searched keywords. Targeting popular keywords should trigger AdSense ads on your pages that utilize those keywords. The more popular the keyword or phrase, the higher AdWords advertisers are generally willing to pay per click for it so the higher your commission on those clicks.

5) Incorporate the AdSense code into your page so that the ads look like a regular part of your site. You can see an example of this on the Internet Dating Stories site where link ads are incorporated within the regular left hand navigation of the site under the heading “Sponsor Links”.

6) Use Google’s new 4 and 5 link ad units wherever possible. They seem to have a much higher Click Through Rate (CTR) than regular ad styles. You can view all the AdSense ad formats here.

7) Place images next to your ads to attract the eyes. You can see this in place on the search engine article library page at the bottom where 3 images draw your attention to the bottom of the page. But be careful here - the use of arrows or symbols enticing viewers to click are NOT allowed by Google and publishers may NOT label the Google ads with text other than “sponsored links” or “advertisements”.

8) Use the full allowance of multiple AdSense ads on each of your pages - 3 regular AdSense ads, plus 1 link unit. Use careful placement of these ads so they blend into your site and don’t distract from your content. Clever use of this allowance can be seen on this page about bad Internet dating stories where you see:

- 1 horizontal 4 link ad unit towards the top of the page under the first paragraph
- 1 vertical skyscraper text ad unit about halfway down the left hand side under “Sponsor Links”
- 1 vertical skyscraper image ad unit down the left hand side under “Sponsor Links”
- 1 horizontal text banner unit at the bottom of the page with images above each ad.

You can also include 1 AdSense referral button in addition to the 3 other units.

9) Tailor your page content to a particular niche or focus. Page content that is tailored towards a specific theme is more likely to trigger AdWords ads that closely match the content and are therefore more likely to interest your visitors and inspire them to click. Don’t create pages merely for the sake of placing AdSense ads. Visitors (and search engines) can see through this ruse in an instant.

10) Use custom Ad Channels for each of your ad placements, for example, “Top 5 Link Unit Blue Palette” or “Left Side Navigation Image Skyscraper” etc. Tweak, track and measure the success of each of these custom channels so you know what gives you the highest CTR. Some ad formats and colors will work better than others, but you won’t know which until you test, test and test some more!

The above article may be re-published as long as the following paragraph is included at the end of the article and as long as you link to the URL mentioned below:

Article by Kalena Jordan, one of the first search engine optimization experts in Australia, who is well known and respected in the industry, particularly in the U.S. As well as running her own SEO business, Kalena manages Search Engine College, an online training institution offering instructor-led short courses and downloadable self-study courses in Search Engine Optimization and Search Engine Marketing subjects.

By Kalena Jordan

With the increasing uptake of social media sites such as Digg, Technorati, Slashdot, YouTube and MySpace, together with community bookmarking sites like, Reddit and Ma.gnolia, companies the world over can reach their target markets via a whole new channel.

Social networking is like viral marketing on steroids. Companies can release a new product in the morning and have it talked about by millions of users on thousands of sites by the afternoon.

The good news is that social media is user driven. The bad news is that social media is user driven. Yes, there’s the rub. Users are fickle creatures - they can love a product one minute and then drop it like a lead balloon the next, depending on their experience with the product, a rumor, or whether they have had their morning coffee yet. And if their experience is bad, the noise is generally louder. To protect their reputations it’s not just journalists that companies have to impress these days. It’s anyone with a computer and an Internet connection. Love it or hate it, the user community now has enormous power over the online reputation of a company or brand.

Not surprisingly, businesses and individuals alike clamor for the attention and mostly enjoy the limelight that social media can bring. Others hate the intense scrutiny that often accompanies the popularity. An example is usability blogger Kim Krause Berg’s unpleasant first experience of Digg - I Don’t Digg Being Dugg.

Online communities can even bring a site to its knees. Marketers are calling it the “Digg Effect” or the “Slashdot Effect”. Buzz for a site can cause more than good or bad publicity. As Kim found out, the effect can cause traffic overload sometimes resulting in site downtime and lost business.

Social media can also kill the reputation of a brand instantly. Take the Microsoft Windows Vista Laptop Scandal for instance. No stranger to the benefits of social media, Microsoft had allegedly tried to exploit the power of the blogosphere at the end of last year, by sending a number of A-list bloggers a free Acer Ferrari laptop loaded with the yet-to-be-released Windows Vista and Office 2007.

The pitch was a request for the bloggers to “review” the new Windows software in their influential blogs. Many bloggers did write a review, but some did not disclose their free gift. When this fact was discovered later, the bloggers were hammered by large portions of the blogosphere for what they saw as a clear conflict of interest. Microsoft were tagged both literally and figuratively as bribers and Windows Vista was widely panned with parody tag lines such as “Vista: So Bad We Had to Give it Away”. Not a great start to an online product release.

Another example of the damage that social networking can do to a company’s online reputation is the National Pork Board of America’s recent battle with breastfeeding advocate and well-known blogger Jennifer Laycock. Jennifer was sent a harshly worded letter from the Pork Board’s representing counsel, threatening her with legal action for allegedly stealing their pro-pork slogan “Pork: The Other White Meat” in a pro-breastfeeding t-shirt she had designed that read “The Other White Milk”.

The letter suggested that their case for trademark infringement was probably solid. Unfortunately for the Pork Board, the poorly-worded letter also suggested that they were insensitive to breastfeeding mothers and the plight of starving infants. The Pork Board didn’t count on Jennifer’s influence in the blogosphere and the power of social networking to carry her defiant response to the world. The Pork Board ended up receiving bags of hate mail and thousands of flame emails via their online contact form, forcing them to issue a public apology to Jennifer from the Board’s CEO and a generous donation to the Mother’s Milk Bank of Ohio in order to save face.

To their credit, the Pork Board did the right thing. They also made sure that all persons who complained about their approach to Jennifer received a polite, measured email response from the CEO. As a former PR consultant myself, I tip my hat at them. Having the apology come from the very top is smart. It demonstrates how seriously they took the complaints. The wording of the complainant response is polite and restrained. Addressing each and every complainer personally is impressive. It would’ve been tempting to ignore all the flames and issue some stock standard release.

Their choice of legal team may have been questionable, but the Pork Board’s public relations team mobilized quickly, upgraded to full damage control mode and did a great job of mopping up the PR mess before it spread too far. Social media might have damaged them, but the Pork Board’s reputation was ultimately salvaged by quick thinking and a swift online response.

Such situations underscore the growing importance of online reputation management (ORM) in our Web 2.0, social media-driven world. Companies should be tracking their online reputation on a daily basis to check for negative commentary via social media in order to avert potential PR disasters. Major search marketing players such as Andy Beal recognized the potential growth in ORM a long time ago. But I wonder how many PR/Search Marketing agencies currently offer this service?

With brand reputation increasingly at risk, you can be sure the smart agencies will be adding ORM to their service offerings faster than you can say “Can you Digg it?”


About the Author:

Article by Kalena Jordan, one of the first search engine optimization experts in Australia, who is well known and respected in the industry, particularly in the U.S. As well as running a daily Search Engine Advice Column, Kalena manages Search Engine College - an online training institution offering instructor-led short courses and downloadable self-study courses in Search Engine Optimization and other Search Engine Marketing subjects.

By Kalena Jordan

Is your web site search engine compatible? Despite all the misinformation out there, it’s very easy to design a web site that search engines will love. All you need to do is follow 3 simple steps:

1) Obey the Search Engine Guidelines

Nearly all search engines publish their own guidelines regarding the submission of sites, the type of sites they will accept and recommendations for optimized content. Google recently updated their Webmaster Guidelines which cover the most common forms of deceptive or manipulative search engine behavior that they consider to be ’spam’. They also published SEO Guidelines – advice for webmasters to heed when choosing an SEO. Google was the first search engine to publicly acknowledge search engine optimizers in this fashion.

It’s not just Google publishing anti-spam guidelines. You’ll find them at the following search engine sites as well:

* Yahoo terms of service
* Yahoo guidelines on search engine spam (covering AltaVista and AllTheWeb as well)
* Yahoo definitions of search engine spam (covering AltaVista and AllTheWeb as well)
* Yahoo content guidelines
* MSN Search webmaster guidelines
* AltaVista terms of use (AltaVista is a Yahoo-owned company)
* terms of service and spam policy
* editorial guidelines

2) Don’t Use Spammy Search Engine Tactics

Often, webmasters will use search engine spam techniques without even being aware that they are doing so. Or worse, web designers can - advertently or inadvertently - integrate techniques that could cause a site to be penalized in the site’s rankings in one or more engines, without the site owner’s knowledge of such penalties. The key to avoiding spamming the engines is research.
Keep track of the various search engine guidelines via the links above. Watch for any changes they make to these guidelines and tweak your site accordingly. Trawl the various webmaster and search engine forums regularly to ensure your site doesn’t use any of the latest optimization methods that appear to be penalized. If you suspect your site has been penalized, remove the offending content, contact the engine concerned and ask to be reinstated.

Google actually encourage you to file a re-inclusion request via their Help Center and this post by Google staffer Matt Cutts outlines what should be included.

Alternatively, here is a sample email template you can use instead:

Sample Re-inclusion Request Email

Dear [search engine name],

I am the owner of [your site URL].

I did not realize that participation in [spammy method] and
[spammy SEO name] programs could cause problems for my website. I was
assured that these techniques were search-engine-friendly by [your source for using spammy method].

I now understand that the practices used are not acceptable. I apologize for having allowed them to be placed on my website. I’ve removed the questionable pages and links from the site. I promise not to repeat such mistakes.

I am asking you to please consider reinstating my website,
[your site URL] into the [search engine name] Index.


[Your Name]

To assist them to provide a high quality service, search engines encourage people to report search results they are dissatisfied with. If you spot some content spam or techniques that are clearly in breach of the search engine’s public guidelines, you can report it using these links:

* Google spam report or via
* AllTheWeb relevancy problem report (AllTheWeb is a Yahoo-owned company)
* AltaVista search results manipulation report (or via Yahoo’s spam report)
* Yahoo spam report
* spam report or via

3) Build Sites for Visitors Rather than Search Engines

The methodologies may have changed over the years, but the same principles have always applied to “good” or “white hat” SEO. Build sites for humans, not search engines. Make the site as user friendly as possible, avoid the bells and whistles and include high quality, relevant content.

Wherever possible, include text-based content and navigation menus with simple, descriptive, well-written copy designed to convert your visitors into customers. Include keywords and phrases your audience would logically type in to search engines to find sites like yours. Only link to sites that are relevant to your target audience and spend some time on usability, making sure all your forms and shopping carts work.

Remember that what pleases a visitor is almost always what pleases a search engine too.


About the Author:

Article by Kalena Jordan, one of the first search engine optimization experts in Australia, who is well known and respected in the industry, particularly in the U.S. As well as running a daily Search Engine Advice Column, Kalena manages Search Engine College - an online training institution offering instructor-led short courses and downloadable self-study courses in Search Engine Optimization and other Search Engine Marketing subjects.

By: Murry Daniels

Search Engine Optimization companies are making a fortune by doing the menial work that is overlooked by many designers. It is ridiculously easy to do most of the work done by most SEO companies, all you have to do is create good habits.

There are 9 main points you should focus on:

• Keywords
• URL Text
• Description, Meta tags
• Title tags
• Image Names
• ALT tags
• Heading tags
• Content
• Hyperlinks

The focus of these 8 steps is to load your pages with as many “keywords” as possible.

Keywords are the most important aspect of good SEO, this is where you tell the Search Engines what your site is about. Search Engines use an algorithm to determine the “Keyword Density” of your site, this formula is:

Total Words ÷ Keywords= Keyword Density

Use this formula on your competitors web site and see how they score, then aim to beat that score.

Choose keywords that best relate to the information, products or services that you are offering. For instance, if I am designing a site about “Web Design”, I want my site to include the words “Web Design” as many times as possible.

However, most people don’t just search for just one word, they type phrases, so you should consider the phrases that best suit your sites target market. For example, if I am creating a site about “Web Design” in New Orleans, I would include “New Orleans web design” in my keywords. Another way around this is to not separate my keywords with commas, just use spaces, and the Search Engines will make the phrases for you. The most important thing to remember is that the content of each page is different, so only use keywords pertaining to that page.

URL Text
When you name a new page you have the option to call it anything you could possibly think of, why not se a keyword? After all, the URL address is the first things a search engine comes across when indexing your pages. You have to remember content doesn’t come easy to everyone, so you gotta slip in your keywords when the process gives you an easy one.

Description Meta tags
These tags are dwindling in importance since Search Engines are now looking at content, but every little bit counts.

Optimize your meta tags to match your content, products, and services, and the Search Engines that still look at meta data will reward your efforts.

Title Tags
Title tags are the tags that tell the Search Engine the title, or formal description of the document or page. This is the word or phrase that is seen at the top of the browser window. The most important rule about title tags is, don’t put anything in the title tags but keywords. Once again this is an easy time to slip in your keywords, so don’t miss out.

Image Names
As I said before, content doesn’t come easy to everyone, so slip in your keywords whenever possible, this applies to image names. If you are saving a picture of a guy working on a computer for your web design web site, don’t call it “some_dude.jpg”, call it “web_site_design.jpg”. The Search engine will look at the code for the site and see the image pertains to the content of the site and this will be another relevant element on that particular page. You have to take the easy ones when you are given a chance.

ALT tags
Alt tags are keywords that you can attach to images, giving more weight to the image since Search Engines can’t analyze the content of the image itself. Here is a chance to slip in more keywords without writing great content, use it.

Heading tags
Heading tags are associated with the bold font that leads into a section of text. Like this:

Web Design
Web Design Inc. offers custom web site designs…

Your heading tags should only be keywords, and should be presented in the order that your Meta tags follow.

H1= first meta tag, H2= second meta tag…

Try to utilize all 6 heading tags on each page to ensure maximum page optimization.

As every expert will tell you, “Content is King.” Each web page should have at least 350 words on it, and the more the better, but keep in mind the formula for keyword density. You don’t want to fill a page with 1500 words of jibba-jabba and only 5 keywords in it. Some people get hung-up on how browsers display text, and use images with text in them because they want a cool font, but browsers can’t read the text embedded in images, so this content ads no weight to the page in a Search Engines eyes.

Linkbaiting is the new trend among high ranking sites. Linkbaiting means writing quality content, or articles that other web sites can display on their pages as long as they give credit, and a link to your site.

You don’t have to be a vi or emac expert to write good web content, just be thoughtful of how you word things and incorporate your keywords.

Hyperlinks are text links to other pages on your site. The rules of SEO and hyperlinks are easy:

• Use hyperlinks so the Search Engine will have a text link to follow to the next page
• Don’t use one word links, use long link phrases, preferably keyword phrases
• Use bullets, or some sort of small image that you can attach an ALT tag to, this will ad more importance to the link, and throw in a couple of free keywords for you.

Keep these 9 aspects in mid when designing a site, and you are sure to have a leg up on the competition.

By: Paul Wilson

Competitive and fast are two terms that are applicable to the world of computers. Constantly changing and evolving computer systems bring many advantages to the users and techies alike. The race for supremacy between the yet to be launched Vista (scheduled for 2006) and Mac OSX Tiger began in 2003 with Microsoft’s announcements of plans for an integrated desktop search functionality in Windows Vista.

While opinions vary and are really personal choices in many ways, the following sums up the functionalities between Vista and Tiger.

1. Vista has a completely redesigned look and feel; it is aesthetic, functional, and exciting according to industry sources. Mac Tiger on the other hand was always famous for its technology and aesthetics which are clean and clutter free. In fact, many of the visual effects that Vista has like translucent icons, high resolution, and animation effects have been integral to Tiger for more than four years.

2. Vista is yet to resolve problems caused by underlying windows, while Tiger has fine tuned the bleed caused by windows beneath the surface ones.

3. The 128 x 128 pixel icons of Tiger have better rendition and clearer resolution than the 32 x 32 or 64 x 64 pixel icons of Vista. However one will only know whether Vista will have resolution independent vector graphics once the final version comes to the market.

4. Both Vista and Tiger have closely similar desk top search functions. The only immediate difference is that in Tiger the filtering becomes operational only after creation of a Smart Folder or using the shortcut keys. The Virtual Folder of Vista is identical to the Smart Folder of Tiger.

5. Vista has next generation features, where the system has enough inbuilt intelligence that organizes data. This fine tunes any searches that need to be done. In comparison to this, the Tiger has an old fashioned system with no specials.

6. Vista supports meta data processing while with Tiger meta data can be created or edited only by using document processing applications.

7. Vista permits users to visually locate files while Tiger does not. Image previews in Tiger are turned off by default.

8. As far as security is concerned the Tiger is by far superior to Vista. Since the Tiger user base is small the number of hackers and attackers are fewer as compared to Windows.

9. User accounts and log ins are safer in the Tiger system and Microsoft plans to incorporate similar systems in Vista to strengthen security.

10. Vista has new systems similar to Tiger that will enable users to assert parental locks or blocks. Parental controls help limit computer usage by children protecting them from several dangers.

11. Security in Vista includes inbuilt protection against rogue attacks, malware, spyware, adware and so on. In the case of Tiger its security system has remained secure and unbreached. Whether Vista will earn the same distinction will be known only after it comes into use.

12. Both Vista and Tiger have great networking features making both immensely usable both at home and in businesses. The Tiger is simpler while Vista is a bit more complex to use.

13. The hibernation mode works instantly in Tiger and Vista is also trying to match its facilities.

Fix Your Computer Registry

June 13th, 2007

By: Tim Lee

The Windows Registry System

Basically, for all windows users, one of the most important things in a computer that needs backup is the windows registry.

In windows, the registry system stores all of your information in your computer. These are placed in a database system where certain data about the user profile, configuration settings, and installed programs are recorded.

However, there are times when the computer gets system-overload and can no longer accept data or misplaces the pieces of data stored in the computer. If this is the case, then it is high time that you fix registry on computer.

Backup Copies With Backup

The steps to fix registry on computer is not as easy as 1-2-3. But it is not as complicated as fixing cars either. To fix registry on computer is to simply change the registry information back to its default setting or to repair any errors incurred therein.

Whether it is complicated or relatively easy to fix registry on computer, the fact remains the same: you have to do backups.

Backups are extremely important so that you can still retrieve your date in case you have failed to fix registry on computer. Also, it enables you to always restore the default settings of the registry of your computer in case you were not able to fix it.

One way to fix registry on computer is to have a backup for your Registry Checker. This is where editing the registry comes in.

In reality, the registry of windows has an integrated Registry Editor. You can locate it at the Start menu, then Run, and then just type regedit.exe, and then hit OK.

Basically, RegEdit is one of the best registry fixes that is focused to fix registry on computer. You can change, edit, or modify your registry through this device.

But if all else fails, you still have to find ways how to be prepared when things like this happens.

Luckily, there are many things like these that are available in the market today. These items are specifically designed and exclusively operated to fix registry on computer.

There may be a lot of registry repair tools available in the market today but none of them guarantees a 100% solution and an error-free procedure.

The bottom line is that in order to prevent errors in your computer system, shun away from activities that may trigger your system to behave badly. As they say, an ounce of prevention is better than a pound of cure to fix registry on computers.

It is important to ask the user to confirm whether they want to delete an item incase the delete button was pressed by accident.

This is very easy to do in ASP.Net with JavaScript.

JavaScript confirmation dialog

Just use the code below:


function confirmDelete()
	return confirm("Are you sure?");

C# Code Behind

btnDelete.Attributes.Add("onclick","return confirmDelete()");

It’s that simple. Now you have a fancy new confirmation dialog.