By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

Detect if a word application is running

P: n/a
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 Filename:=DocumentPath, ReadOnly:=False

For every COM+ operation, the program will create a word instance and then
write data, and the performance is poor.
Is there any method in VB to detect if a Word Application is running, and
use that application instead of create a new one?

Thx all of you!

Regards,
Norotn
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Howdy

This Url should prove useful.

http://msdn.microsoft.com/library/de...WordObject.asp

Richard
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.