Solved

How to protect a VB application...

Posted on 2004-08-17
4
185 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 51

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 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