However, looking at our code, this seems extremely unlikely. After adding further logging for the open flags and another incident, it turns out this was correct. Haven't found out yet which weird code path leads to this, but this just goes to show: Never trust your own code. Oh, and btw. How are we doing? Please help us improve Stack Overflow.
Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 11 years, 1 month ago. Active 7 years, 4 months ago. Viewed 9k times. If these are modified before the file is opened, then we never get to WriteFile because opening the file will fail.
Note : To additionally clarify the context of this question: The file was open , therefore it can't be a directory or somesuch All tests I performed indicate that while the file is open it cannot be deleted, so the file should still have been there on the call to WriteFile The file is located on a local drive and not on a network drive. Improve this question. Community Bot 1 1 1 silver badge. If it still not works, maybe you can try to repair your office Hope that helps. I tried both the options mentioned by you.
But none of them seems to be working. I have to reinstall Office it seems. Office Office Exchange Server. Not an IT pro? Sign in. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Asked by:.
Archived Forums. Word IT Pro Discussions. This forum is for general questions and feedback related to Word all versions as they pertain to the IT Pro community.
I have a user who is using Word When she tries to open a document she gets error message as. Error caught at file connect. Contact technical support if this error persist". First, try to start Word in safe mode [hold ctrl key while startup] to see if this error goes away. Also try to rename your normal. Double click on My Computer.
Click on the Tools menu in the top menu bar. Click on Folder Options Click on the View Tab. Click on the little button next to " Show hidden files and folders " in the Advanced Settings box. Click OK. Double click on Local Disk C:.
Double click on the Documents and Settings folder. Double click on the folder with your user name. Double click on Application Data. That folder will be dimmed.
0コメント