IE Toolbar or BHO Images and Temp Folder Location
-
I am posting this question in both the C# and C++ boards as I think the solution may be the same in both the cases. I have an IE toolbar which gets hold of the IWebBrowser. I then imlplement the event DocumentComplete. In the event I get hold of the Document as a IHTMLDocument. now here is my question. For an image in the Document, how do I get to know the exact path of that image in my temporary Internet files? If I get the images list, then for each element in the collection I can get the src property but that gives me the url not the location in the temp internet files. I know the file may not exist in the temp folder, but if it did, is there a way to get the path? Thanks
-
I am posting this question in both the C# and C++ boards as I think the solution may be the same in both the cases. I have an IE toolbar which gets hold of the IWebBrowser. I then imlplement the event DocumentComplete. In the event I get hold of the Document as a IHTMLDocument. now here is my question. For an image in the Document, how do I get to know the exact path of that image in my temporary Internet files? If I get the images list, then for each element in the collection I can get the src property but that gives me the url not the location in the temp internet files. I know the file may not exist in the temp folder, but if it did, is there a way to get the path? Thanks
Thanks to Micheal Dunn, for pointing me to the right direction. This is a wininet functionality not an IE. An example is on CP at: http://www.codeproject.com/csharp/WebCacheTool.asp[^]