Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Application open in user's PC, how to...
Message
From
13/09/2006 13:40:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/09/2006 13:10:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01152901
Message ID:
01153452
Views:
20
>>Interesting. I was going to suggest creating the instance prior to the loop and quitting it after the loop is finished, but other than speed, I didn't see why it would make a difference, so I didn't bother. I guess in 650 creatings and closings, maybe the system can get a bit confused.
>
>Yes, and not only that, but it also closes properly! That is, if the user has MS Word already opened on the desktop prior to running the program. If the user opens it after starting the program, it causes problems.

I've had that with both Word and Excel - if user launches either while VFP has one instance created, it doesn't launch as a new instance, but rather as just another window of VFP's instance. Then when VFP kills it in the end, user's instance also vanishes.

You may try RTF box instead, and use that to convert your texts to RTF files. That'd be more lightweight and easier on the system, and wouldn't clash with anything user may open while it works.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform