|
-
Apr 8th, 2008, 11:09 AM
#1
Fanatic Member
Re: How do i make my program work for 5 times and then Expire
you could use debug and release modes if you wanted to make life easy
i always use this code at form load (its in c#)
but you could use this to enable a bool that would disable some subrutines and just display a message that the feature is not aviable and to buy the real deal
#if (DEBUG)
// debug mode
this.Text = this.Text + " debug-" + this.ProductVersion;
#else
// Release mode
this.Text = this.Text + " " + this.ProductVersion;
#endif
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|