Results 1 to 1 of 1

Thread: License Key / Serial Code TextBox

  1. #1

    Thread Starter
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    License Key / Serial Code TextBox

    The attached control is a custom TextBox that will automatically insert dashes between groups of characters. This is similar to the license key field displayed during the installation of Microsoft Office and other software. The user just types in the letters and/or numbers and the control will automatically insert dashes between each group for improved readability. The default length of groups is 5 characters but there is a property to change that. I would also recommend setting the MaxLength property appropriately, e.g. if you have 25 characters in a serial code then set the MaxLength to 29, to account for the extra 4 dash characters that will be added.
    Attached Files Attached Files
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width