Skip to content

License Agreement (EULA)

The License Agreement workspace (EULA) ensures that your customers are aware of and agree to your terms of service before they ever see your protected code. By embedding the agreement directly into the DLL, you create a tamper-proof legal gatekeeper for your application. Learn more in the EULA Feature guide.

VBA Padlock Studio License Agreement (EULA) settings


Choosing how to present your EULA is critical for both legal validity and user experience.

  • Secure Embedding: Checking Include EULA in protected DLL ensures your license text is cryptographically bound to your software, making it impossible to replace with a modified version.
  • Automated Enforcement: Enable the Show EULA automatically on first run option to force a popup dialog during the application’s initial handshake. The user must click “Accept” to proceed; otherwise, the application will terminate.
  • Rich Text Support: Use the built-in editor to format your agreement with bold headers, lists, and clear paragraphs for better readability.

For developers who need more granular control, the VBA Bridge provides a suite of functions to manage the EULA state directly from your code.

' Check if the user has already accepted your terms
If VBAPL_IsEulaAccepted() = 0 Then
' Force the dialog if you've updated your EULA
If VBAPL_ShowEULA() = 0 Then
MsgBox "Agreement declined. Closing application."
Exit Sub
End If
End If

  1. Draft: Use the Edit EULA tool to write or paste your primary license agreement.
  2. Toggle: Activate the Include EULA checkbox to bake the text into your binaries.
  3. Deploy: Choose “Automated Enforcement” for the simplest integration or use the API for custom logic.
  4. Validate: Compile your project and run a Test to verify the dialog appears as expected.