PROBLEMS WITH Application.Contents.Remove

Results 1 to 2 of 2

Thread: PROBLEMS WITH Application.Contents.Remove

  1. #1
    Vai Guest

    Default PROBLEMS WITH Application.Contents.Remove

    Can anybody possibly help me out? I am currently using a number of Application variables in a site that i&#039;m developing. There are a number of these variables that are no longer of any use after a while and i want to remove them. The problem i am having is that when i attemp to remove them i get the following message:<BR><BR>Microsoft VBScript runtime error &#039;800a01b6&#039; <BR><BR>Object doesn&#039;t support this property or method: &#039;Remove&#039; <BR><BR><BR>Any Ideas?<BR>Vai<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: PROBLEMS WITH Application.Contents.Remove

    Since you haven&#039;t had a response:<BR><BR>You can&#039;t do Application.Contents.Remove<BR>Even if you could you would have to say which item in the collection you want to remove i.e:<BR> Application("MyVar").Remove<BR><BR>Perhaps you could set all the values to nothing:<BR>For Each Key in Application.Contents<BR> Key = Nothing <BR>Next Key <BR><BR>

Posting Permissions

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