Welcome to Dream.In.Code
Become a C# Expert!

Join 150,357 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,881 people online right now. Registration is fast and FREE... Join Now!




how to get current running word applications with C#

 
Reply to this topicStart new topic

how to get current running word applications with C#, C# and ASP.net

sundar.arinos
2 Mar, 2008 - 10:43 PM
Post #1

New D.I.C Head
*

Joined: 30 Jan, 2008
Posts: 2

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.
User is offlineProfile CardPM
+Quote Post

sundar.arinos
RE: How To Get Current Running Word Applications With C#
2 Mar, 2008 - 10:51 PM
Post #2

New D.I.C Head
*

Joined: 30 Jan, 2008
Posts: 2

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]
User is offlineProfile CardPM
+Quote Post

bhandari
RE: How To Get Current Running Word Applications With C#
2 Mar, 2008 - 11:07 PM
Post #3

D.I.C Addict
Group Icon

Joined: 31 Jan, 2008
Posts: 747


Dream Kudos: 900
My Contributions
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!!!
User is offlineProfile CardPM
+Quote Post

davegeek
RE: How To Get Current Running Word Applications With C#
3 Mar, 2008 - 03:14 AM
Post #4

D.I.C Head
Group Icon

Joined: 30 Jan, 2008
Posts: 81



Thanked: 2 times
My Contributions
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.
User is offlineProfile CardPM
+Quote Post

zakary
RE: How To Get Current Running Word Applications With C#
3 Mar, 2008 - 07:48 AM
Post #5

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 420



Thanked: 8 times
Dream Kudos: 175
My Contributions
read up on System.Diagnostics in the .NET or MSDN library it should help you figure out what you are doing.
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: How To Get Current Running Word Applications With C#
3 Mar, 2008 - 07:57 AM
Post #6

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
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 smile.gif
User is offlineProfile CardPM
+Quote Post

zakary
RE: How To Get Current Running Word Applications With C#
3 Mar, 2008 - 08:18 AM
Post #7

D.I.C Regular
Group Icon

Joined: 15 Feb, 2005
Posts: 420



Thanked: 8 times
Dream Kudos: 175
My Contributions
System.Diagnostics will help you get running applications
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 01:12PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month