Click here to Skip to main content
15,905,590 members
Home / Discussions / C#
   

C#

 
AnswerRe: Copy Byte [] Pin
leppie17-Jul-08 2:03
leppie17-Jul-08 2:03 
QuestionAttempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
ASysSolvers16-Jul-08 23:03
ASysSolvers16-Jul-08 23:03 
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
leppie17-Jul-08 1:58
leppie17-Jul-08 1:58 
GeneralRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
ASysSolvers17-Jul-08 2:38
ASysSolvers17-Jul-08 2:38 
GeneralRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
leppie17-Jul-08 3:08
leppie17-Jul-08 3:08 
QuestionwebBrowser control Pin
mahmoud wafy16-Jul-08 22:58
mahmoud wafy16-Jul-08 22:58 
AnswerRe: webBrowser control Pin
leppie17-Jul-08 2:02
leppie17-Jul-08 2:02 
QuestionApplication.Exit() Pin
ASysSolvers16-Jul-08 22:50
ASysSolvers16-Jul-08 22:50 
In my application I have restricted to the 2nd instant of application giving below code,
s_Mutex = new Mutex(true, "MyApp");
if (s_Mutex.WaitOne(0, false))
{
Application.Run(new frmSocket());
}
else
{
MessageBox.Show("Another instance is running");
}

Also im using a Logoff button in my application and and have used below code,

System.Windows.Forms.Application.Exit(); System.Diagnostics.Process.Start(System.Windows.Forms.Application.ExecutablePath);

Problem when I press log off button it cause to 2nd instant ans show the message ("Another instance is running")

I want to run appication again beeing restricting 2nd instant.
How ovecome that issue.
AnswerRe: Application.Exit() Pin
Giorgi Dalakishvili16-Jul-08 23:33
mentorGiorgi Dalakishvili16-Jul-08 23:33 
GeneralRe: Application.Exit() Pin
ASysSolvers17-Jul-08 2:34
ASysSolvers17-Jul-08 2:34 
QuestionDatagird issue Pin
Agweet16-Jul-08 22:26
Agweet16-Jul-08 22:26 
AnswerRe: Datagird issue Pin
nelsonpaixao17-Jul-08 12:45
nelsonpaixao17-Jul-08 12:45 
QuestionwebBrowser control Pin
mahmoud wafy16-Jul-08 22:17
mahmoud wafy16-Jul-08 22:17 
Answer[Message Deleted] Pin
stancrm16-Jul-08 22:42
stancrm16-Jul-08 22:42 
GeneralRe: webBrowser control Pin
leppie17-Jul-08 2:05
leppie17-Jul-08 2:05 
AnswerRe: webBrowser control Pin
Luc Pattyn17-Jul-08 3:28
sitebuilderLuc Pattyn17-Jul-08 3:28 
Questionwindows service Pin
arkiboys16-Jul-08 22:10
arkiboys16-Jul-08 22:10 
AnswerRe: windows service Pin
0x3c016-Jul-08 22:43
0x3c016-Jul-08 22:43 
GeneralRe: windows service Pin
arkiboys17-Jul-08 1:20
arkiboys17-Jul-08 1:20 
AnswerRe: windows service Pin
stancrm16-Jul-08 22:50
stancrm16-Jul-08 22:50 
Questionc# Pin
cst_kvp16-Jul-08 21:38
cst_kvp16-Jul-08 21:38 
AnswerRe: c# Pin
J4amieC16-Jul-08 22:18
J4amieC16-Jul-08 22:18 
AnswerRe: c# Pin
Giorgi Dalakishvili16-Jul-08 22:25
mentorGiorgi Dalakishvili16-Jul-08 22:25 
AnswerRe: c# Pin
sumit703416-Jul-08 23:24
sumit703416-Jul-08 23:24 
AnswerRe: c# Pin
nelsonpaixao17-Jul-08 12:54
nelsonpaixao17-Jul-08 12:54 

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.