Hey all as youve probably guessed ive been having a nightmare here, trying to save a webpage as a single file, ive gone right round the houses, it seems microsoft has had something in place for a long time to do this that is saving the page as a MHTML document "web archive" try it go to > file> save as > change save as type to "web archive" works a treat for what i want.

now question is how can i save this in code...... without any prompts to the user what so ever....

ive found that cdoex.dll cdo for exchange has a feature to generate an mhtml from a webpage. and i figure ok if i can get a string of mhtml and then use the file system object to save as a test.mht file that my problem is sloved.

ive been messing with cdo for a little while and i can get it to save just the text from the html "no html tags" which is kinda nice but nice for another project,,,, im sure there will be a way to get the converted MHTML string but i dont know how.


please help

thanks carl