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.


  • edited January 31, 2018
    The plugin creates temporary RTF files when inserting rich-text (bibliographies or any citations with non ASCII characters) and it seems that it is failing to access or remove them.

    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.
  • I didn't expect support for such an old word processor, I just thought it can't hurt to ask anyway.

    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.

    ..
  • The same people answering questions on our dev mailing list also read and answer questions here. We just keep development and user discussions separate. Unless you plan on working on this yourself, we won't be able to help you further.
  • Well, I'd be willing to work on this myself, only problem is, I don't have any programming skills other than recording macros in Word and trying to figure out what the code does but if someone knows more and has some ideas on what code to change I could try that.

Sign In or Register to comment.