Results 1 to 11 of 11
  1. #1
    New Lounger
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word97 Add-ins (Word97 SR2)

    I am using Word97 under Windows XP and programatically load & install Word add-ins (templates which hold code modules).

    If I load 2 instances of Word, it appears that the AutoExec code runs twice and performs the function to load & install the add-ins. On some PCs I get the error message 'Compile error in hiden module' , whilst other PCs run without this error.

    I am trying to determine which behaviour is expected. Should each instance of Word & the add-ins run in it's own memory space? Or are the add-ins shared?

    I would like to be able to run 2 instances of Word each with their own set of add-ins to prevent memory conflicts but cannot get this to work consistently on every PC. What should I configure to allow this to happen.

    Thanks.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word97 Add-ins (Word97 SR2)

    Welcome to Woody's Lounge.

    Why do you want to run two instances of Word? Word can open multiple documents in one instance.

  3. #3
    New Lounger
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Add-ins (Word97 SR2)

    Hi!

    I'm trying to allow users to login in to the Citrix server and run their own instance of Word with their own copies of the add-ins.

    I get the compile errors on the Citrix box, but I have been able to run 2 separate instances without memory conflict on my desktop, but don't know why I can do this.
    Is there a registry setting which I need to tweak or has the Word installation become corrupted on the Citrix box?

    David

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word97 Add-ins (Word97 SR2)

    The "compile error in hidden module" message usually includes the name of the offending module; that may give you an idea of the culprit. You can also try removing all add-ins, then add one at a time to see which one causes the error. Also, look at Phil Rabichow's <!post=Systematic Approach to Behavioral Problems in Word (97/2000),197827>Systematic Approach to Behavioral Problems in Word (97/2000)<!/post>, it might help pinpoint the problem. I don't have experience with Citrix systems, so I don't know how much is applicable there.

  5. #5
    New Lounger
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Add-ins (Word97 SR2)

    I know which template is causing the problem. My question is really "why does it not happen all the time on all PCs?"

    Why can I load more than one instance of Word97 with template add-ins unique to each instance? But on another PC I get the memory conflict error message.
    What is the default behaviour for Word? Is there a registry setting I can check to see if it is running in its own memory space?

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word97 Add-ins (Word97 SR2)

    I'm not aware of such a registry setting, but that is not conclusive, of course. Do you try to load exactly the same add-ins on both PC's, or are there add-ins that are only loaded on one of the systems? Are there other differences between the systems? (Windows version, Office version, anti-virus and other protection software, ...)

  7. #7
    New Lounger
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Add-ins (Word97 SR2)

    Exactly the same add-ins on assumed identical corporate build PCs.

    But something is different letting 2 instances of Word run with the add-ins on one PC and not on another.

    Should I always expect to be able to run the 2 instances (with the add-ins) simultaneously?

  8. #8
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word97 Add-ins (Word97 SR2)

    I think that depends on the way the add-ins work. It is possible to run several instances of Word simultabneously, but if an add-in wants to open a specific file exclusively (for example to be able to write to it), you'd get a conflict, and no doubt there are other circumstances that could lead to problems. So you should investigate the add-ins (if possible), in particular code in an AutoExec or Document_Open procedure.

    As I said before, I have no experience with Citrix, so I don't know what that throws into the mix.

  9. #9
    New Lounger
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word97 Add-ins (Word97 SR2)

    Perhaps I should try and simplify the question.

    I have about 10 Template add-ins which all compile correctly.
    Why am I unable to load 2 instances of Word (with the add-ins installed) on the same PC?
    Every time I get the 'compile error in hidden module' message when trying to load the second instance of Word.
    What is preventing each instance of Word having its own copies of the add-ins and operating in its unique memory space?

  10. #10
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word97 Add-ins (Word97 SR2)

    I don't know how we could answer this, since we cannot investigate your setup. It is possible to run two instances of Word, with add-ins loaded. If it fails on some PCs and/or with some add-ins, the cause must be something in those PCs or add-ins.

  11. #11
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Word97 Add-ins (Word97 SR2)

    Perhaps you should try to simplify your setup. What you are trying to do is well beyond the standard setup and loading ten addins (plus Normal, plus attached template, plus document) x 2 instances of the application - it is little wonder that you might be running out of memory on some machines. The fact that you are using Word 97 might be saving some memory but that software is over seven years old and isn't supported very well by MS anymore.

    You mentioned that you know which add-in is causing the problem but you didn't mention what you did to solve the issue with that particular add-in. What did you do?

    Without solving the indicated error, we can only suggest background tasks which may reveal the differences in the installations. Do the problem machines run the Citrix supplied Word application fine if the local version is not running? Do they run the local version fine if Citrix is not going? Are the logon rights the same for all machines? Does it make a difference which instance of the application is started first? Are all instances patched with exactly the same patches? Are the problem machines running other software/processes that make them susceptible to this problem?
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •