Skip to content

Trial Mode

Lower the barrier to entry for your potential customers by offering a Trial Version of your software. VBA Padlock allows you to distribute your application with built-in evaluation limits that automatically prompt for purchase once the trial expires.

Trial nag screen


Select the evaluation model that best fits your application’s use case:

The application runs for a fixed number of days starting from the first launch.

  • Tamper-Proof: Detects if the user changes their system clock to cheat the trial.
  • Countdown: Displays “X days remaining” in the trial dialog.

The Nag Screen is an optional reminder dialog shown at every launch when a Trial Key is active. It encourages users to convert by providing direct buttons for purchase and activation. Without a key, even if evaluation is allowed, the Nag Screen will not be displayed automatically.

In Advanced Activation Options, you can fine-tune the trial behavior:

ModeBehavior
Always PromptShows the activation dialog on every launch.
Nag ScreenShows a friendly reminder with a “Continue Trial” button.
Silent ModeNo dialog is shown. You must check the status via VBA code.

Use the VBA Bridge to customize the behavior of your application based on the trial status.

Display Trial Info

' Office VBA side
If VBAPL_IsTrialMode() Then
Dim daysLeft As Long
daysLeft = VBAPL_GetTrialLimitLeft()
MsgBox daysLeft & " days left in trial."
End If

Check in DLL

' Inside VBA Padlock Studio
If GetLicenseType() = 2 Then
' 2 = Trial Mode
' Disable "Premium" features
End If

Most professional developers follow this sequence for distributing trials:

  1. Distribute Trial: Provide your workbook. Ensure Allow compiled VBA code to run without activation is checked for a silent start, or issue a Trial Key for a guided evaluation.
  2. Display Nag: Once a Trial Key is entered, the user sees the remaining days and the Purchase Now button at every launch.
  3. Customer Buys: The user purchases an activation key on your website.
  4. Full Activation: You send a Full License Key locked to their machine.
  5. Clean Transition: Once the full key is entered, the trial limits and nag screens disappear instantly.

Localization

Translate trial countdowns and nag screen labels. Learn how →

Licensing System

Understand the difference between trial and full licenses. View overview →