PC Review


Reply
Thread Tools Rate Thread

Detect if a word application is running

 
 
Norton
Guest
Posts: n/a
 
      20th Jul 2004
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


 
Reply With Quote
 
 
 
 
Richard Myers
Guest
Posts: n/a
 
      20th Jul 2004
Howdy

This Url should prove useful.

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

Richard


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can my application detect if it is running in a Terminal Services client session? Alek Luchnikov Microsoft Access 1 13th Feb 2008 04:15 PM
How can my application detect if it is running in a Terminal Services client session? Alek Luchnikov Microsoft Access Getting Started 0 13th Feb 2008 12:36 PM
How do I detect if my .net application is running in 64 bit mode Martijn Boven Microsoft C# .NET 4 21st Aug 2006 03:26 PM
Procedure to detect if an application is running =?Utf-8?B?QmlsbA==?= Microsoft Excel Programming 1 2nd Nov 2004 03:20 AM
Procedure to detect a running application and to register it. =?Utf-8?B?TWVtb3JpZXN3bQ==?= Microsoft Excel Programming 1 1st Nov 2004 09:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:44 AM.