Feedback Form

Thursday, March 27, 2008

Free Icons 3 (32 X 32)

Download many free icons.

1039 Free icon.

Download by clicking on the following links.

actions

apps

devices

filesystems

mimetypes

22 X 22 Version

16 X 16 Version

Saturday, March 22, 2008

Add to bookmarks

Javascript simple code to add the current url to bookmarks (FireFox), or Favorites (IE).

function addToBookMarks()
{
if(document.all) //IE
window.external.AddFavorite(location.href,document.title);
else if(window.sidebar)window.sidebar.addPanel //FireFox
(document.title,location.href,'');
}

kick it on DotNetKicks.com

Saturday, March 15, 2008

Free Icons 2 (22 X 22)

Download many free icons.

1039 Free icon.

Download by clicking on the following links.

actions

apps

devices

filesystems

mimetypes



16 X 16 Version

Friday, March 14, 2008

Fraction To Decimal

kick it on DotNetKicks.com

I wrote a simple vb.net code to convert from Fraction to decimal easily:

Private Function FractionToDecimal(ByVal frac As String) As String
Dim decimalVal As String = "0"
Dim upper As Decimal = 0
Dim lower As Decimal = 0
Dim remain As Decimal = 0
If frac.IndexOf("/") <> -1 Then


If frac.IndexOf(" ") <> -1 Then
remain = CType(frac.Substring(0, frac.IndexOf(" ")), Decimal)
frac = frac.Substring(frac.IndexOf(" "))
End If

upper = CType(frac.Substring(0, frac.IndexOf("/")), Decimal)
lower = CType(frac.Substring(frac.IndexOf("/") + 1), Decimal)

decimalVal = (remain + (upper / lower)).ToString
End If
Return decimalVal
End Function

Decimal To Fraction

Change from decimal to fraction using javascript:

I got a sample after searching on google and found a good sample, i can't remember the website link, but i tried it in a website and it worked fine with me.

Number.prototype.fraction=fraction;
function fraction(item){
if(item.value != "" && item.value.indexOf(".")!=-1 && item.value.indexOf("/")==-1)
{
decimal=item.value
if(!decimal){
decimal=this;
}
whole = String(decimal).split('.')[0];
decimal = parseFloat("."+String(decimal).split('.')[1]);
num = "1";
for(z=0; z<String(decimal).length-2; z++){
num += "0";
}
decimal = parseInt(decimal*num);
num = parseInt(num);
for(z=2; z<decimal+1; z++){
if(decimal%z==0 && num%z==0){
decimal = decimal/z;
num = num/z;
z=2;
}
}
item.value= ((whole==0)?"" : whole+" ")+decimal+"/"+num;
}
}


kick it on DotNetKicks.com

Tuesday, March 11, 2008

Free Icons 1 (16x16)

Download many free icons.

1039 Free icon.

Download by clicking on the following links.

actions

apps

devices

filesystems

mimetypes



kick it on DotNetKicks.com

Wednesday, March 05, 2008

Download ICDL books for free

Download ICDL books for free.
communication
Database
Excel
IT
P. Point
Using the Computer
Word

Sunday, March 02, 2008

IGoogle Themes


Build your own custom igoogle theme:


You can build it yourself easily:
http://code.google.com/apis/themes/docs/dev_guide.html

And you can use a small tool creating it fast
http://hawidu.com/themes/

Enjoy...