473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Error user-defined type not defined with cdosys32.dll

5
Hi experts,
I try to send a mail with attachment using cdosys.dll.

Dim iCfg As CDO.Configuration
Dim iMsg As CDO.Message

Set iCfg = New CDO.Configuration
...

the compile got error user-defined type not defined on New CDO.Configuration

I got the module cdosys32.dll in ma system Windows.system32

What wrong which I encountered ? or missed ?

Please ! Someone can explain the reason to my problem. Thank you in advanced
Jan 29 '08 #1
4 5627
debasisdas
8,127 Expert 4TB
Is the file cdosys32.dll registered with winwows ?

If not register the dll using REGSVR32 key.

Don't forget to refer to the dll from Project ---> References.
Jan 29 '08 #2
hung52
5
Is the file cdosys32.dll registered with winwows ?

If not register the dll using REGSVR32 key.

Don't forget to refer to the dll from Project ---> References.
Hi
Yes.
1) I ran REGSVR32.DLL
2) how you define the reference the dll from project ? by define one function ?
thank you
Jan 29 '08 #3
debasisdas
8,127 Expert 4TB
run this

RegSvr32 C:\Windows\System32\cdosys32.dll

You will get a message that the component is registered .

then refer to the file from project ----->reference. IF the file is not in the list browse and select the file
Jan 29 '08 #4
hung52
5
run this

RegSvr32 C:\Windows\System32\cdosys32.dll

You will get a message that the component is registered .

then refer to the file from project ----->reference. IF the file is not in the list browse and select the file
Thank you . It works now.
I understood , i need to select the Microsoft cdo windows2000 on the reference.

thank again.
Jan 29 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
2
by: Nigel Frost | last post by:
I have a .Net console application. It creates a user's folder, sets permissions using WMI, then fails to give the ownership of that folder to the user (for quotas). This all executes on a single...
5
by: Martin Robins | last post by:
I have never dabbled with ASP.NET until now so be warned! I have created a web application with the single default form: WebForm1.aspx and when I try to display it I get this error. My...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
13
by: Edward Mitchell | last post by:
I have a problem that involves the error I receive when attempting to complete the asp.net web application example (Walkthrough: Creating a Web Application Using a Third-Party Business Object). ...
8
by: pmud | last post by:
Hi, I am using a compare validator in asp.net application(c# code). This Custom validator is used for comparing a value enterd by the user against the primary key in the SQL database. IF the...
2
by: hansiman | last post by:
I'm wondering how best to present exception messages to a user. In a try catch I catch an OleDb.OleDbException. The error could be a COLUMN REFERENCE constraint error (by a deletion attempt). ...
6
Cyberdyne
by: Cyberdyne | last post by:
Hi guys, I have a windows 2003 sbs server running about 25 client licenses and here is my little problem my pop3 connector is throwing an error at me several times per day, although the system itself...
2
by: jthep | last post by:
I'm trying to get this piece of code I converted from C to work in C++ but I'm getting an access violation error. Problem occurs at line 61. Someone can help me with this? The function...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.