473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Detect Word is running

How do I detect MS Word is already running?
Feb 1 '07 #1
2 1571
On 1 feb, 04:35, "Alan T" <alanpltseNOS...@yahoo.com.auwrote:
How do I detect MS Word is already running?
hi
check the process running on OS, and look is anyone is the winword.exe

Feb 1 '07 #2
On Feb 1, 4:29 pm, "Horacio Nuñez Hernández" <hnh12...@gmail.com>
wrote:
On 1 feb, 04:35, "Alan T" <alanpltseNOS...@yahoo.com.auwrote:
How do I detect MS Word is already running?

hi
check the process running on OS, and look is anyone is the winword.exe
Here is a code snippet that may help:
//using System.Diagnostics;
Process p = Process.GetProcessById(nProcessID);
string sProcess = p.ProcessName;

Feb 1 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Stephane Belzile | last post by:
Is there a way I can detect in vb.Net the power has switched to a UPS unit in case of power failure? Thanks
0
by: Ana | last post by:
Hi! I have problems with the following scenario: My application is developed using C# under .NET. It must run on all Windows versions starting from Windows 98. The user must open different...
6
by: Ana | last post by:
Hi! I have problems with the following scenario: My application is developed using C# under .NET. It must run on all Windows versions starting from Windows 98. The user must open different...
1
by: Norton | last post by:
Hi All, I have a COM+ application which will get data from database and then export as word file. eg. Set oWordApp = CreateObject("Word.Application") oWordApp.Documents.Open...
1
by: mjobbe | last post by:
Hi, I'm creating an MSI for a client app using a Visual Studio Setup Project. I'm trying to detect if Internet Explorer is running on the target computer before I start the installation. How do I...
2
by: donkeybreath | last post by:
1. Load a html document into flash 2. add words from this html doc to an array or list by clicking on them 3. High lite these words one at a time with events 4. signal user to click on a word in...
0
by: donkeybreath | last post by:
1. Load a html or pdf document into vb 2. add words from this html or pdf doc to an array or list by clicking on them 3. High lite these words one at a time with events 4. signal user to click on...
5
by: Moham12345 | last post by:
How can i detect if there is more then capital letter in a word?
1
by: David C | last post by:
I have an ASP.Net page that displays documents as hyperlinks from a network folder (intranet application). I also have a column that contains a hyperlink to open the document in Microsoft Word. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.