-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: _RockStarOf70s
Message 2 in Discussion



try using GetProcessByName function of
the Process class. it will return an array of process objects of the process
which match the name you have passed to this function. You can check, if
the returned array has zero length, then there must be no open instances
of that process.

Parag








"ajjoshi" <[EMAIL PROTECTED]>


28/09/2004 02:45 PM



Please respond to

"MumbaiUserGroup" <[EMAIL PROTECTED]>






To
<[EMAIL PROTECTED]>,
"'MumbaiUserGroup'" <[EMAIL PROTECTED]>


cc



Subject
How to find an instance of
a program













-----------------------------------------------------------



New Message on MumbaiUserGroup



-----------------------------------------------------------

From: ajjoshi

Message 1 in Discussion













Hi Guys,<o:p></o:p>





I have a doubt.<o:p></o:p>





If I try to use MS Word or MS Excel from Dot Net, all the

instances should be closed.<o:p></o:p>





How can I find from within the code, if any instance is

there or not?<o:p></o:p>





Anand J Joshi







<o:p></o:p>





<o:p> </o:p>











-----------------------------------------------------------



To stop getting this e-mail, or change how often it arrives, go to your
E-mail Settings.

http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw



Need help? If you've forgotten your password, please go to Passport Member
Services.

http://groups.msn.com/_passportredir.msnw?ppmprop=help



For other questions or feedback, go to our Contact Us page.

http://groups.msn.com/contact



If you do not want to receive future e-mail from this MSN group, or if
you received this message by mistake, please click the "Remove"
link below. On the pre-addressed e-mail message that opens, simply click
"Send". Your e-mail address will be deleted from this group's
mailing list.

mailto:[EMAIL PROTECTED]





-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to