Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionADO.NET Entity Framework Pin
Pankaj Saha27-Oct-09 1:27
Pankaj Saha27-Oct-09 1:27 
AnswerRe: ADO.NET Entity Framework Pin
Not Active27-Oct-09 2:12
mentorNot Active27-Oct-09 2:12 
Questionactive single instance only Pin
reza assar27-Oct-09 1:24
reza assar27-Oct-09 1:24 
AnswerRe: active single instance only Pin
N a v a n e e t h27-Oct-09 1:28
N a v a n e e t h27-Oct-09 1:28 
GeneralRe: active single instance only Pin
Hristo-Bojilov27-Oct-09 1:58
Hristo-Bojilov27-Oct-09 1:58 
GeneralRe: active single instance only Pin
N a v a n e e t h27-Oct-09 2:10
N a v a n e e t h27-Oct-09 2:10 
GeneralRe: active single instance only Pin
Hristo-Bojilov27-Oct-09 2:22
Hristo-Bojilov27-Oct-09 2:22 
GeneralRe: active single instance only Pin
Luc Pattyn27-Oct-09 4:16
sitebuilderLuc Pattyn27-Oct-09 4:16 
Hi,

I haven't used the managed mutex class yet, however it seems to me the MutexSecurity parameter in one of the constructors should be the key to solving the problems you've had.

Anyway, relying on GetProcessesByName() does not seem right as:
1. when a user renames an EXE, the resulting process would also be getting a different name;
2. I expect the Process methods also can fail when you have insufficient rights.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


AnswerRe: active single instance only Pin
anishkannan27-Oct-09 1:47
anishkannan27-Oct-09 1:47 
AnswerRe: active single instance only Pin
vtchris-peterson28-Oct-09 5:43
vtchris-peterson28-Oct-09 5:43 
GeneralRe: active single instance only Pin
reza assar9-Nov-09 18:41
reza assar9-Nov-09 18:41 
GeneralRe: active single instance only Pin
vtchris-peterson10-Nov-09 3:42
vtchris-peterson10-Nov-09 3:42 
QuestionHow to Avoid  in Excel while writing through C# Pin
Bharti Vermani27-Oct-09 1:19
Bharti Vermani27-Oct-09 1:19 
AnswerRe: How to Avoid  in Excel while writing through C# Pin
Gideon Engelberth27-Oct-09 3:23
Gideon Engelberth27-Oct-09 3:23 
GeneralRe: How to Avoid  in Excel while writing through C# Pin
Bharti Vermani27-Oct-09 19:18
Bharti Vermani27-Oct-09 19:18 
GeneralRe: How to Avoid  in Excel while writing through C# Pin
Bharti Vermani27-Oct-09 19:26
Bharti Vermani27-Oct-09 19:26 
GeneralRe: How to Avoid  in Excel while writing through C# Pin
bali40628-Jul-10 15:49
bali40628-Jul-10 15:49 
QuestionSQL Connection Problem Pin
Emmet_Brown27-Oct-09 0:50
Emmet_Brown27-Oct-09 0:50 
AnswerRe: SQL Connection Problem Pin
spiritboy27-Oct-09 1:01
spiritboy27-Oct-09 1:01 
GeneralRe: SQL Connection Problem Pin
J4amieC27-Oct-09 1:05
J4amieC27-Oct-09 1:05 
AnswerRe: SQL Connection Problem Pin
J4amieC27-Oct-09 1:05
J4amieC27-Oct-09 1:05 
AnswerRe: SQL Connection Problem Pin
Emmet_Brown27-Oct-09 1:13
Emmet_Brown27-Oct-09 1:13 
QuestionMy custom control can´t get out from the GroupBox it belongs... Pin
the_savage_poetry27-Oct-09 0:47
the_savage_poetry27-Oct-09 0:47 
Questionlistbox selectedvaluechanged event fires programmaticlly !!! [modified] Pin
Hussam Fattahi27-Oct-09 0:47
Hussam Fattahi27-Oct-09 0:47 
AnswerRe: listbox selectedvaluechanged event fires programmaticlly !!! Pin
Henry Minute27-Oct-09 4:58
Henry Minute27-Oct-09 4:58 

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.