Using the underlying QlmLicense object in VB6 or VBA
Dim license As Object
Set license = lv.LicenseObject ()
Dim userData as String
Dim response as String
userData = license.GetUserData("", activationKey, response)Dim license As QlmLicense
Set license = lv.GetQlmLicense
license.DefineProduct (...)Private Sub DeactivateLicense()
Dim response As String
Dim computerID As String
' Replace this line with the identifer you are using for license binding
computerID = lv.fOSMachineName
lv.LicenseObject.ReleaseLicense "", lv.ActivationKey, computerID, response
Dim releaseLicenseInfo As Object
Set releaseLicenseInfo = lv.GetLicenseInfo
Dim message As String
If lv.LicenseObject.ParseResults(response, releaseLicenseInfo, message) = True Then
' Success
MsgBox message, vbOK
Else
' Failed
MsgBox message, vbCritical
End If
End SubLast updated