Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Application open in user's PC, how to...
Message
De
13/09/2006 13:56:07
 
 
À
13/09/2006 13:40:03
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01152901
Message ID:
01153455
Vues:
22
>>>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.

Thanks for your suggestion, how may I find more information on RTF box? The documents need to be password-protected. I didn't add in the code sample that it'd be individually password-protected.
Thanks!
~d
J
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform