Click here to Skip to main content
15,907,001 members
Home / Discussions / C#
   

C#

 
Question"hai friends" Pin
fraulin6-Mar-09 20:53
fraulin6-Mar-09 20:53 
AnswerRe: "hai friends" Pin
dan!sh 6-Mar-09 21:06
professional dan!sh 6-Mar-09 21:06 
AnswerRe: "hai friends" Pin
Vasudevan Deepak Kumar6-Mar-09 21:47
Vasudevan Deepak Kumar6-Mar-09 21:47 
GeneralRe: "hai friends" Pin
dan!sh 6-Mar-09 21:48
professional dan!sh 6-Mar-09 21:48 
QuestionRe: "hai friends" Pin
Eytukan7-Mar-09 0:52
Eytukan7-Mar-09 0:52 
AnswerRe: "hai friends" Pin
dental biometrics14-Apr-09 18:37
dental biometrics14-Apr-09 18:37 
Questionhow to convert .doc,image file to pdf in .net c# Pin
vinodkrebc6-Mar-09 20:05
vinodkrebc6-Mar-09 20:05 
AnswerRe: how to convert .doc,image file to pdf in .net c# Pin
dan!sh 6-Mar-09 20:48
professional dan!sh 6-Mar-09 20:48 
JokeRe: how to convert .doc,image file to pdf in .net c# Pin
Vasudevan Deepak Kumar6-Mar-09 21:50
Vasudevan Deepak Kumar6-Mar-09 21:50 
Questionembedding of text file and video Pin
adiseshaiah6-Mar-09 19:57
adiseshaiah6-Mar-09 19:57 
AnswerRe: embedding of text file and video Pin
Xmen Real 7-Mar-09 0:02
professional Xmen Real 7-Mar-09 0:02 
QuestionData Binding error Pin
Sajjad Leo6-Mar-09 19:46
Sajjad Leo6-Mar-09 19:46 
AnswerRe: Data Binding error Pin
K V Sekhar6-Mar-09 20:03
K V Sekhar6-Mar-09 20:03 
AnswerRe: Data Binding error Pin
dejmjin7-Mar-09 0:08
dejmjin7-Mar-09 0:08 
QuestionFill Combo box Pin
Sajjad Leo6-Mar-09 19:41
Sajjad Leo6-Mar-09 19:41 
AnswerRe: Fill Combo box Pin
K V Sekhar6-Mar-09 20:35
K V Sekhar6-Mar-09 20:35 
QuestionC# Error of Lockbits Pin
Swati Khanna6-Mar-09 19:30
Swati Khanna6-Mar-09 19:30 
GeneralRe: C# Error of Lockbits Pin
Luc Pattyn7-Mar-09 1:49
sitebuilderLuc Pattyn7-Mar-09 1:49 
QuestionProviding trial period for an product Pin
K V Sekhar6-Mar-09 18:53
K V Sekhar6-Mar-09 18:53 
Hi all,

We developed a product. We have to provide trail period(10days) for that product.

For that we tried in the following way.
At installation of our product we are storing the 10th day date from installation date into system registry.

and we are checking date every time when user logins
if(DateTime.Now<=registrydate)
//Continue
else
//Close the application
MessageBox.Show("The trail period is completed");
Application.Exit();

This works fine until user changes System DateTime.

I wants to avoid that also, even though if user changes System date it should work only for 10days.

Plz suggest me how to do that.

Thanks in advance...
AnswerRe: Providing trial period for an product Pin
dan!sh 6-Mar-09 20:44
professional dan!sh 6-Mar-09 20:44 
GeneralRe: Providing trial period for an product Pin
K V Sekhar6-Mar-09 22:58
K V Sekhar6-Mar-09 22:58 
AnswerRe: Providing trial period for an product Pin
Xmen Real 6-Mar-09 23:57
professional Xmen Real 6-Mar-09 23:57 
GeneralRe: Providing trial period for an product Pin
K V Sekhar7-Mar-09 1:38
K V Sekhar7-Mar-09 1:38 
QuestionHow to execute SP from access in C# Pin
Pankaj Deharia6-Mar-09 18:34
professionalPankaj Deharia6-Mar-09 18:34 
QuestionNext Form Pin
Sajjad Leo6-Mar-09 17:58
Sajjad Leo6-Mar-09 17:58 

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.