6 Replies - 10390 Views - Last Post: 03 March 2008 - 09:18 AM Rate Topic: -----

#1 sundar.arinos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 30-January 08

how to get current running word applications with C#

Posted 02 March 2008 - 11:43 PM

hi. i am doing a small application project in c#. can any one help me how to get current running word applications that like that (windows task manager application)
to find the directory of the current running program.
Is This A Good Question/Topic? 0
  • +

Replies To: how to get current running word applications with C#

#2 sundar.arinos  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 30-January 08

Re: how to get current running word applications with C#

Posted 02 March 2008 - 11:51 PM

hi,

I am doing a small application project in c#. can any one help me how to get current running word applications that like (windows task manager -- applications)using C# and Asp.net ..........

to find the directory of the current running program.


regards

Sundar[color=#660000]
Was This Post Helpful? 0
  • +
  • -

#3 bhandari  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 9
  • View blog
  • Posts: 754
  • Joined: 31-January 08

Re: how to get current running word applications with C#

Posted 03 March 2008 - 12:07 AM

follow </DIC> policy. We don't just help without you putting in some effort. Try writing some thing and show us and we can correct the mistakes!!!
Was This Post Helpful? 0
  • +
  • -

#4 davegeek  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 81
  • Joined: 30-January 08

Re: how to get current running word applications with C#

Posted 03 March 2008 - 04:14 AM

I think that u gotta google more:

Link1
Link2
Link3
Link3

It took me 1 min to get those links, so u can do the same.
If u wanna ask some specific question, please post your code snippets.
Was This Post Helpful? 0
  • +
  • -

#5 zakary  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 27
  • View blog
  • Posts: 427
  • Joined: 15-February 05

Re: how to get current running word applications with C#

Posted 03 March 2008 - 08:48 AM

read up on System.Diagnostics in the .NET or MSDN library it should help you figure out what you are doing.
Was This Post Helpful? 0
  • +
  • -

#6 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: how to get current running word applications with C#

Posted 03 March 2008 - 08:57 AM

There is a snippet here on DIC that will show you how to loop through your Task Manager to see if a certain process (or application) is running. As zakary, this snippet uses the System.Diagnostics Namespace. That should help you get started :)
Was This Post Helpful? 0
  • +
  • -

#7 zakary  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 27
  • View blog
  • Posts: 427
  • Joined: 15-February 05

Re: how to get current running word applications with C#

Posted 03 March 2008 - 09:18 AM

System.Diagnostics will help you get running applications
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1