Solved

How to protect a VB application...

Posted on 2004-08-17
4
191 Views
Last Modified: 2010-05-02
I have small application and would like to protect it.  It may be sold to an individual or to a company in which case UserName and DomainName may be a good controlling parameter.  

In case like this, I could store its string (UserName or DomainName) in tag property of a control to verify its validity in form load event.  

I also want to mail it to various customers for trial.  How can I can handle this part.  

Any comment in either of above questions is greatly appreciated.

Mike
0
Comment
Question by:Mike Eghtebas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 52

Assisted Solution

by:Ryan Chong
Ryan Chong earned 75 total points
ID: 11827692
After you store the UserName or DomainName, will it be better to verify it online each time user using your application? You can simply create a server-side script or webservice interface, which accept username, password as the parameters, then returns a result, after that we can compare the result to verify whether this is a legal copy of product or not..

regards
0
 
LVL 16

Assisted Solution

by:Kiran Paul VJ
Kiran Paul VJ earned 100 total points
ID: 11827767
0
 
LVL 26

Assisted Solution

by:Rejojohny
Rejojohny earned 75 total points
ID: 11827781
u could have an encrypted file in the application directory which store the dates for which application is legal .. lets say a company purchases it for it slifetime .. then this file can store the domain, startdate and enddate = 01/01/2050  etc in an encrypted format .. ur app can look for this file and read it .. if the file is not present or if the dates does not match then u could give a warning and shut ur application ...
0
 
LVL 18

Accepted Solution

by:
Sethi earned 250 total points
ID: 11827819
Use ActiveLock to create a trialware. It is free.
www.activelock.com
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question