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

C#

 
AnswerRe: Form events Pin
nelsonpaixao17-Jul-08 12:35
nelsonpaixao17-Jul-08 12:35 
QuestionWinsockClass - GetData Method is not working Pin
onakar16-Jul-08 23:07
onakar16-Jul-08 23:07 
AnswerRe: WinsockClass - GetData Method is not working Pin
leppie17-Jul-08 1:51
leppie17-Jul-08 1:51 
QuestionCopy Byte [] Pin
half-life16-Jul-08 23:05
half-life16-Jul-08 23:05 
AnswerRe: Copy Byte [] Pin
originSH16-Jul-08 23:22
originSH16-Jul-08 23:22 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 3:26
half-life17-Jul-08 3:26 
AnswerRe: Copy Byte [] Pin
DaveyM6916-Jul-08 23:25
professionalDaveyM6916-Jul-08 23:25 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 0:42
half-life17-Jul-08 0:42 
GeneralRe: Copy Byte [] Pin
Guffa17-Jul-08 1:33
Guffa17-Jul-08 1:33 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 5:32
half-life17-Jul-08 5:32 
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 

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.