when my application exe is running nad i don't want to
create another exe what should i do

Answers were Sorted based on User's Feedback



when my application exe is running nad i don't want to create another exe what should i do..

Answer / ramachandran

We can use mutex to avoid one more creation.

Is This Answer Correct ?    1 Yes 0 No

when my application exe is running nad i don't want to create another exe what should i do..

Answer / s. elaiyaraja.s

In form load even we write the code to check the previous
instance running or not. If previous instance exists show
the message and exit the form.

Use System.Diagnostics namespace for find the running
previous instance.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

Name a typical usage of polymorphism

3 Answers  


What is a friend function & its advantage?

1 Answers   MIT,


What is multiple inheritance? Give Example

6 Answers   Mind Tree,


What does it mean when someone says I oop?

1 Answers  


How can we use the preprocessor #if and #elseif.

2 Answers  


Which is the only operator in C++ which can be overloaded but NOT inherited?

8 Answers  


WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

1 Answers  


what is the difference between virtual function and destoctor?

1 Answers  


Is html an oop?

1 Answers  


What is object and example?

1 Answers  


what is meant by files?

4 Answers   Infosys,


What is multiple inheritance?

9 Answers   TCS,


Categories