Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Office 2007 breaks word Automation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331039
Message ID:
01331223
Views:
19
Do you receive this error right away after you re-started your PC on the first attempt to MailMerge or on the second attempt? Do you properly close Word after you're done?

>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform