?
Solved

Error 430 Class Does not support automation vbsendmail.dll

Posted on 2009-02-18
11
Medium Priority
?
592 Views
Last Modified: 2012-06-27
I am getting the Class does not support Automation or does not support expected interface error when using vbsendmail.dll.  It workes fine on the development machine, but not on any production pc.  I have taken the code straight out of the sample app.  I have verified the dll is the same version.  I have unregistered and reregistered the dll.   I have researched and can't find any answers.
0
Comment
Question by:Advtis
  • 6
  • 5
11 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23670861
you are probably missing a reference. Open the source code of the vbSendMail project and check what they are.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23670878
I found this list of files in an old project that was using it:

C:\WINNT\system32\msvbvm60.dll=Yes
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\OLEAUT32.DLL=Yes
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\OLEPRO32.DLL=Yes
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\ASYCFILT.DLL=Yes
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\STDOLE2.TLB=Yes
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\COMCAT.DLL=Yes
C:\WINNT\system32\MSWINSCK.OCX=Yes
0
 

Author Comment

by:Advtis
ID: 23671897
All of those files are included.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23671960
are those all the same version as on your developement PC?
0
 

Author Comment

by:Advtis
ID: 23672159
Just verifed and yes, all the same version
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23672276
are you using it from a VB6 application? is everything else in the application working properly?
0
 

Author Comment

by:Advtis
ID: 23672351
Yes everything else works fine until it gets to the line:
Set poSendMail = New clsSendMail
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 23672705
You have duplicated this exact same question at http://www.experts-exchange.com/Programming/Automation/Q-24151958-5685.html

I see from this other post that you have set the zones to Visual Studio Express.

again, are you using it from a VB6 application?  or from a VS.Net application?
0
 

Author Comment

by:Advtis
ID: 23672760
VB6, the other posting is not correct.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 23672834
are you using the latest version from http://www.freevbcode.com/ShowCode.Asp?ID=109

is the vbSendMail component correctly appears in the references of the VB6 project?

do you have the problem only on 1 PC or is working on other PC (development PC excluded)?

how have you deployed the dll? using PDW?

0
 

Author Comment

by:Advtis
ID: 23674138
Thanks emoreau, the tech guy was using an old installer with the old version of the dll.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month14 days, 11 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question