How To Solve Windows 7 Activation Error 0x8007232B DNS Name does not exist

If you’re trying to activate Windows 7, and are faced with the following error: Error Code: 0x8007232B Description: DNS Name does not exist You can try this to solve the problem. Search for “cmd”, then right-click on “cmd.exe” and choose to “Run as adminstrator” (this is important!) Then type these: slmgr.vbs -ipk [Your Windows 7 Product Key with the dashes] slmgr.vbs -ato That should work and activate your copy of Windows 7.

How To Check All Checkboxes In A Form With Javascript

I had an application that had a long list of checkboxes in a form. I wanted the ability to check all the checkboxes at once, or uncheck them at once. However, after googling for a solution, it seemed that all of them required me to label all my checkboxes with the same name. The nature of my application didn’t allow me to do that, so I had to find my own solution. The following Javascript code allows you to toggle

Continue Reading

How To Subtract 2 Count Values Using SQL Statements

If you’re developing an application that makes use of SQL statements, you may come across a time when you’ll require to count() values from a table. You may also come across a time when you’ll need to subtract a count() value from another. The good news is that you don’t have to retrieve both count() values separately and then subtract them in your application’s code – you can actually just use a single SQL to obtain this value, and this

Continue Reading

How To Extract Email Attachments With PHP

Looking for how to extract email attachments with PHP? I was too, because I needed to extract pictures from mail that came in. I’ve been looking around, and it looks like the best thing’s this: PHP Mime Mail Parser Class using PHP’s MailParse Extension. It’s an open-source project hosted on Google Code.

How To Scroll Horizontally (Left and Right) in Mac OS

This is something new to me, and something that I know doesn’t work in Windows XP. I was programming on my Macbook, when all the long, horizontal lines of code started bugging me. I had to click on the horizontal scrollbar and move the focus left and right, and I thought to myself, “Isn’t there a better way to do this? Let’s just see how smart the Apple developers are.” My first thought was that I should have gotten a

Continue Reading

PHP Code to Detect IE Browsers

The extremely buggy way that Internet Explorer renders CSS annoyed me again, this time because of the different way it displays elements with z-indexes. I spent a couple of hours trying to fix the bug, failed, and decided to go about it another way. The problem lay in a CSS/Javascript rotating banner gallery ,so I used PHP to redirect all Internet Explorer users to a static version of that instead. Here’s the PHP code that I used. This is the

Continue Reading

Site Footer

Sliding Sidebar

Disclaimer

The contents on this blog are not intended as professional advice. The author disclaims any liability, loss, or risk taken by individuals who directly or indirectly act on the information contained on this blog.