Click here to Skip to main content
15,908,775 members
Home / Discussions / C#
   

C#

 
QuestionCreating A Demo Version in C# Pin
varun.g24-Feb-11 19:34
varun.g24-Feb-11 19:34 
AnswerRe: Creating A Demo Version in C# Pin
Groulien24-Feb-11 20:27
Groulien24-Feb-11 20:27 
AnswerRe: Creating A Demo Version in C# Pin
Pravin Patil, Mumbai25-Feb-11 0:01
Pravin Patil, Mumbai25-Feb-11 0:01 
AnswerRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 4:09
professionalEspen Harlinn25-Feb-11 4:09 
GeneralRe: Creating A Demo Version in C# Pin
fjdiewornncalwe25-Feb-11 4:57
professionalfjdiewornncalwe25-Feb-11 4:57 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 5:09
professionalEspen Harlinn25-Feb-11 5:09 
GeneralRe: Creating A Demo Version in C# Pin
varun.g25-Feb-11 18:36
varun.g25-Feb-11 18:36 
GeneralRe: Creating A Demo Version in C# Pin
Espen Harlinn25-Feb-11 23:21
professionalEspen Harlinn25-Feb-11 23:21 
>> Is that so professional?
No - create two different setup projects too, one for the demo, and one for the paying customers

>> 'If(My.Settings == "0")
Oh my, that's not what I proposed. The VB syntax would be
#If PAIDVERSION Then
stuff only available to paying customers
#End If

If you use something like If(My.Settings == "0") everything gets compiled into the executable. The idea was to totally remove those features from the demo version - that way nobody can "crack" your licensing scheme.

>> But how to do that in C#.There is now "my" in there...
in C# you have "this" - a reference to the instance of the current object - and it's also used for .Net extension methods
GeneralRe: Creating A Demo Version in C# Pin
varun.g26-Feb-11 0:05
varun.g26-Feb-11 0:05 
QuestionImage Compression algorithm in c# Pin
Nidhu603224-Feb-11 18:26
Nidhu603224-Feb-11 18:26 
AnswerRe: Image Compression algorithm in c# [modified] Pin
SledgeHammer0124-Feb-11 18:53
SledgeHammer0124-Feb-11 18:53 
QuestionI want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 13:52
Nadia Monalisa24-Feb-11 13:52 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult24-Feb-11 14:09
mvePIEBALDconsult24-Feb-11 14:09 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 14:56
Nadia Monalisa24-Feb-11 14:56 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
PIEBALDconsult25-Feb-11 1:47
mvePIEBALDconsult25-Feb-11 1:47 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 16:51
N a v a n e e t h24-Feb-11 16:51 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:16
Nadia Monalisa24-Feb-11 17:16 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
N a v a n e e t h24-Feb-11 17:22
N a v a n e e t h24-Feb-11 17:22 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 17:58
Nadia Monalisa24-Feb-11 17:58 
AnswerRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
_Maxxx_24-Feb-11 18:04
professional_Maxxx_24-Feb-11 18:04 
GeneralRe: I want to detach the LINQ to SQL / LINQ to Entity Data Context from my presentation layer Pin
Nadia Monalisa24-Feb-11 18:13
Nadia Monalisa24-Feb-11 18:13 
QuestionMSSQL and C# ;( Pin
csrss24-Feb-11 13:11
csrss24-Feb-11 13:11 
AnswerRe: MSSQL and C# ;( Pin
csrss24-Feb-11 14:20
csrss24-Feb-11 14:20 
AnswerRe: MSSQL and C# ;( Pin
Henry Minute24-Feb-11 14:37
Henry Minute24-Feb-11 14:37 
GeneralRe: MSSQL and C# ;( Pin
csrss24-Feb-11 15:45
csrss24-Feb-11 15:45 

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.