Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Office 2007 breaks word Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01331039
Message ID:
01331220
Vues:
27
It's funny that all blogs or tech references I go to say the same thing, "someone else has it open". This process is in my development folder, no one would have it open. Word2007 will not turn loose of it and displays a prompt "File in Use" with 3 radio choices. Nobody has responded to this issue or recognizes it. Where are the automation guru's?

Something in the Office or Word 2007 environment has a lock on it. I need to find the property that allows control of the result of that prompt or stop it all together. There are 3 options, 2 leave the doc suspended and the 3rd allows the process to continue. I can't remember the exact words of the 3rd are, but something like "wait until the doc is available to continue". I have search the document model until I am about to loose what hair I have left.

I do appreciate you trying Naomi

>>yes it is, but then do what? I use the Debugger and manually close it, then an error message "RPc server is unavailable" and this process is hosed.
>>
>
>Did you test that sData file is used before attempting MailMerge? If you can not open it with fopen(), it means the file is already used. I don't know if this presents a problem (apparently it does) and how can you free the file if it's used by someone else, for example. If you're a Network Admin, you would be able to do this, but I don't know how to do this programmatically from VFP program.
Extreme Programming = Plan -> Design -> Code -> Test
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform