Word-addin for antique version of Word 97
Sorry to bother you guys again, but I finally got the Zotero Word Addin to work with Word 97.
At least to some degree.
The addin code expects a function called "Replace" which is missing in VBA5 (newer versions of Word come with VBA6 or newer) and I found this function online and copied it to a module in the zotero.dot file and that's why it now works to some degree in Word 97.
The strange thing is, it doesn't really work that well.
Not that this would be strange, after all, it's not supported which I can fully understand but what's strange is the way it doesn't work.
Let's say I add a few intext-citations in Word, works just fine and then when I try to add yet another citation I get an error message saying that the zot2.tmp file is in use by another user and if I would like to create a copy of the file instead, no matter if I click on yes or cancel, that's where the addin stops working. When I click on Cancel I get another error message saying that Zotero experienced an error updating my document and it also complains about something that went wrong with [setText:filed:cpp], whatever that means.
I assume that the temporary zot*.tmp file (* stands for a number or a letter) which Word wants to access is created by the Zotero application and something goes wrong but why does it actually work sometimes until something goes wrong?
Shouldn't it need access to this file right away? that makes no sense to me.
At least to some degree.
The addin code expects a function called "Replace" which is missing in VBA5 (newer versions of Word come with VBA6 or newer) and I found this function online and copied it to a module in the zotero.dot file and that's why it now works to some degree in Word 97.
The strange thing is, it doesn't really work that well.
Not that this would be strange, after all, it's not supported which I can fully understand but what's strange is the way it doesn't work.
Let's say I add a few intext-citations in Word, works just fine and then when I try to add yet another citation I get an error message saying that the zot2.tmp file is in use by another user and if I would like to create a copy of the file instead, no matter if I click on yes or cancel, that's where the addin stops working. When I click on Cancel I get another error message saying that Zotero experienced an error updating my document and it also complains about something that went wrong with [setText:filed:cpp], whatever that means.
I assume that the temporary zot*.tmp file (* stands for a number or a letter) which Word wants to access is created by the Zotero application and something goes wrong but why does it actually work sometimes until something goes wrong?
Shouldn't it need access to this file right away? that makes no sense to me.
We're not really going to provide support for this, but feel free to try and get it work. If you want to try to build the plugin yourself and have questions, please post on the mailing list and we might be able to help.
But maybe I could post the same question in the other forum even though all I could provide is the zotero.dot with the missing function added as a module.
Unfortunately I don't know much about VBA or programming. It was pure luck that I happened to find the right code to add the missing function.
..