I have a toolbar that does some direct DOM manipulation, sort of the way the IE Developer Toolbar does. Part of this DOM injection are some images that we use. Previously, we were programmatically inserting our images into the Temporary Internet Files folder, and when we created our DOM objects that needed these images the URLs pointed to the images in that folder. The problem is, that on Windows Vista it now seems that Temporary Internet Files is now considered a system folder, and I have lost the ability to write to it.
At this point, I think I have a few options but am unsure as to how to implement any of them:
1. Store the files in an accessible temporary location (using a different Special Folder, maybe ). I don't know which one, if any, I can use in Windows Vista.
2. Store the files inside my application folder, or some known place
The problem with #2 is that in order for this to work, my toolbar needs to know where it is installed. I'm not sure how to figure this out programmatically (I'm using a Deployment Project to install the toolbar).
What should I do