Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Jan 2001
    Location
    Oslo, Norway
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    VB error 5097 (Word 2000 Norwegian)

    When using some of our old templates (originally produced for Word97) and the Word program installed on our Citrix Terminal Server, we suddenly get the "VB error 5097, not enough memory" when trying to save a document. If we close the Word program and save the document at the same time (answer Yes to the save question) everything is allright. When we try to save the document without closing Word, the VB error message pops up.

    Has anybody encountered this problem before? I think the macros in one of the startup templates produces this error message, but I don't know for sure. And I don't know where to start looking for the "bad programming" in the template.

    <img src=/S/cool.gif border=0 alt=cool width=15 height=15>

    Toril Kagnes
    Statnett SF in Norway

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    New Hampshire, USA
    Posts
    3,386
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB error 5097 (Word 2000 Norwegian)

    I do not recall ever seeing error code 5097.

    But, it is easy enough for a bug, or problem with code design, to cause "not enough memory".
    This type of problem is often difficult to find.
    Requires looking at the details of the code, for a start.

  3. #3
    Lounger
    Join Date
    Jan 2001
    Location
    Oslo, Norway
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB error 5097 (Word 2000 Norwegian)

    Thank you.
    I guess I have to take a closer look at the code, or get some help looking at it.
    Toril

  4. #4
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: VB error 5097 (Word 2000 Norwegian)

    > we suddenly get the "VB error

    I seem to have solved all sorts of corruption problems ("hard disk is full"!, "not enough memory/cabbage/kittens" etc) by using Payne Consulting's code cleaners, or, at a pinch, manually exporting the modules to ascii text files.

    I rebuild an app by (Word) restarting Word, creating a new template, and saving it over the old one, or as a later version, importing the saved module files.

    Usually I lose the toolbar, but that's five minutes work to rebuild, better than banging my head against a brick wall for three days.

  5. #5
    Lounger
    Join Date
    Jan 2001
    Location
    Oslo, Norway
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem solved: VB error 5097

    This appeared to be a problem about local admin rights on own computer. We have found that most of our users have to have local admin rights to install programs on their own computer. Now it seems all users have to have local admin rights to run VBA-macros also. Thank you for all smart hints and tips, that made me find out about this.

Posting Permissions

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