Click here to Skip to main content
Click here to Skip to main content

VB.NET 2003 User Registration Form (2.1)

, 10 Dec 2006
Rate this:
Please Sign up or sign in to vote.
A simple registration form that includes support for trial periods and key generation. Now updated to version 2.1!


Screenshots showing the main screen and the registration screen (scaled down).


I was looking for a way to register a program to a user and I was very dissatisfied with the lack of existing programs, so I decided to create my own. The program, PAW Register, is an easy to customize, simple, and powerfull application programed in VB.NET 2003 (it should also upgrade to VB.NET 2005 without too many problems, I haven't tested this though).


  • Version 2.0 is now out! If you're running the old version, I'd recommend you upgrade if possible. The old code had many bugs, and was fairly insecure.

Bug Reports:

  • Error in loading some registry entries. Download the newest release or see the form below for the fix.

  • If you're getting an error on the last Imports line, re-reference the .dll located in the bin folder.

  • If you are getting a "File not found" error when starting up the key generator, please ensure "settings.set" (as distributed in the release) is in the same folder. Alternatevely, you can ignore the error by clicking "Continue" when this error occurrs. You'll need to type your skey code each time you want to generate a key, however.

  • If you find any errors please submit them (with the solution if you've found one) to the forum below. I'll usually reply within a day.

The Program

The program itself is fairly simple. It contains three buttons, and an image functioning as a progress bar. One button allows the user to continue (assuming they have not been using the program for more than the preset limit), one allows the user to enter a code, and one allows them to visit the buy now website.

Using the Program

You can download the program source above. It took me about 5 hours to write the code. To use it you add the two forms to your project and set Form1 as the startup project. You'll also need to change the variables in the Required Modifications region in Form1. There are quite a few things to change here, however they're described in detail in the program.

You'll also need to open the form "regsiter" and change the encryption key near the top of the file.


I started (v. 1.0) with the idea of making a simple to customize registration box. I used a Triple DES encryption method by Tony Selke (found here) to check the keys. I used a modified Date Arithmetic program by Jay Tanner (found here) to calculate the time passed (I converted this from VB6). However, the encryption code made the serial numbers strange and the Date Arrithmetic code had too many bugs.

Back in August I started on version 2.0, however I was quite busy with other projects (namely NoFooling 2.0), so I was unable to get much anywhere until mid-December. However, now that it's done, I think it was a good use of my time, and I'm sure you'll agree it was well worth the wait.

I hope you all enjoy the code, I really have no use for it, everything I write is freeware. :P

Usage Restrictions

The only usage restriction is that the copyright must remain at the top of the main file and that you must give credit where credit it due (you can't call the code your own). If you'll notice, there is an about icon in the top-right corner displaying a form with my information. This is completely optional! To disable it, just change "SupportMe" in the Options sub-region to false; don't delete it or your code will fail on compile.


The program is the copyright © of Tyler Menezes. Some rights reserved (see Usage Restrictions). The article is copyright © 2006 Tyler Menezes. The Code Project owns the non-exclusive right to modify, distribute, and copy the article.


The program is licensed under the Creative Commons Attribution License 2.5.



This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
United States United States
Tyler Menezes is a web designer and Windows developer. His personal site is

Comments and Discussions

QuestionUse this with Access? PinmemberMember 1037069531-Oct-13 17:17 
GeneralMy vote of 4 PinmemberMember 801656931-Dec-11 23:38 
GeneralRunning on vista problem Pinmemberajayparikh.gvp8-Jun-10 2:18 
QuestionHelp with installation PinmemberPeter Leipzig29-May-10 8:33 
GeneralWorks fine for me. Pinmemberlostforwords26-Jan-10 9:10 
Questionregistration Pinmember77rocky7-Dec-09 11:56 
GeneralBug Fix PinmemberMember 28913555-Oct-09 5:26 
General2 programs one works the other dosn't PinmemberMember 28913551-Oct-09 10:15 
GeneralRe: 2 programs one works the other dosn't PinmemberMember 28913552-Oct-09 6:06 
GeneralInternet sales integration PinmemberAnt210018-Jul-09 10:03 
QuestionAbout registration code.. PinmemberJameel ahmad khan4-Jun-09 7:50 
AnswerRe: About registration code.. Pinmembertylermenezes4-Jun-09 9:43 
GeneralRe: About registration code.. PinmemberJameel ahmad khan6-Jun-09 5:28 
QuestionNeed you help!!! PinmemberMember 42274731-Dec-08 15:33 
AnswerRe: Need you help!!! Pinmembertylermenezes3-Dec-08 4:47 
GeneralFix for Regional settings PinmemberAguzman25-Sep-08 9:34 
QuestionHardwareMotherboardID.dll, and others [modified] PinmemberSTLMike5-Sep-08 6:50 
Generalhi!! Pinmemberrhedlego29-Jul-08 17:33 
GeneralRe: hi!! Pinmembertylermenezes29-Jul-08 22:22 
GeneralERROR -- System Date change -- or have I done something wrong PinmemberMuhammad Zaid Pirwani24-Jul-08 21:19 
QuestionMade my own Program, Using your code PinmemberMuhammad Zaid Pirwani25-Jul-08 9:25 
GeneralRe: ERROR -- System Date change -- or have I done something wrong Pinmembertylermenezes25-Jul-08 17:22 
AnswerRe: ERROR -- System Date change -- or have I done something wrong PinmemberMuhammad Zaid Pirwani25-Jul-08 22:10 
GeneralRe: ERROR -- System Date change -- or have I done something wrong Pinmembertylermenezes29-Jul-08 22:26 
GeneralSlightly off-topic (Images) Pinmemberdawmail3334-Jul-08 15:33 
QuestionError Pinmembercraigbett31-May-08 10:11 
AnswerRe: Error Pinmemberdawmail3336-Jul-08 14:53 
GeneralI get a board not declared error Pinmembermrwu2130-Apr-08 5:27 
GeneralRe: I get a board not declared error Pinmembertylermenezes30-Apr-08 10:45 
Answeruser registration form [modified] Pinmemberpediatric8-Apr-08 0:55 
GeneralTrial time PinmemberMichalss23-Feb-08 14:26 
General.NET 3.5 and Visual Studio 2008 PinmemberRobin8418-Feb-08 4:10 
GeneralRe: .NET 3.5 and Visual Studio 2008 PinmemberRens Duijsens12-Apr-08 11:59 
GeneralRe: .NET 3.5 and Visual Studio 2008 Pinmembertylermenezes12-Apr-08 13:50 
QuestionReset the trial period? PinmemberMulleDK1312-Feb-08 7:16 
AnswerRe: Reset the trial period? [modified] PinmemberMulleDK1312-Feb-08 7:17 
GeneralRe: Reset the trial period? PinmemberKen Beale19-Jun-08 5:02 
GeneralUsing UK Dates Pinmembercrobarcrozier1-Dec-07 3:52 
GeneralRe: Using UK Dates Pinmembercrobarcrozier1-Dec-07 4:02 
QuestionIs it can be applied on Mobile application? Pinmemberxmxth00122-Nov-07 23:58 
AnswerRe: Is it can be applied on Mobile application? PinmemberPixelated23-Nov-07 8:17 
QuestionWill not reinstall Pinmemberskyhawkap10-Jul-07 5:06 
AnswerRe: Will not reinstall Pinmemberskyhawkap10-Jul-07 5:27 
GeneralRe: Will not reinstall PinmemberPixelated11-Jul-07 14:09 
GeneralOnce Registered... PinmemberRon Sell1-May-07 6:47 
GeneralRe: Once Registered... PinmemberPixelated2-May-07 13:54 
GeneralC# code Needed Pinmemberhooshang Karami10-Apr-07 2:49 
GeneralRe: C# code Needed PinmemberPixelated10-Apr-07 13:51 
Generalconversion to C# Pinmemberwebseal14-Mar-07 23:51 
GeneralRe: conversion to C# PinmemberPixelated15-Mar-07 13:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 10 Dec 2006
Article Copyright 2006 by tylermenezes
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid