EBDN - Community - Question & Answers

  Thursday, 22 January 2026
  2 Replies
  587 Visits
0
Votes
Undo
Hello Community,

I wonder if its possible to get information about the used licenses by VBA. My case is to validate if the user in fact is using his origin license, if not to inform to switch to another license.
By the way, I know about the posibilities to set a defined license by "aucotec.opt". But in reality its not that easy.
Do someone have a clue about this? My short term solution was to check if the user could change the state of a sheet from PID to electrical drawing, but that seems a little inelegant to me.
Thank you for your help in advance.
4 months ago
·
#2886
0
Votes
Undo
oh sorry IList shoud be of Int32 type.
4 months ago
·
#2885
0
Votes
Undo
Hello Sebastian,

if you have possibility to use extended runtime, there is license checking method. Not familiar how it looks in VBA but in C# it looks like this:
iList<string> licenses = new List<string> { "1001", "1002" };
(myApplication as ExApplication).ExtendedUtils.CheckLicense(licenses);

Best Regards,
Jakub
Sebastian Reinheimer set the post as Normal priority — 4 months ago
Sebastian Reinheimer set the type of the post as  Question — 4 months ago
  • Page :
  • 1
There are no replies made for this post yet.