adwood
October 29th, 2009, 04:20 AM
Hi Guys,
This is my first post. I'm a somewhat inexperienced C# programmer (I have come from a background of VBA - you have to start somewhere right?) and I'd like to know if its possible to:
i) Check to see if an MS Application is running?
ii) If it is, to close it.
I do have a method of doing this by grabbing a list of running processes, checking if any are the Access application i'm looking for and then killing the Process. However, I was looking for a way to close the Access application use Automation. Any ideas on the best way to do this?
Many thanks,
Ad
This is my first post. I'm a somewhat inexperienced C# programmer (I have come from a background of VBA - you have to start somewhere right?) and I'd like to know if its possible to:
i) Check to see if an MS Application is running?
ii) If it is, to close it.
I do have a method of doing this by grabbing a list of running processes, checking if any are the Access application i'm looking for and then killing the Process. However, I was looking for a way to close the Access application use Automation. Any ideas on the best way to do this?
Many thanks,
Ad