GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  Visual Basic
Go To First  |  Previous Question  |  Next Question 
 Visual Basic  |  Question 447 of 453    Print  
How to create Registry Dword Value and How to create Trial Version in VB Project ?

  
Total Answers and Comments: 1 Last Update: November 26, 2007     Asked by: Jayakumar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 26, 2007 00:18:13   #1  
debasis.yours Member Since: November 2007   Contribution: 11    

RE: How to create Registry Dword Value and How to crea...
Registry Entry can be created using the API Functions:
RegCreateKey RegSetValueEx and RegCloseKey. I can't remember the parameters that are passed to these functions.

Trial Version of VB Projects can be created using several tricks; there are no fixed rules.
First way you can programmatically create an encrypted file at the time of running the application for the first time and store it in some hidden location. Inside this file store the date of first use and number of uses for the software(Use encryption if possible). Whenever the software running after 30 days(say you are giving 30 Day evaluation period) it will retrieve the first day of running from the hidden file and compare it with the current date. If date difference becomes more than 30 then software will not run.

Second way you can implement the same kind of restriction by using system registry also.

Third way you can also take help of an extra table(fields of which) will store this information if you are developing with a database.

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : yes ...

Latest Answer : Yes  On Creating RelationShip, You Check the Option OnDeleteCascade. ...

Latest Answer : The following steps show you how to add document fragments to the SimpleSample smart document.  The first thing you need to do is add a constant for the documentfragment element in the SimpleSample schema. Insert the following code into the ...





Latest Answer : No Compatibility - New GUID created, references from other components will not work. Project Compatibility - Default for a new component Binary Compatibility - GUID does not change, references from other components will work ...

Have you ever created ActiveX DLLs? If so, why did you create the DLLs instead of using code in the main application?

When some controls like grid and third party control placed in our application then it will create frx in run time.  
Latest Answer : frx file is one which stores the graphics details of the controls which are placed on the form ...


 Sponsored Links

 
Related Articles

SQA Project Metrics

SQA Project Metrics The application is only as good as its numbers It is a harsh reality but everything has to come down to the numbers Although we can enumerate tens or hundreds of features in a single application it will all be for nothing if the metrics do not live up according to expectation The
 

jQuery - Basic Alphabetical Sorting

Learning jQuery Basic Alphabetical Sorting Now let s perform a sort on the Title column of the table We ll need a class on the table header cell so that we can select it properly geshibot lang html" Title Author s Publish Date Price geshibot mosgoogle To perform the actual s
 

SOA for Project Managers

SOA for Project Managers The idea of handling exceptions manually unveils major significance of individuals involved in Service Oriented Architecture based projects as well as various roles they take on Service Oriented Architecture projects tends to involve a number of familiar project roles includ
 

Working with XML in Visual Basic

Working with XML in Visual Basic Extensive markup language and Visual Basic is the odd couple of the industry Visual Basic is one of the most common languages that are being used today This Microsoft introduced language was meant to be middle tier in characteristic but has managed to get the top tie
 

SDLC Model Basic Stages

SDLC or the Software Development Life Cycle refers to the steps involved in creating a software from scratch.  During earlier days, software used to be scarce and its creation was comparatively easier.  Developers could create any programs they want and experience no competition. I
 

Project Planning

Putting the Cart After the Horse: Project Planning and Scope Definition In fast-paced business world, proper project planning can often take a backseat to other objectives. Employees are asked to leap into the project before the scope or Work Breakdown Structure is even defined. Does this scenario
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Basic PC Skills

For those that have decided to walk into the world of technology, they may be overwhelmed by the types of knowledge that are available.  There are several code languages and words as well as different areas that you can move into.  If you are a beginner in technology, you can fin
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape