Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
QuestionWeb Browser Controls... Pin
ptr2void6-May-08 0:53
ptr2void6-May-08 0:53 
AnswerRe: Web Browser Controls... Pin
Eduard Keilholz6-May-08 0:59
Eduard Keilholz6-May-08 0:59 
GeneralRe: Web Browser Controls... Pin
ptr2void6-May-08 1:12
ptr2void6-May-08 1:12 
GeneralRe: Web Browser Controls... Pin
Christian Graus6-May-08 1:54
protectorChristian Graus6-May-08 1:54 
AnswerRe: Web Browser Controls... Pin
Spacix One7-May-08 11:13
Spacix One7-May-08 11:13 
QuestionSetup wizard Pin
Waheed Ur Rehman6-May-08 0:37
Waheed Ur Rehman6-May-08 0:37 
AnswerRe: Setup wizard Pin
Abhijit Jana6-May-08 0:49
professionalAbhijit Jana6-May-08 0:49 
QuestionThread.CurrentThread.CurrentCulture & NUnit issue Pin
buchstaben6-May-08 0:27
buchstaben6-May-08 0:27 
Hello,

there is a c# method perfoming some operations:

protected override bool checkDatalinkEntry(PlausicheckKernel.Datalink.DatalinkEntry entry, ref string msgReason, ref string msgReasonShort)
       {
           bool retValue;

           //...            Thread.CurrentThread.CurrentCulture.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Monday;
           //...
           Thread.CurrentThread.CurrentCulture.DateTimeFormat.FirstDayOfWeek = DayOfWeek.Sunday;

           //...
           return retValue;
       }


In addition, there is a unit test method which calls checkDatalinkEntry.
Calling the test method from main will work, but calling the test via nunit gui, System.InvalidOperationException is thrown (instance is write protected) at setting FirstDayOfWeek property.


Any idea on how to fix this? I don't want to modify my businesslogic (checkDatalinkEntry) for nunit..

thanks in advance
QuestionHow to build exe....... Pin
Deepak Nigam5-May-08 23:47
Deepak Nigam5-May-08 23:47 
AnswerRe: How to build exe....... Pin
Giorgi Dalakishvili5-May-08 23:58
mentorGiorgi Dalakishvili5-May-08 23:58 
AnswerRe: How to build exe....... Pin
Reelix5-May-08 23:59
Reelix5-May-08 23:59 
AnswerRe: How to build exe....... Pin
Abhijit Jana6-May-08 0:04
professionalAbhijit Jana6-May-08 0:04 
QuestionHow do I start programs from a C# program? Pin
False Chicken5-May-08 22:27
False Chicken5-May-08 22:27 
AnswerRe: How do I start programs from a C# program? Pin
Abhijit Jana5-May-08 22:36
professionalAbhijit Jana5-May-08 22:36 
AnswerRe: How do I start programs from a C# program? Pin
Gareth H5-May-08 22:37
Gareth H5-May-08 22:37 
AnswerRe: How do I start programs from a C# program? Pin
Reelix5-May-08 22:41
Reelix5-May-08 22:41 
QuestionHow to ship my test certificate into the clients machine using c# Pin
ananthrahul5-May-08 22:26
ananthrahul5-May-08 22:26 
Questionsolving maze program Pin
sobu5-May-08 22:22
sobu5-May-08 22:22 
AnswerRe: solving maze program Pin
Abhijit Jana5-May-08 22:47
professionalAbhijit Jana5-May-08 22:47 
AnswerRe: solving maze program Pin
Reelix5-May-08 22:52
Reelix5-May-08 22:52 
AnswerRe: solving maze program Pin
PIEBALDconsult6-May-08 5:45
mvePIEBALDconsult6-May-08 5:45 
QuestionKeeping count of total Pin
MumbleB5-May-08 21:36
MumbleB5-May-08 21:36 
AnswerRe: Keeping count of total Pin
Christian Graus5-May-08 21:58
protectorChristian Graus5-May-08 21:58 
GeneralRe: Keeping count of total Pin
MumbleB5-May-08 23:39
MumbleB5-May-08 23:39 
GeneralRe: Keeping count of total Pin
Christian Graus6-May-08 1:13
protectorChristian Graus6-May-08 1:13 

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.