Click here to Skip to main content
15,907,913 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help with mutex, cannot get mutex to work Pin
Dave Kreskowiak8-May-13 8:10
mveDave Kreskowiak8-May-13 8:10 
You don't call OpenExisting on the Mutex object. You simple try to create a new instance of the Mutex with the same name. If the object is created, it's the only one in the system. If the create fails, then you know you're not the first instance to run.

You don't create the Mutex in the Catch block. By the time you get there, you never created a mutex in the first place.

GeneralRe: Help with mutex, cannot get mutex to work Pin
turbosupramk38-May-13 8:31
turbosupramk38-May-13 8:31 
GeneralRe: Help with mutex, cannot get mutex to work Pin
Jasmine25018-May-13 8:35
Jasmine25018-May-13 8:35 
GeneralRe: Help with mutex, cannot get mutex to work Pin
Dave Kreskowiak8-May-13 8:53
mveDave Kreskowiak8-May-13 8:53 
GeneralRe: Help with mutex, cannot get mutex to work Pin
turbosupramk310-May-13 1:58
turbosupramk310-May-13 1:58 
GeneralRe: Help with mutex, cannot get mutex to work Pin
Dave Kreskowiak10-May-13 2:17
mveDave Kreskowiak10-May-13 2:17 
Questionlogin authentication Pin
geo thomas8-May-13 0:08
professionalgeo thomas8-May-13 0:08 
AnswerRe: login authentication Pin
Sivaraman Dhamodharan8-May-13 0:22
Sivaraman Dhamodharan8-May-13 0:22 
GeneralRe: login authentication Pin
geo thomas8-May-13 0:30
professionalgeo thomas8-May-13 0:30 
GeneralRe: login authentication Pin
Dave Kreskowiak8-May-13 2:05
mveDave Kreskowiak8-May-13 2:05 
GeneralRe: login authentication Pin
geo thomas8-May-13 20:06
professionalgeo thomas8-May-13 20:06 
GeneralRe: login authentication Pin
Dave Kreskowiak9-May-13 1:37
mveDave Kreskowiak9-May-13 1:37 
GeneralRe: login authentication Pin
geo thomas9-May-13 19:00
professionalgeo thomas9-May-13 19:00 
Questionrunning asp.net website in a windows application Pin
mrkeivan7-May-13 22:25
mrkeivan7-May-13 22:25 
AnswerRe: running asp.net website in a windows application Pin
Dave Kreskowiak8-May-13 2:06
mveDave Kreskowiak8-May-13 2:06 
AnswerRe: running asp.net website in a windows application Pin
Abhinav S8-May-13 21:22
Abhinav S8-May-13 21:22 
QuestionIIS security settings and different permission Pin
ashabhatt27077-May-13 19:52
ashabhatt27077-May-13 19:52 
SuggestionRe: IIS security settings and different permission Pin
Richard MacCutchan7-May-13 21:14
mveRichard MacCutchan7-May-13 21:14 
Questionsave time with the desired date Pin
demoninside97-May-13 18:38
demoninside97-May-13 18:38 
AnswerRe: save time with the desired date Pin
demoninside97-May-13 20:05
demoninside97-May-13 20:05 
AnswerRe: save time with the desired date Pin
Richard MacCutchan7-May-13 21:06
mveRichard MacCutchan7-May-13 21:06 
QuestionUser defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
PozzaVecia7-May-13 11:02
PozzaVecia7-May-13 11:02 
AnswerRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
Dave Kreskowiak7-May-13 15:10
mveDave Kreskowiak7-May-13 15:10 
AnswerRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
PozzaVecia7-May-13 18:48
PozzaVecia7-May-13 18:48 
GeneralRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
Dave Kreskowiak8-May-13 2:14
mveDave Kreskowiak8-May-13 2:14 

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.