-
Registration
I have grabbed some code of pscode http://www.planet-source-code.com/vb...48926&lngWId=1
What is good about this code is that it generates a key from the serial numbers on your cpu or your windows key.
However, I keep getting a negative value for the machineID (which doesnt work). How can i fix this?
Or, is there some good code out there to create a registration key to convert a trial application to a registered version?
thanks
-
Re: Registration
Why not just take the negative value and convert it to a postive value by multiplying it times -1?
-
Re: Registration
Better yet use ABS. absolute, which will turn the number into a positive number.
-
Re: Registration
-
Re: Registration
Abs Function
Returns a value of the same type that is passed to it specifying the absolute value of a number.
Syntax
Abs(number)
The required numberargument can be any valid numeric expression. If number contains Null, Null is returned; if it is an uninitialized variable, zero is returned.
Remarks
The absolute value of a number is its unsigned magnitude. For example, ABS(-1) and ABS(1) both return 1.