Click here to Skip to main content
11,712,454 members (77,581 online)
Click here to Skip to main content

VB.NET 2003 User Registration Form (2.1)

, 10 Dec 2006 195.8K 12.2K 97
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!

Downloads

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

Introduction

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).

Update:

  • 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.

Development

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.

Copyright

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.

License

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

Downloads

License

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

Share

About the Author

tylermenezes
Web Developer
United States United States
Tyler Menezes is a web designer and Windows developer. His personal site is http://www.tylerm.info/

You may also be interested in...

Comments and Discussions

 
QuestionUse this with Access? Pin
Member 1037069531-Oct-13 16:17
memberMember 1037069531-Oct-13 16:17 
GeneralMy vote of 4 Pin
Member 801656931-Dec-11 22:38
memberMember 801656931-Dec-11 22:38 
GeneralRunning on vista problem Pin
ajayparikh.gvp8-Jun-10 1:18
memberajayparikh.gvp8-Jun-10 1:18 
QuestionHelp with installation Pin
Peter Leipzig29-May-10 7:33
memberPeter Leipzig29-May-10 7:33 
GeneralWorks fine for me. Pin
lostforwords26-Jan-10 8:10
memberlostforwords26-Jan-10 8:10 
Questionregistration Pin
77rocky7-Dec-09 10:56
member77rocky7-Dec-09 10:56 
GeneralBug Fix Pin
Member 28913555-Oct-09 4:26
memberMember 28913555-Oct-09 4:26 
General2 programs one works the other dosn't Pin
Member 28913551-Oct-09 9:15
memberMember 28913551-Oct-09 9:15 
GeneralRe: 2 programs one works the other dosn't Pin
Member 28913552-Oct-09 5:06
memberMember 28913552-Oct-09 5:06 
GeneralInternet sales integration Pin
Ant210018-Jul-09 9:03
memberAnt210018-Jul-09 9:03 
QuestionAbout registration code.. Pin
Jameel ahmad khan4-Jun-09 6:50
memberJameel ahmad khan4-Jun-09 6:50 
AnswerRe: About registration code.. Pin
tylermenezes4-Jun-09 8:43
membertylermenezes4-Jun-09 8:43 
GeneralRe: About registration code.. Pin
Jameel ahmad khan6-Jun-09 4:28
memberJameel ahmad khan6-Jun-09 4:28 
QuestionNeed you help!!! Pin
Member 42274731-Dec-08 14:33
memberMember 42274731-Dec-08 14:33 
AnswerRe: Need you help!!! Pin
tylermenezes3-Dec-08 3:47
membertylermenezes3-Dec-08 3:47 
GeneralFix for Regional settings Pin
Aguzman25-Sep-08 8:34
memberAguzman25-Sep-08 8:34 
QuestionHardwareMotherboardID.dll, and others [modified] Pin
STLMike5-Sep-08 5:50
memberSTLMike5-Sep-08 5:50 
Generalhi!! Pin
rhedlego29-Jul-08 16:33
memberrhedlego29-Jul-08 16:33 
GeneralRe: hi!! Pin
tylermenezes29-Jul-08 21:22
membertylermenezes29-Jul-08 21:22 
GeneralERROR -- System Date change -- or have I done something wrong Pin
Muhammad Zaid Pirwani24-Jul-08 20:19
memberMuhammad Zaid Pirwani24-Jul-08 20:19 
QuestionMade my own Program, Using your code Pin
Muhammad Zaid Pirwani25-Jul-08 8:25
memberMuhammad Zaid Pirwani25-Jul-08 8:25 
GeneralRe: ERROR -- System Date change -- or have I done something wrong Pin
tylermenezes25-Jul-08 16:22
membertylermenezes25-Jul-08 16:22 
AnswerRe: ERROR -- System Date change -- or have I done something wrong Pin
Muhammad Zaid Pirwani25-Jul-08 21:10
memberMuhammad Zaid Pirwani25-Jul-08 21:10 
GeneralRe: ERROR -- System Date change -- or have I done something wrong Pin
tylermenezes29-Jul-08 21:26
membertylermenezes29-Jul-08 21:26 
GeneralSlightly off-topic (Images) Pin
dawmail3334-Jul-08 14:33
memberdawmail3334-Jul-08 14:33 
QuestionError Pin
craigbett31-May-08 9:11
membercraigbett31-May-08 9:11 
AnswerRe: Error Pin
dawmail3336-Jul-08 13:53
memberdawmail3336-Jul-08 13:53 
GeneralI get a board not declared error Pin
mrwu2130-Apr-08 4:27
membermrwu2130-Apr-08 4:27 
GeneralRe: I get a board not declared error Pin
tylermenezes30-Apr-08 9:45
membertylermenezes30-Apr-08 9:45 
Answeruser registration form [modified] Pin
pediatric7-Apr-08 23:55
memberpediatric7-Apr-08 23:55 
GeneralTrial time Pin
Michalss23-Feb-08 13:26
memberMichalss23-Feb-08 13:26 
General.NET 3.5 and Visual Studio 2008 Pin
Robin8418-Feb-08 3:10
memberRobin8418-Feb-08 3:10 
GeneralRe: .NET 3.5 and Visual Studio 2008 Pin
Rens Duijsens12-Apr-08 10:59
memberRens Duijsens12-Apr-08 10:59 
GeneralRe: .NET 3.5 and Visual Studio 2008 Pin
tylermenezes12-Apr-08 12:50
membertylermenezes12-Apr-08 12:50 
QuestionReset the trial period? Pin
MulleDK1312-Feb-08 6:16
memberMulleDK1312-Feb-08 6:16 
AnswerRe: Reset the trial period? [modified] Pin
MulleDK1312-Feb-08 6:17
memberMulleDK1312-Feb-08 6:17 
GeneralRe: Reset the trial period? Pin
Ken Beale19-Jun-08 4:02
memberKen Beale19-Jun-08 4:02 
GeneralUsing UK Dates Pin
crobarcrozier1-Dec-07 2:52
membercrobarcrozier1-Dec-07 2:52 
GeneralRe: Using UK Dates Pin
crobarcrozier1-Dec-07 3:02
membercrobarcrozier1-Dec-07 3:02 
QuestionIs it can be applied on Mobile application? Pin
xmxth00122-Nov-07 22:58
memberxmxth00122-Nov-07 22:58 
AnswerRe: Is it can be applied on Mobile application? Pin
Pixelated23-Nov-07 7:17
memberPixelated23-Nov-07 7:17 
QuestionWill not reinstall Pin
skyhawkap10-Jul-07 4:06
memberskyhawkap10-Jul-07 4:06 
AnswerRe: Will not reinstall Pin
skyhawkap10-Jul-07 4:27
memberskyhawkap10-Jul-07 4:27 
GeneralRe: Will not reinstall Pin
Pixelated11-Jul-07 13:09
memberPixelated11-Jul-07 13:09 
GeneralOnce Registered... Pin
Ron Sell1-May-07 5:47
memberRon Sell1-May-07 5:47 
GeneralRe: Once Registered... Pin
Pixelated2-May-07 12:54
memberPixelated2-May-07 12:54 
GeneralC# code Needed Pin
hooshang Karami10-Apr-07 1:49
memberhooshang Karami10-Apr-07 1:49 
GeneralRe: C# code Needed Pin
Pixelated10-Apr-07 12:51
memberPixelated10-Apr-07 12:51 
Generalconversion to C# Pin
webseal14-Mar-07 22:51
memberwebseal14-Mar-07 22:51 
GeneralRe: conversion to C# Pin
Pixelated15-Mar-07 12:46
memberPixelated15-Mar-07 12: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
Web04 | 2.8.150819.1 | Last Updated 10 Dec 2006
Article Copyright 2006 by tylermenezes
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid