Because All System ID saved in Database.
To activate the program - the user must purchase a license on the site and enter into the form the system ID that the program issues at the startup.
All saved IDs are shown to be correct, because based on this data after the payment is automatically generated Activation Kay, which customers enter to run my application.
Therefore, I have recorded absolutely all the System IDs.
And if it was a question of several incorrect symbols, it would be understandable, but the function ReadsystemID gives absolutely different values, and not in all cases. 30% - True and 70% false.
And this is bad, very bad, because I’m trying to build on these values my own validation system.
For ex.: Correct system ID is 942H-9E9F-F293 and
ReadSystemID gives out - F244-A673-3FA2
What is this ???
I distributed a program to 6 clients with the output of their system ID on the screen.
And only 2 of them had the correct ID.
So the function works, but with errors.
On my part, the conclusion of the system ID is extremely simple:
Public Function ReadSystemID()
Dim XLSPadlock As Object
On Error GoTo Err
Set XLSPadlock = Application.COMAddIns(“GXLSForm.GXLSFormula”).Object
ReadSystemID = XLSPadlock.PLEvalVar(“SystemID”)
ReadSystemID = ""
It is also noted that this function does not work in Excel itself on the fly.
And only after generating an exe file