Click here to Skip to main content
15,847,653 members
Home / Discussions / C#
   

C#

 
AnswerRe: Arrays in C# Pin
Guffa3-May-07 15:33
Guffa3-May-07 15:33 
GeneralRe: Arrays in C# Pin
mav.northwind3-May-07 19:47
mav.northwind3-May-07 19:47 
AnswerRe: Arrays in C# Pin
Guffa3-May-07 20:27
Guffa3-May-07 20:27 
GeneralRe: Arrays in C# Pin
mav.northwind4-May-07 9:12
mav.northwind4-May-07 9:12 
AnswerRe: Arrays in C# Pin
Guffa4-May-07 9:33
Guffa4-May-07 9:33 
AnswerRe: Arrays in C# Pin
Nouman Bhatti3-May-07 22:09
Nouman Bhatti3-May-07 22:09 
AnswerRe: Arrays in C# Pin
AFSEKI7-May-07 5:13
AFSEKI7-May-07 5:13 
QuestionPassing Parameters to a running thread Pin
Christopher Thornburg3-May-07 10:34
Christopher Thornburg3-May-07 10: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 12:03
pbraun3-May-07 12:03 
GeneralRe: Passing Parameters to a running thread Pin
Christopher Thornburg3-May-07 12:06
Christopher Thornburg3-May-07 12:06 
GeneralRe: Passing Parameters to a running thread Pin
pbraun3-May-07 12:14
pbraun3-May-07 12:14 
AnswerRe: Passing Parameters to a running thread Pin
Stefan Prodan3-May-07 13:01
Stefan Prodan3-May-07 13:01 
AnswerRe: Passing Parameters to a running thread Pin
AFSEKI7-May-07 5:30
AFSEKI7-May-07 5:30 
QuestionMSI Database Functions in C# Pin
CyberTech3-May-07 8:55
CyberTech3-May-07 8:55 
QuestionHow to add user to the folder? Pin
Dotnetkanna3-May-07 7:55
Dotnetkanna3-May-07 7:55 
AnswerRe: How to add user to the folder? Pin
Tarakeshwar Reddy3-May-07 8:21
professionalTarakeshwar Reddy3-May-07 8:21 
QuestionKnown issues with WebBrowser control? Pin
engsrini3-May-07 6:46
engsrini3-May-07 6:46 
AnswerRe: Known issues with WebBrowser control? Pin
PIEBALDconsult3-May-07 9:05
mvePIEBALDconsult3-May-07 9:05 
QuestionDeveloping Mobile Phone Applications using C# Pin
Nadia Monalisa3-May-07 5:46
Nadia Monalisa3-May-07 5:46 
AnswerRe: Developing Mobile Phone Applications using C# Pin
Dave Kreskowiak3-May-07 5:54
mveDave Kreskowiak3-May-07 5:54 
QuestionButton.Text has no effect? Pin
User 66583-May-07 5:37
User 66583-May-07 5:37 
AnswerRe: Button.Text has no effect? Pin
Sandeep Akhare3-May-07 5:43
Sandeep Akhare3-May-07 5:43 
AnswerRe: Button.Text has no effect? Pin
Dave Kreskowiak3-May-07 5:53
mveDave Kreskowiak3-May-07 5:53 
GeneralRe: Button.Text has no effect? Pin
Sandeep Akhare3-May-07 6:08
Sandeep Akhare3-May-07 6:08 
GeneralRe: Button.Text has no effect? Pin
Dave Kreskowiak3-May-07 6:35
mveDave Kreskowiak3-May-07 6: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.