Page 1 of 1

IE cache

Posted: Fri May 06, 2011 9:39 pm
by AgManiX
Hello!
I'm coding client for online web-browser game and i need to download all resources from game server(Canaan Online Russia) and launch it from client computer and if i understand right,it must be downloaded in cache in client directory.
Question: how can i change IE cache directory?

Re: IE cache

Posted: Sat May 07, 2011 4:05 am
by Nituvious
This might not be what you want, but it might save you some time. You can use WebGadget().

Re: IE cache

Posted: Sat May 07, 2011 5:35 am
by AgManiX
Nituvious wrote:This might not be what you want, but it might save you some time. You can use WebGadget().
))) u dont understand me
i need to change cache directory of IE

Re: IE cache

Posted: Sat May 07, 2011 6:38 am
by Nituvious
AgManiX wrote:
Nituvious wrote:This might not be what you want, but it might save you some time. You can use WebGadget().
))) u dont understand me
i need to change cache directory of IE
Oh, sorry about that! I guess I didn't see it.
I don't think you can change internet explorer's cache directory in PB unless you automated something.
In my earlier post I was referring to something like this:

Code: Select all

OpenWindow(0, 0, 0, 600,600, "", #PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget)

web = WebGadget(#PB_Any, 0, 0, WindowWidth(0), WindowHeight(0), "http://www.runescape.com/game.ws?j=1")
Repeat
	eventID.l = WaitWindowEvent(1)
	ResizeGadget(web, 0, 0, WindowWidth(0), WindowHeight(0))
Until eventID.l = #PB_Event_CloseWindow

Re: IE cache

Posted: Sat May 07, 2011 4:43 pm
by Rook Zimbabwe
changing the cache directory of IE would be EXTREMELY bad and might cause IE not to run correctly. Bad idea... try Nituvious' way! :mrgreen: