Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Alastair Stell8-Sep-02 19:47
Alastair Stell8-Sep-02 19:47 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Joaquín M López Muñoz9-Sep-02 0:01
Joaquín M López Muñoz9-Sep-02 0:01 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Stephane Rodriguez.8-Sep-02 19:13
Stephane Rodriguez.8-Sep-02 19:13 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Ryan Cromwell10-Sep-02 18:56
Ryan Cromwell10-Sep-02 18:56 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Alastair Stell8-Sep-02 20:04
Alastair Stell8-Sep-02 20:04 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
leppie9-Sep-02 1:38
leppie9-Sep-02 1:38 
GeneralRe: Should I start out on C# (no past experiance)...Few questions! Pin
Vipermmx9-Sep-02 4:37
sussVipermmx9-Sep-02 4:37 
GeneralSingle instance problem Pin
Tomji8-Sep-02 10:52
Tomji8-Sep-02 10:52 
So I am a total newbie. Tell me why this doesnt work. I dont know what to do anymore. notice; the second time I click this button the calling App closes and the instance runs anyway

please help




private Mutex m_myMutex = null;


private void button1_Click(object sender, System.EventArgs e)
{
bool blnGotIt;

m_myMutex = new Mutex(true, "aa", out blnGotIt );

if (!blnGotIt) this.Close();

Process aa = new Process();

aa.StartInfo.FileName = "C:\\Winnt\\System32\\calc.exe";

aa.StartInfo.WindowStyle = ProcessWindowStyle.Normal;

aa.Start();

//aa.WaitForExit();

aa.Close();

}

GeneralRe: Single instance problem Pin
yonjuro8-Sep-02 19:28
yonjuro8-Sep-02 19:28 
GeneralRe: Single instance problem Pin
Tomji9-Sep-02 11:11
Tomji9-Sep-02 11:11 
GeneralAvailable Controls Pin
Nnamdi Onyeyiri8-Sep-02 7:27
Nnamdi Onyeyiri8-Sep-02 7:27 
GeneralRe: Available Controls Pin
Stephane Rodriguez.8-Sep-02 7:57
Stephane Rodriguez.8-Sep-02 7:57 
GeneralRe: Available Controls Pin
leppie8-Sep-02 7:58
leppie8-Sep-02 7:58 
GeneralRe: Available Controls Pin
Mazdak8-Sep-02 10:34
Mazdak8-Sep-02 10:34 
QuestionThrowing exception when a property must not be null? Pin
Martin Haesemeyer7-Sep-02 23:56
Martin Haesemeyer7-Sep-02 23:56 
AnswerRe: Throwing exception when a property must not be null? Pin
Paul Riley8-Sep-02 0:33
Paul Riley8-Sep-02 0:33 
GeneralRe: Throwing exception when a property must not be null? Pin
Martin Haesemeyer8-Sep-02 0:39
Martin Haesemeyer8-Sep-02 0:39 
GeneralRe: Throwing exception when a property must not be null? Pin
Paul Riley10-Sep-02 4:50
Paul Riley10-Sep-02 4:50 
GeneralRe: Throwing exception when a property must not be null? Pin
Martin Haesemeyer10-Sep-02 9:56
Martin Haesemeyer10-Sep-02 9:56 
GeneralRe: Throwing exception when a property must not be null? Pin
Paul Riley10-Sep-02 10:10
Paul Riley10-Sep-02 10:10 
AnswerRe: Throwing exception when a property must not be null? Pin
Erik Westermann9-Sep-02 7:43
professionalErik Westermann9-Sep-02 7:43 
GeneralRe: Throwing exception when a property must not be null? Pin
Paul Riley9-Sep-02 9:34
Paul Riley9-Sep-02 9:34 
GeneralRe: Throwing exception when a property must not be null? Pin
Erik Westermann10-Sep-02 4:06
professionalErik Westermann10-Sep-02 4:06 
GeneralRe: Throwing exception when a property must not be null? Pin
Paul Riley10-Sep-02 4:47
Paul Riley10-Sep-02 4:47 
GeneralRe: Throwing exception when a property must not be null? Pin
Erik Westermann10-Sep-02 15:37
professionalErik Westermann10-Sep-02 15:37 

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.