Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
QuestionDynamic Form Pin
eddieangel5-Mar-10 9:21
eddieangel5-Mar-10 9:21 
AnswerRe: Dynamic Form Pin
BryanWilkins5-Mar-10 9:58
professionalBryanWilkins5-Mar-10 9:58 
AnswerRe: Dynamic Form Pin
MollyTheCoder5-Mar-10 10:11
MollyTheCoder5-Mar-10 10:11 
QuestionHow to: Launch an application and embed it into a dockable window? Pin
Shmulik285-Mar-10 9:06
Shmulik285-Mar-10 9:06 
AnswerRe: How to: Launch an application and embed it into a dockable window? Pin
DaveyM695-Mar-10 9:16
professionalDaveyM695-Mar-10 9:16 
GeneralRe: How to: Launch an application and embed it into a dockable window? Pin
Giorgi Dalakishvili6-Mar-10 2:49
mentorGiorgi Dalakishvili6-Mar-10 2:49 
QuestionDisable DataGridViewTextBoxCell Right Click Menu Pin
potatoe915-Mar-10 8:49
potatoe915-Mar-10 8:49 
QuestionProgram inter-instance communication? Pin
Matthew Klein5-Mar-10 8:00
Matthew Klein5-Mar-10 8:00 
Hello!

I am looking for a way to have one instance of my program talk to another.

I only want one instance of the program open at a time, so I’ve set up a mutex to restrict access. My program also allows the user to launch different froms in the program by using command line arguments. If the user launches a new instance of the program with command line parameters I would like the second instance (the once just launched) to pass the arguments to the first instance, then the second instance will close.

I was wondering if I could store a pointer to the first instance of my program somewhere that could be retrieved by the second? Maybe from the Mutex or something similar, but I haven’t had any luck finding a way to do this.

Thank you all in advance!
AnswerRe: Program inter-instance communication? Pin
kevinnicol5-Mar-10 8:34
kevinnicol5-Mar-10 8:34 
AnswerRe: Program inter-instance communication? Pin
Matthew Klein5-Mar-10 8:50
Matthew Klein5-Mar-10 8:50 
QuestionHow to access PointInLink() for a LinkLabel [modified] Pin
swo.priv5-Mar-10 7:38
swo.priv5-Mar-10 7:38 
QuestionHow to get the exact File the User Click on?? Pin
Britt Mills5-Mar-10 5:07
Britt Mills5-Mar-10 5:07 
AnswerRe: How to get the exact File the User Click on?? Pin
Luc Pattyn5-Mar-10 5:18
sitebuilderLuc Pattyn5-Mar-10 5:18 
GeneralRe: How to get the exact File the User Click on?? Pin
Britt Mills5-Mar-10 5:28
Britt Mills5-Mar-10 5:28 
GeneralRe: How to get the exact File the User Click on?? Pin
Luc Pattyn5-Mar-10 5:36
sitebuilderLuc Pattyn5-Mar-10 5:36 
GeneralRe: How to get the exact File the User Click on?? Pin
Britt Mills5-Mar-10 6:10
Britt Mills5-Mar-10 6:10 
QuestionVoice Enabled System Pin
amitk_1895-Mar-10 4:55
amitk_1895-Mar-10 4:55 
AnswerRe: Voice Enabled System Pin
Not Active5-Mar-10 5:04
mentorNot Active5-Mar-10 5:04 
GeneralRe: Voice Enabled System Pin
amitk_1895-Mar-10 5:13
amitk_1895-Mar-10 5:13 
GeneralRe: Voice Enabled System Pin
Not Active5-Mar-10 5:17
mentorNot Active5-Mar-10 5:17 
GeneralRe: Voice Enabled System Pin
amitk_1895-Mar-10 5:20
amitk_1895-Mar-10 5:20 
GeneralRe: Voice Enabled System Pin
Keith Barrow5-Mar-10 5:33
professionalKeith Barrow5-Mar-10 5:33 
AnswerRe: Voice Enabled System Pin
Keith Barrow5-Mar-10 5:14
professionalKeith Barrow5-Mar-10 5:14 
GeneralRe: Voice Enabled System Pin
amitk_1895-Mar-10 5:16
amitk_1895-Mar-10 5:16 
GeneralRe: Voice Enabled System Pin
Not Active5-Mar-10 5:18
mentorNot Active5-Mar-10 5:18 

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.