V
Von Shean
I use the following code to save pages as MHT
1 CDO.Message message = new CDO.MessageClass();
2 message.CreateMHTMLBody("http://www.google.com/", 0, "", "");
3 ADODB.Stream stream = message.GetStream();
4 stream.SaveToFile("fanms.mht",
ADODB.SaveOptionsEnum.adSaveCreateOverWrite);
On line i get a runtime error 'System.InvalidCastException: No such
interface supported'
Any Ideas?
1 CDO.Message message = new CDO.MessageClass();
2 message.CreateMHTMLBody("http://www.google.com/", 0, "", "");
3 ADODB.Stream stream = message.GetStream();
4 stream.SaveToFile("fanms.mht",
ADODB.SaveOptionsEnum.adSaveCreateOverWrite);
On line i get a runtime error 'System.InvalidCastException: No such
interface supported'
Any Ideas?