VB 2008 add a regkey to your program


This is a tut to show you how to add a Reg Key to your program(s) without using an additional form. instead it uses an inputbox to obtain the reg key, Once the correct key has been given then it will not ask again! the code: If My.Settings.regkey = “false” Then Exit Sub End If Dim useinput As String useinput = InputBox(“Please type a Reg Key”, “RegKey”, “Type the regkey here”) If useinput = “YourREGKEY” Then MsgBox(“Correct code!” & vbCrLf & “Please enjoy this program”) My.Settings.regkey = …

Recommended Reading

One thought on “VB 2008 add a regkey to your program

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>