Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem whit Combo-Box Pin
Eddy Vluggen16-Feb-09 10:56
professionalEddy Vluggen16-Feb-09 10:56 
QuestionInherit Process Pin
Xmen Real 16-Feb-09 7:31
professional Xmen Real 16-Feb-09 7:31 
AnswerRe: Inherit Process Pin
Eddy Vluggen16-Feb-09 7:43
professionalEddy Vluggen16-Feb-09 7:43 
GeneralRe: Inherit Process Pin
Xmen Real 16-Feb-09 7:49
professional Xmen Real 16-Feb-09 7:49 
GeneralRe: Inherit Process Pin
Eddy Vluggen16-Feb-09 8:10
professionalEddy Vluggen16-Feb-09 8:10 
AnswerRe: Inherit Process Pin
Luc Pattyn16-Feb-09 8:42
sitebuilderLuc Pattyn16-Feb-09 8:42 
GeneralRe: Inherit Process Pin
Xmen Real 16-Feb-09 13:47
professional Xmen Real 16-Feb-09 13:47 
AnswerRe: Inherit Process Pin
Luc Pattyn16-Feb-09 13:55
sitebuilderLuc Pattyn16-Feb-09 13:55 
Hi,

yes it should be static, it is not using any instance members of the XProcess class.

Two comments:

1.
if that happens to be the only method in the class, no need to inherit from Process.

2.
what do you want to happen when two or more processes exist by that name? at the moment (i.e. the last code shown) you get none of them...

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


modified on Sunday, June 12, 2011 8:12 AM

GeneralRe: Inherit Process [modified] Pin
Xmen Real 16-Feb-09 18:55
professional Xmen Real 16-Feb-09 18:55 
AnswerRe: Inherit Process Pin
Luc Pattyn16-Feb-09 19:08
sitebuilderLuc Pattyn16-Feb-09 19:08 
GeneralRe: Inherit Process Pin
Xmen Real 16-Feb-09 19:10
professional Xmen Real 16-Feb-09 19:10 
AnswerInvalidCastException Pin
Luc Pattyn17-Feb-09 2:57
sitebuilderLuc Pattyn17-Feb-09 2:57 
GeneralRe: InvalidCastException Pin
Xmen Real 17-Feb-09 3:03
professional Xmen Real 17-Feb-09 3:03 
QuestionA problem with wmp.dll Pin
Sokka9316-Feb-09 5:47
Sokka9316-Feb-09 5:47 
QuestionC# read of xls file works on Vista home premium but not XP Pro, Vista Business or 2003 server. [modified] Pin
mid_life_crisis16-Feb-09 5:38
mid_life_crisis16-Feb-09 5:38 
AnswerRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 8:04
MickCurley16-Feb-09 8:04 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 10:37
mid_life_crisis16-Feb-09 10:37 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 10:48
mid_life_crisis16-Feb-09 10:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 12:48
MickCurley16-Feb-09 12:48 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis16-Feb-09 16:14
mid_life_crisis16-Feb-09 16:14 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
MickCurley16-Feb-09 21:16
MickCurley16-Feb-09 21:16 
GeneralRe: C# read of xls file works on Vista home preium but not XP Pro, Vista Business or 2003 server. Pin
mid_life_crisis17-Feb-09 2:26
mid_life_crisis17-Feb-09 2:26 
QuestionListBox Control - using DisplayMember and ValueMember Pin
divinyl16-Feb-09 5:34
divinyl16-Feb-09 5:34 
AnswerRe: ListBox Control - using DisplayMember and ValueMember Pin
Xmen Real 16-Feb-09 7:45
professional Xmen Real 16-Feb-09 7:45 
QuestionDrag&Drop over RichTextBox showing wrong DropEffect Pin
mav.northwind16-Feb-09 5:18
mav.northwind16-Feb-09 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.