on 11-17-2011 9:43 AM
Hello Expert,
I am using 8.81 PL5,I have used COM Licence Bridge 2.0 for 8.81 in my Add-on.
When I try to run Add-on from Server it works Fine for Following Code but it throws Exception for Client Machine.
Dim HKEY As String = ""
Dim LicInf As SBOLICENSELib.LicenseInfo = New SBOLICENSELib.LicenseInfo
LicInf.GetHardwareKey(HKEY)
Please help me out!!
Regards,
Bhavank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
GetHardwareKey() Returns the license server hardware key.
We can use this method only in server. In client system, it cannot be used and in case it is used, it will throws the exception.
Thanks & Regards,
Parvatha Solai.N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
just try this,
From menu, Help-->About SAP Business one , we can retrieve HW key.
SBO_Application.ActivateMenuItem("257")
oForm = SBO_Application.Forms.GetForm(999999, 1)
oEdit = oForm.Items.Item("79").Specific
Dim HKey As String = oEdit.Value
Hope this helps you.
Thanks & Regards,
Parvatha Solai.N
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.