Click here to Skip to main content
15,886,068 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Sanskrit Keyboard Pin
Sesharaman9-Sep-11 23:44
Sesharaman9-Sep-11 23:44 
QuestionCould not load file or assembly 'Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Pin
swjam9-Sep-11 3:17
swjam9-Sep-11 3:17 
AnswerRe: Could not load file or assembly 'Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Pin
jschell9-Sep-11 6:58
jschell9-Sep-11 6:58 
QuestionSide-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Dylan Morley8-Sep-11 22:40
Dylan Morley8-Sep-11 22:40 
AnswerRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Matt U.9-Sep-11 8:01
Matt U.9-Sep-11 8:01 
AnswerRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
jschell10-Sep-11 7:53
jschell10-Sep-11 7:53 
GeneralRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Dylan Morley11-Sep-11 21:46
Dylan Morley11-Sep-11 21:46 
QuestionCreate multiple instances of class for multi-threading Pin
HentoDeluxe8-Sep-11 11:40
HentoDeluxe8-Sep-11 11:40 
Hi,

I've been googling for hours without finding anything, so I have to turn here! (Frequent reader, first time poster).

I have a VB.net class (myMechModel) that is used to solve a mechanical problem. The class contains all (mechanical) parameters (mass, stiffness, length) are needed to solve the problem and it stores the results in a collection within the class. The class has a method that is being called to run the simulation (myMechModel.Calculate()).

I now want to run multiple simulations of the simulation, but change some of the parameters between each simulation. I could run it sequentially, but I really want to run it in parallel (each simulation run takes about 2 second).

I've been trying to get it working with Parallel.Tasks, but of course calling myMechModel.Calculate() just results in a threading conflict because multiple threads try to write results to the same results collection.

I've been looking into cloning the initial class for each task and then changing the values I want (like mass, stiffness, length). But before I go down that path, I'd like to here comments on what would be the best way of dealing with this!
AnswerRe: Create multiple instances of class for multi-threading Pin
MicroVirus8-Sep-11 12:54
MicroVirus8-Sep-11 12:54 
GeneralRe: Create multiple instances of class for multi-threading Pin
HentoDeluxe9-Sep-11 5:17
HentoDeluxe9-Sep-11 5:17 
AnswerRe: Create multiple instances of class for multi-threading Pin
Luc Pattyn9-Sep-11 5:38
sitebuilderLuc Pattyn9-Sep-11 5:38 
Questioncall exe file in vb.net Pin
vishnumoorthy6-Sep-11 16:35
vishnumoorthy6-Sep-11 16:35 
AnswerRe: call exe file in vb.net Pin
Pradeep Shukla6-Sep-11 17:37
professionalPradeep Shukla6-Sep-11 17:37 
GeneralRe: call exe file in vb.net Pin
Pravin Patil, Mumbai6-Sep-11 20:20
Pravin Patil, Mumbai6-Sep-11 20:20 
GeneralRe: call exe file in vb.net Pin
Pradeep Shukla7-Sep-11 4:07
professionalPradeep Shukla7-Sep-11 4:07 
GeneralRe: call exe file in vb.net Pin
Pete O'Hanlon7-Sep-11 4:32
mvePete O'Hanlon7-Sep-11 4:32 
GeneralRe: call exe file in vb.net Pin
Pradeep Shukla7-Sep-11 4:37
professionalPradeep Shukla7-Sep-11 4:37 
GeneralRe: call exe file in vb.net Pin
Pete O'Hanlon7-Sep-11 4:55
mvePete O'Hanlon7-Sep-11 4:55 
GeneralRe: call exe file in vb.net Pin
PIEBALDconsult7-Sep-11 14:49
mvePIEBALDconsult7-Sep-11 14:49 
AnswerRe: call exe file in vb.net Pin
PIEBALDconsult7-Sep-11 3:02
mvePIEBALDconsult7-Sep-11 3:02 
AnswerRe: call exe file in vb.net Pin
Rakesh Meel10-Sep-11 0:31
professionalRakesh Meel10-Sep-11 0:31 
AnswerRe: call exe file in vb.net Pin
jkirkerx27-Sep-11 17:03
professionaljkirkerx27-Sep-11 17:03 
QuestionEnterprise Library caching problem Pin
maryam.saboor5-Sep-11 18:23
professionalmaryam.saboor5-Sep-11 18:23 
AnswerRe: Enterprise Library caching problem Pin
Mehdi Gholam6-Sep-11 17:30
Mehdi Gholam6-Sep-11 17:30 
AnswerRe: Enterprise Library caching problem Pin
Pradeep Shukla6-Sep-11 17:52
professionalPradeep Shukla6-Sep-11 17:52 

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.