>I tried on my machine but i am facing a small problem
>My Machine dos serial no is 1466-10D9 and your
>code returns me 1466-1059
>
>I have checked the code for min. 10 times. No coding error.
>
>Kindly let me were i must have gone wrong.
There is a bug in the conversion originally posted by Cernal; take a look at message #
248074, which has corrected code for the conversion.