Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }

1 Answers  


How would you stop a class from class from being derived or inherited.

18 Answers   Ness Technologies,


What is oops and its features?

0 Answers  


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


What is advantage of inheritance?

0 Answers  


What is a scope resolution operator?

5 Answers   HP, IBS,


what is the difference between class to class type conversion and copy constructor ?

2 Answers  


tell about copy constructor

3 Answers   Siemens,


Why static functions always uses static variables?

3 Answers  


How to deploy web appliction in web logic ?

1 Answers   Unisys,


how to find no of instances of an object in .NET?

1 Answers   Infosys,


What is encapsulation with example?

0 Answers  


Categories