Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default MSXML2.XMLHTTP clear excel cache/memory (?)

hi

after successfully logging in and getting the data i need, employing the
MSXML2.XMLHTTP post method, once the sub ends, and i try to run the sub
again, it acts as if i am still logged in - or something like that - and bugs
out. however, if i exit excel and restart the sub works great.

so somehow excel is 'holding' onto somethin and i want to 'break' the
connection to the site, so to speak, without having to exit and restart excel
all the time.

any ideas?

many thanks in advance



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default MSXML2.XMLHTTP clear excel cache/memory (?)

I would guess you are not closing all object and setting to nothing.
Depends on the scope of your variables.

NickHK

"p3plyr" wrote in message
...
hi

after successfully logging in and getting the data i need, employing the
MSXML2.XMLHTTP post method, once the sub ends, and i try to run the sub
again, it acts as if i am still logged in - or something like that - and

bugs
out. however, if i exit excel and restart the sub works great.

so somehow excel is 'holding' onto somethin and i want to 'break' the
connection to the site, so to speak, without having to exit and restart

excel
all the time.

any ideas?

many thanks in advance





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default MSXML2.XMLHTTP clear excel cache/memory (?)

there is only one object (named objHTTP)
i have several DIM strings
a few loops
and a for if

i tried Set objHTTP = nothing

but still tied up

i even tried posting a log off at the site but excel would not let me go

i have not tried 'closing' the object. not sure how to do that yet.

i tried

objHTTP.Close

but it bugs out "object doesnt support this property or method"

any ideas?

thanks for the reply!


"NickHK" wrote:

I would guess you are not closing all object and setting to nothing.
Depends on the scope of your variables.

NickHK

"p3plyr" wrote in message
...
hi

after successfully logging in and getting the data i need, employing the
MSXML2.XMLHTTP post method, once the sub ends, and i try to run the sub
again, it acts as if i am still logged in - or something like that - and

bugs
out. however, if i exit excel and restart the sub works great.

so somehow excel is 'holding' onto somethin and i want to 'break' the
connection to the site, so to speak, without having to exit and restart

excel
all the time.

any ideas?

many thanks in advance






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default MSXML2.XMLHTTP clear excel cache/memory (?)


found a better link to log off with.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clear clipboard memory? Eric Excel Discussion (Misc queries) 2 April 6th 10 06:09 PM
How to Clear a Pivot Table Cache DoctorG Excel Discussion (Misc queries) 1 February 16th 10 03:04 PM
Clear formula memory? Matt Williamson[_2_] Excel Discussion (Misc queries) 2 June 2nd 09 07:08 PM
xmlhttp and ie cache Jack Clift[_3_] Excel Programming 4 March 11th 05 02:43 AM
Pivot Cache Memory Jared Excel Programming 0 December 16th 04 04:31 PM


All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"