closing objects

Results 1 to 2 of 2

Thread: closing objects

  1. #1
    Join Date
    Dec 1969

    Default closing objects

    i&#039;ve posted this to the general board and received no response.<BR>on a winnt pws/iis4 i did the following:<BR><BR>set bc = server.CreateObject("MSWC.BrowserType")<BR>sType = bc.browser<BR>iVer = CInt(bc.Version)<BR>bc.close<BR>set bc = nothing<BR><BR>when running the same piece of code on win2k iis5 it produced an<BR>error on the bc.close line. is commenting this line out the *correct* solution for this problem or i am going about this wrong?<BR>-justin

  2. #2
    Join Date
    Dec 1969

    Default RE: closing objects

    I&#039;m not sure if the "MSWC.BrowserType" object has a close() method...<BR><BR>If it does, try to figure out what is causing the error. If it does not, lose the bc.close line.<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