Click here to Skip to main content
15,916,463 members
Home / Discussions / C#
   

C#

 
GeneralRe: Computer Names from the Server System Pin
Eddy Vluggen22-Oct-08 2:09
professionalEddy Vluggen22-Oct-08 2:09 
GeneralRe: Computer Names from the Server System Pin
Dave Kreskowiak22-Oct-08 5:39
mveDave Kreskowiak22-Oct-08 5:39 
GeneralRe: Computer Names from the Server System Pin
anithagaraga22-Oct-08 18:29
anithagaraga22-Oct-08 18:29 
GeneralRe: Computer Names from the Server System Pin
Eddy Vluggen22-Oct-08 21:19
professionalEddy Vluggen22-Oct-08 21:19 
QuestionHow to display data as grid layout in Crystal reprot Pin
Maddie from Dartford21-Oct-08 19:46
Maddie from Dartford21-Oct-08 19:46 
AnswerRe: How to display data as grid layout in Crystal reprot Pin
selcuks21-Oct-08 22:40
selcuks21-Oct-08 22:40 
QuestionCreate trail version application Pin
Member 369523621-Oct-08 19:19
Member 369523621-Oct-08 19:19 
AnswerRe: Create trail version application Pin
Simon P Stevens21-Oct-08 21:59
Simon P Stevens21-Oct-08 21:59 
The simplest way would be to stored the installation date in the registry.

Then every time your application runs, just retrieve the date and compare it against the current date. If it's greater than 30 days, display a message and close the application.

Obviously it depends how secure you want to be, the above could be got around quite easily by the user just deleting the registry key - but most users wouldn't know how to do this, so it's probably ok for about 95% of the users of a general app. If you want to be more secure, you could consider encrypting the registry key so they can't change it, and deny access if it doesn't exist.

(It would probably be better to use isolated storage rather than the registry, using the registry is considered bad practise these days)

Or to be really secure, consider a 3rd party product. Just google, there are loads.

[BTW: trail trial]

Simon

QuestionRe: Create trail version application Pin
Member 369523622-Oct-08 0:14
Member 369523622-Oct-08 0:14 
AnswerRe: Create trail version application Pin
Simon P Stevens22-Oct-08 1:51
Simon P Stevens22-Oct-08 1:51 
GeneralRe: Create trail version application Pin
Member 369523622-Oct-08 2:56
Member 369523622-Oct-08 2:56 
AnswerRe: Create trail version application Pin
Shyam Bharath22-Oct-08 0:14
Shyam Bharath22-Oct-08 0:14 
QuestionRe: Create trail version application Pin
Member 369523622-Oct-08 0:19
Member 369523622-Oct-08 0:19 
Questionprinting a table in dot matrix mode Pin
sram1521-Oct-08 18:52
sram1521-Oct-08 18:52 
AnswerRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 21:01
professionalEddy Vluggen21-Oct-08 21:01 
GeneralRe: printing a table in dot matrix mode [modified] Pin
sram1521-Oct-08 21:34
sram1521-Oct-08 21:34 
QuestionRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 21:53
professionalEddy Vluggen21-Oct-08 21:53 
AnswerRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 22:12
sram1521-Oct-08 22:12 
GeneralRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 22:38
professionalEddy Vluggen21-Oct-08 22:38 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 22:52
sram1521-Oct-08 22:52 
GeneralRe: printing a table in dot matrix mode Pin
Eddy Vluggen21-Oct-08 23:06
professionalEddy Vluggen21-Oct-08 23:06 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 23:15
sram1521-Oct-08 23:15 
AnswerRe: printing a table in dot matrix mode Pin
Rajesh R Subramanian21-Oct-08 22:57
professionalRajesh R Subramanian21-Oct-08 22:57 
GeneralRe: printing a table in dot matrix mode Pin
sram1521-Oct-08 23:18
sram1521-Oct-08 23:18 
GeneralRe: printing a table in dot matrix mode Pin
Rajesh R Subramanian21-Oct-08 23:19
professionalRajesh R Subramanian21-Oct-08 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.