Click here to Skip to main content
15,889,854 members
Home / Discussions / C#
   

C#

 
AnswerRe: Arrays in C# Pin
Guffa3-May-07 14:33
Guffa3-May-07 14:33 
GeneralRe: Arrays in C# Pin
mav.northwind3-May-07 18:47
mav.northwind3-May-07 18:47 
AnswerRe: Arrays in C# Pin
Guffa3-May-07 19:27
Guffa3-May-07 19:27 
GeneralRe: Arrays in C# Pin
mav.northwind4-May-07 8:12
mav.northwind4-May-07 8:12 
AnswerRe: Arrays in C# Pin
Guffa4-May-07 8:33
Guffa4-May-07 8:33 
AnswerRe: Arrays in C# Pin
Nouman Bhatti3-May-07 21:09
Nouman Bhatti3-May-07 21:09 
AnswerRe: Arrays in C# Pin
AFSEKI7-May-07 4:13
AFSEKI7-May-07 4:13 
QuestionPassing Parameters to a running thread Pin
Christopher Thornburg3-May-07 9:34
Christopher Thornburg3-May-07 9:34 
Okay, I am trying to implement a way to pass parameters to an already running thread or application. I have added some "Run Once" logic to an application of mine and it works great, if you try to load it twice...it looks for the thread by name, and if it finds it it just activates it. It works great...BUT...I want to pass 2 params to the running thread and this is how I am doing it and it is not working...not totally. So once my app is running, I will call the exe again and pass 2 params to it, when the second instance tries to start, I receive the params and save them to my properties.settings.default.variable1, variable2. then save the settings, check my thread, and if its running I just activate the running thread and exit. When the activated event fires I then look at the value of my properties.settings.default.whatever and the data has not changed, BUT if I exit the app at that point and start it again...the values have changed. Its like the running thread has a different session of the data open and it dosen't see the changes. So my question is: Is there a way to refresh the data session of the properties.settings stuff so I can see the last changes made??? or is there another way to pass the params to my running thread from the started thread????

Thanks...

Christopher J. Thornburg
Senior Systems Analyst
Ideal Card

AnswerRe: Passing Parameters to a running thread Pin
pbraun3-May-07 11:03
pbraun3-May-07 11:03 
GeneralRe: Passing Parameters to a running thread Pin
Christopher Thornburg3-May-07 11:06
Christopher Thornburg3-May-07 11:06 
GeneralRe: Passing Parameters to a running thread Pin
pbraun3-May-07 11:14
pbraun3-May-07 11:14 
AnswerRe: Passing Parameters to a running thread Pin
Stefan Prodan3-May-07 12:01
Stefan Prodan3-May-07 12:01 
AnswerRe: Passing Parameters to a running thread Pin
AFSEKI7-May-07 4:30
AFSEKI7-May-07 4:30 
QuestionMSI Database Functions in C# Pin
CyberTech3-May-07 7:55
CyberTech3-May-07 7:55 
QuestionHow to add user to the folder? Pin
Dotnetkanna3-May-07 6:55
Dotnetkanna3-May-07 6:55 
AnswerRe: How to add user to the folder? Pin
Tarakeshwar Reddy3-May-07 7:21
professionalTarakeshwar Reddy3-May-07 7:21 
QuestionKnown issues with WebBrowser control? Pin
engsrini3-May-07 5:46
engsrini3-May-07 5:46 
AnswerRe: Known issues with WebBrowser control? Pin
PIEBALDconsult3-May-07 8:05
mvePIEBALDconsult3-May-07 8:05 
QuestionDeveloping Mobile Phone Applications using C# Pin
Nadia Monalisa3-May-07 4:46
Nadia Monalisa3-May-07 4:46 
AnswerRe: Developing Mobile Phone Applications using C# Pin
Dave Kreskowiak3-May-07 4:54
mveDave Kreskowiak3-May-07 4:54 
QuestionButton.Text has no effect? Pin
User 66583-May-07 4:37
User 66583-May-07 4:37 
AnswerRe: Button.Text has no effect? Pin
Sandeep Akhare3-May-07 4:43
Sandeep Akhare3-May-07 4:43 
AnswerRe: Button.Text has no effect? Pin
Dave Kreskowiak3-May-07 4:53
mveDave Kreskowiak3-May-07 4:53 
GeneralRe: Button.Text has no effect? Pin
Sandeep Akhare3-May-07 5:08
Sandeep Akhare3-May-07 5:08 
GeneralRe: Button.Text has no effect? Pin
Dave Kreskowiak3-May-07 5:35
mveDave Kreskowiak3-May-07 5:35 

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.