Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy protect

Status
Not open for further replies.

ITphile

IS-IT--Management
Nov 27, 2001
51
IN
Hi All,

I want my VB programme to be "copy protected" so that no one can copy the software just like that.

My requirement is somewhat like:
The CD key can be used only twice and the functions of the software will go down if not registered within 50 days of installation.

Are there any 'programs' readily available or VB6 can come handy?

Pl. suugest me to make the programs secure

TIA

ITphile
 
Create a cryptic and obscure registry entry with your installation.

In your main function check if the registry entry has some particular value. If not, end.

Or store a date in that registry entry and check it to see if 50 days have expired.

sub main()
SecretCode = GetSetting(ThisApp, ThisSection, "foobar")
if SecretCode = "mxtylplk" then
LaunchApp
else
End
endif
end sub

scarfhead
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top