Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Wellington, Wellington, New Zealand
    Posts
    378
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Object won't release (Word97/NT)

    Hi

    This is the scenario:<UL><LI>I define a variable as an object (set fred=getobject(<filename>))
    <LI>I use "fred" to access the document's docvariables
    <LI>I go "set fred=nothing"[/list]The problem is that the last statement doesn't release the file. For example, I can't overwrite it or rename it.

    How do I release the file?

    Thanks
    Dale

  2. #2
    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: Object won't release (Word97/NT)

    If the object is, for example, Word, and you open the document, you would need to close the document. You could also quit Word (fred.quit), but that shouldn't be necessary.

Posting Permissions

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