Pages

Thursday, August 14, 2008

Firefox must have Addons

As everyone knows, Firefox is the best browser! ..and they have tons of add-ons to customize the browser after your needs.

But the add-ons can easily become a jungle, there is a lot of good add-ons but also a lot of bad once, so I've decided to make a list of my favorite Firefox Add-ons(for 3.0):

Firebug: Just a great extension developer tool which let's you edit and debug things like JavaScript.

Web Developer: Another developer tool where you can do everything from test screen resolution to make div boxes visible, a very good Add-on to research and get experience.

Flagfox: Let's you see where the web server is placed in the world and you can also see the IP.

IE Tab: As every web developer knows, there is a big gab in browser rendering especially in the two most popular browsers, Internet Explore and Firefox. You need to test your sites in both browsers fast and easy, and this Add-on does exactly that. Very nice tool and i use it alot.

YSlow: Is your website slow? test it and see what's wrong with this tool.

All the addons can be found here: addons.mozilla.org just search on the add-on and you will find the newest version.

Wednesday, August 13, 2008

How to install AJAX Toolkit on framework 3.5

I got this problem when I had installed Visual Studio 2008 on my new computer, and I had no clue on how to solve it. But then my friend came with a suggestion that have helped him with the same problem, and it worked! So I thought, there must be someone else out there that’s having the same problem. This is how I solved it:
The problem seem to be because VS2008 install a compact edition of Framework 3.5, so you need to get the full package of Framework 3.5 which can be found here - you scroll down and click on the: .NET Framework 3.5 full package.
Now you are ready to install AJAX Control Toolkit to your computer and that is available here - And remember to take the AjaxControlToolkit-Framework3.5, either with or without source.

The last think to do is to save the Bin some place on your computer and "Choose items.." is VS2008 Toolbox.
I hope this will help you as much as it helped me :D

Tuesday, July 22, 2008

New development machine

I have finally got my new computer build, and it is now up and running pretty good.
Here is the hardware:
  • Motherboard: ASUS P5Q PRO
  • CPU: Intel Core 2 Quad Q9300 @ 2,5GHz
  • Graphic card: MSI NVIDIA GeForce 8600GT
  • Harddisk: 2x Seagate Barracuda 320GB 24/7
  • RAM: 2x Samsung 2GB  UPDATE: 2x Geil Black Dragon 2GB (8GB FTW)
  • Tower: Antec Performance One P182
  • PSU: Corsair TX750W
And now for the obligatory software:
Windows Server 2008, Visual Studio 2008, sql server 2008  **Heroes happen {here}**

Thursday, June 19, 2008

Received my drivers license

I've recently passed and finally received my drivers license both to car and motorcycle, so no more theory lessons which I'm very happy about :P

Now i just need a car and a motorcycle, but i think that will have to wait abit, especially with those fuel prices ;)

Truncate a table that contain a foreign key

The way I "reset" a table is using the truncate statement as shown underneath, this does not only remove all data in the table but also resets the identity:
TRUNCATE TABLE my_table 
But if you do this on a table that contain one or more foreign keys, you get this error when trying execute the query:
Msg 4712, Level 16, State 1, Line 1
Cannot truncate table 'my_table' because it is being referenced by a FOREIGN KEY constraint.


To solve this problem with the foreign key error, you can use the delete statement first to delete the content and afterwards reset the identity, and that is done this way:
DELETE from my_table

DBCC CHECKIDENT ('my_table', RESEED, 0)
The my_table is where you have to put your own table name in, the 0 value is the identity start point