.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 11th, 2004, 12:04 PM
jaxdawg jaxdawg is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 jaxdawg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
"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!!

Reply With Quote
  #2  
Old July 19th, 2004, 02:05 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 16
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
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.
__________________
Andrew J Durstewitz
ASP.NET,VB.NET,SQL Developer

http://madashellnc.blogspot.com

Reply With Quote
  #3  
Old September 28th, 2004, 09:25 AM
monespace monespace is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 monespace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > "interface not registered" on CreateMHTMLBody


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap