I tried saving it in C:\documents as well, still no go.
My code is not creating, saving and loading the same file. I manually created a blank file and saved that to disk. Then my code just loads that one to paste the text into, rather than creating a new one to paste into as I had done in the...
Well, after some messing around, I got it to work.
I just made a blank document and stored it on disk. Then I have FoxPro load that document and use it, rather than creating a new one. Works just fine.
Thanks for all the help everyone :)
OK, some new information.
I put in the DOEVENT FORCE command everywhere that Olaf showed, and then stepped through in the debugger.
A new document is created (there is a "Document1" open in Word). Then when I load the file I want to copy pieces from, "Document1" goes away. So it's being...
But like I said, the problem appears to be that the other document is never created.
Is this incorrect?: oWdDestDoc = oWord.Documents.Add()
It has worked in Word 2003 and 2010. In those earlier versions, you would see the new document show up on the taskbar. In 2016, either it's not showing...
Hello,
First post here, but I've been searching the archives and don't see a solution to a problem I'm having.
We have a VFP 9 application that filters a table for all records that have a "selected" field set. It then scans through that filtered table, takes a bookmark name from another field...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.