473,569 Members | 2,604 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"interface not registered" on CreateMHTMLBody

Rex
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" to VS2003.
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!!

Thanks...
Randy
Jul 21 '05 #1
0 1389

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3236
by: Grant Ord | last post by:
On Windows 2000 Inetinfo.exe verson 4.02.0622 GetScriptEngineInfo= VBScript Version 5.6.8515 In an ASP page I get the following error Error Type: (0x8002801D) Library not registered. /ResolutionT1/_ScriptLibrary/libraryvbs.inc, line 240
3
3947
by: Brian Fulford | last post by:
I am trying to deploy a web app with a deployment project since I am including Crystal Reports for .Net. I attached all the merge modules, etc but I am getting a build error when I try to build the setup project. Could not find file 'C;\Web\ccsm\ccsm_search.aspx' 'Interface not registered' Thie file is included in the project, so I am...
1
13627
by: n_o_s_p_a__m | last post by:
My web service has a webmethod whose return type is declared as an interface type, for example: public IBusinessProcess GetBusinessProcess() {} which generates the lovely error: Cannot serialize interface IBusinessProcess
1
4303
by: Belee | last post by:
I have been using crystal report in my c# app and now when I want to modify or create a new one it gives me the following error message from Visual Studio 2003 environment "class not registered". What have I done wrong. Help!!!
1
1704
by: compassSoftware | last post by:
I am trying to work on an application that uses a dll as a COM object. I am coming in late to this project to administer/update the application. I notice in the References that a particular DLL is referenced as "Interop.DLLName" and I have the original DLL file as just DLLName with no Interop. My first question is why is the word...
11
2204
by: Antony | last post by:
I know this sounds stupid but I am going to carry on anyway. I want to create an interface that implements all methods of a form, plus another one or two. But I need to know if there is an interface that defines all a forms methods etc. In the example below "System.Windows.Forms.Form" isn't an interface, but it gets my point across. Is...
0
961
by: Rex | last post by:
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 -...
0
1130
by: Dundealing | last post by:
I am trying to deploy an application but when I build it in Release mode, I get the message: "Could not find file '<pathname>\appname.exe' Interface not registered". It works fine in Debug mode, just not in Release mode. Any help would be most appreciated.
1
5783
by: Digitek | last post by:
Hello, I have a big problem to print an html file directly to the printer. I use an "AxSHDocVw.AxWebBrowser" object. Briefly, this is my code: AxSHDocVw.AxWebBrowser myBrowser; .... //this set of instruction prepare my document in html to be printed string HtmlFileName = "Test.html"; Object o = new Object(); o =...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.