Page 1 of 1

Calculate the registration code, user name is empty

Posted: Wed May 09, 2012 1:11 pm
by seo60
计算注册码时,用户名为空,只使用机器码和注册码
Calculate the registration code, user name is empty, just use the machine code and
6.jpg

Re: Calculate the registration code, user name is empty

Posted: Wed May 09, 2012 8:05 pm
by Enigma
Seems it was already discussed...

It is impossible to use empty Registration Name field, but you may use a workaround (both if you are using standard registration dialog):
1. Place an Edit control on the form. Set it's Content property to coRegName and set it's Text to %HARDWAREID%, set Readonly property to True. When you will generate keys for such project, you have to use Hardware id test in both RegName and HardwareId fields. So we did not hide RegName, we just use Hardware Id as Regname.
2. Place Edit control on the form. Set it's Content = coRegName, Text = JustAnyText, Visible = False. When you will generate a key, use the text JustAnyText as RegName. In this case, we always use RegName = JustAnyText, but the field itself is hidden from the user.