Results 1 to 12 of 12
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Disk is Full error (Word XP SR1)

    I'm using Word XP, on Win XP Pro. I just received an error that I haven't seen since working with VBA in Word 97. When I saved the template project, the message said: "The disk is full. Free some space on this drive, or save the document on another disk..... etc."

    Of course there was plenty of drive space available. I had freshly started Word, opened the template in question and had copied some code to a different module and exported a user form. When I hit save, I got the error. In my experience with '97, it always occured after I had been working in a template for many hours, saving frequently of course, but nontheless adding significant amount of code, new user forms, etc. I now always save, close Word, and restart every couple of hours, backing up the template project as well.

    Any idea what causes such an error? There seems to be no way to get out of Word without saying No to Save Changes.

    Thanks,
    Richard Barrett

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    Does the template have any fields in the document layer? If so, update them. [Ctrl]+A, F9 should get all the fields in Main story.

    Also, check the Tools>References list. Make sure there are no "Missing" entries.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Disk is Full error (Word XP SR1)

    Thanks, Kevin.

    No, there's nothing in the document layer. I've seen something in the MS Knowledge Base about this, saying MS acknowledges that a bug exists when you try attach a '"movie object" to a project. Needless to say, I'm not attaching movie objects to anything.

    Richard

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Disk is Full error (Word XP SR1)

    Corrupted equation editor objects can cause this in Word 2000. Any thread in which I've mentioned the equation editor probably has additional suggestions!

  5. #5
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    What happens if you select FileSaveAs and change the type from Word Document to RTF?

    If it allows that save, then you can restart and reload the RTF and then resave as Word Document.

  6. #6
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Disk is Full error (Word XP SR1)

    This is a global template (add-in) and there is no document portion. I think that saving a template to RTF would lose all of the code modules, custom user forms, etc. Certainly they would be at risk. Next time this happens, it might be worth a try though.

  7. #7
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    You could try to rebuild the template.

    Since it won't let you save, you can't use the Word Code Cleaner from Payne Consulting.

    So just create a new blank template and use Organizer to copy modules. See if this new template gives the same error.

    The only time I've seen this error when in the VBE (rather than a document) is when I tried to rename a form. If you have a new form and rename it, it's fine. If I have a form that's been developed for a while -- and probably compiled -- then trying to rename it can result in this error (and no way to save the template afterwards...) I wonder if this is related.

  8. #8
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Disk is Full error (Word XP SR1)

    The situation which you described is exactly what I had done.... exported a user form, which I intended to re-import. But first I wanted to re-name the original copy so I could re-use it for a similar purpose. I've done this many times successfully, but never I suppose with Word XP.

    I suppose the way to proceed would be to export and then import it. Without looking, I imagine it would come in as frmMyForm1. (Earlier versions wouldn't import a form by the same name, which is why I was doing what I did.) Then the newly imported form could probably be renamed without a problem, since it had not yet been compiled in the template.

    I wouldn't call this logical, but once realized, it's easy enough to remember.

    Thanks.

  9. #9
    Star Lounger
    Join Date
    Jan 2001
    Location
    Chantilly, VA USA
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    Have you considered a virus? I was trying to troubleshoot a similar problem in a previous version of Word earlier this year. After much gnashing of teeth... the problem turned out to be the Nimda virus. I have a thread I extracted from somewhere I could email you if you like.

    Don

  10. #10
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    I don't think this is a WordXP problem (since I'm using Word2K).

    What I think I did was create a holder template.

    If you can get the proper steps down and a situation description, it would likely prove helpful to others here.

    I think in your case it might be safer to create a holder template for the original frmMyForm, move it, delete it from the template, then import the new version of frmMyForm. You will then be able to rename the orginal frmMyForm in the holder template and move it back to the development template.

    Sounds like Who's On First.

  11. #11
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Re: Disk is Full error (Word XP SR1)

    I see what you're saying, and that seems to be the safest way to proceed.

    What I'm seeing over all is that at a certainly point a user form seems to become "locked." From time to time I'll add a new control to a user form that has been in place for a while. When I go to one of the template modules, that new control doesn't seem to be "available".I type frmMyForm. , the list of controls appears, but the new control is not among them. I then export the form, re-import it, and everything is fine. I would imagine that this might work as a preliminary step to renaming a form. I recall that if I export the form, and then use Explorer to rename the two related files, it won't import.

    Locked is probably the wrong word here, but it's an accurate description, I believe, of what is happening. The form will accept new controls, but not expose them to the template. Nor will the "template" be permitted to change the name of the form.

    Occasionally I've had a similar problem when trying to change the name of an individual control on a form. I get an unusual error message that doesn't seem to relate to anything, and the template then locks. Or it doesn't lock and I continue working only to find that I can no longer save.

    You're right.... this did happen in Office 2000. But I don't recall it ever happening to me in Word 97. I was certainly far less proficient (and perhaps less ambixious) at that time as VBA/Word was brand new. That means I wasn't doing such complex programming, but it means too that I was certainly more likely to be making name changes and adding controls well after the original user form was first created.

    I've learned that when working on large complex add-ins/templates to compile and save after every new form or significant sub that I add. And I back up the template every couple of hours and zip it to a file that indicates the template name and the date and time. This backing up has become almost an obsession, and it has saved me a number of heartaches. And every few days I export everything, create a new template and import it to that. Again, and obsession perhaps, but it keeps things clean and worry free.

    I've also noticed in 2000 and XP that I cannot successfully drag a user form from one template project to another in the project viewer. The user form once in the new location seems to be orphaned without the original parent template and won't cooperate at all. I never had this problem with 97. It was my preferred way of getting forms and modules from one template to another.

    Richard

  12. #12
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    New York
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Disk is Full error (Word XP SR1)

    Hi Richard.

    Interesting. I don't think I've seen all the symptoms you describe. I can't recall -- though I'll pay more attention in the next dev cycle -- ever adding a control/sub/function and not having it exposed properly. Nor have I ever not being able to drag a form from one template to another...

    I wonder what the common denominator is? Compiling? Locked for viewing? Locked for properties?

    What I tend to do is at the end of every cycle (I have three main applications, all of which are over 80 modules/1.5Meg) I do a rebuild using the Word Code Cleaner. This requires that some keyboard and assignments style definitions be reset, but other than that produces a template that is free of bloat and is marked as "never been compiled."

    I then compile/lock a copy if this for distribution. And use the "never been compiled" version for future development.

Posting Permissions

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