|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
"interface not registered" on CreateMHTMLBody
Hello...
I have a C# app, and am trying to save a web page as a .mht file using CreateMHTMLBody. It was working a while back, but now I am getting "interface not registered" errors when calling the method. Any ideas? I have upgraded to VS 2003, and am wondering if that has something to do with it. I haven't gone thru this code in a while - so I can't say for sure that it stopped working when I "upgraded". I've deleted and readded the CDO reference to the project. I'm having this problem on both Win2000 and XP. The _HResult is -2147221163 All thoughts are appreciated!! |
|
#2
|
||||
|
||||
|
In the AssemblyInfo.vb file there is a line that contains the GUID, you'll need to update this with one created by VS 2003. That should fix the issue.
|
|
#3
|
|||
|
|||
|
I got a similar problem
I use the same method to do the same thing.I go another similar error: "the interface not supported" when I try
www.yahoo.com and www.google.com and several other websites. But it works fine for microsoft website: www.msn.com. I really want to know what is happening behind.Any idea is appreciated! ( I tried cdoex.dll, cdosys.dll on Windows 2000 server, .Net 1.1) Monespace |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > "interface not registered" on CreateMHTMLBody |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|