Hard Drive serial number

Thierry Arbellot thierry.arbellot at wanadoo.fr
Tue Jan 25 10:18:15 EST 2005


does this work ?

put baseConvert(stsGetSerialNumber("C:"),16,10) into fld 1

On 2005, Jan 25, , at 16:03, Paul Salyers wrote:

> At 08:41 AM 1/25/2005, Thierry Arbellot wrote:
>> VBCode and Rev number are the same
>> 5083A4C6 is the hexadecimal value of 1350804678
>>
>> baseConvert("5083A4C6",16,10) convert from hexa to decimal
>>
>> Hope it helps.
>>
>> Thierry
>
>
>
> I tryed this but it didn't work:
>
> on mouseUp
>   --put stsGetSerialNumber("C:") into fld 1 --Hex number this works
>   put baseConvert("stsGetSerialNumber",16,10) into fld 1 --Trying to 
> convert hex to dec
>
>   --baseConvert("5083A4C6",16,10) --Your suggestion
>
> end mouseUp
>
>
> What am I doing wrong
>
> the above code didn't produce the same code as our VB programs
>
> Paul Salyers
> PS1 - Senior Rep.
> PS1 at softseven.org
> Http://ps1.SoftSeven.org
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list