Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

Synchronise processes between Word and another program that uses OLE.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcel - 13 Dec 2004 13:38 GMT
Hi,

I'm programming in a NON Microsoft program that does support OLE. Now I can
create macros on the fly and start these macros in Word from this program.
But I have a problem with the syncronisation of the two. Word takes its time
for some processes and I can't detect how long this last or detect when Word
is ready. Is there a kind of thread or event stack that I can monitor?

Does sombody know a solution?

Regards,

Marcel
Jonathan West - 13 Dec 2004 16:03 GMT
> Hi,
>
[quoted text clipped - 6 lines]
>
> Does sombody know a solution?

The only thing I can think of is to have the Word macro set a flag of some
sort at the end of the macro which you can periodically check. For instance,
create a small text file on completion ofthe task.

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup

Marcel - 13 Dec 2004 18:25 GMT
>> Hi,
>>
[quoted text clipped - 10 lines]
> sort at the end of the macro which you can periodically check. For
> instance, create a small text file on completion ofthe task.

Hello Jonathan,

Your solution is simple and will sufice.

Thanks,

Marcel

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.