Error 430 Class Does not support automation vbsendmail.dll

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.
AdvtisAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
you are probably missing a reference. Open the source code of the vbSendMail project and check what they are.
0
 
Éric MoreauSenior .Net ConsultantCommented:
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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
AdvtisAuthor Commented:
All of those files are included.
0
 
Éric MoreauSenior .Net ConsultantCommented:
are those all the same version as on your developement PC?
0
 
AdvtisAuthor Commented:
Just verifed and yes, all the same version
0
 
Éric MoreauSenior .Net ConsultantCommented:
are you using it from a VB6 application? is everything else in the application working properly?
0
 
AdvtisAuthor Commented:
Yes everything else works fine until it gets to the line:
Set poSendMail = New clsSendMail
0
 
Éric MoreauSenior .Net ConsultantCommented:
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
 
AdvtisAuthor Commented:
VB6, the other posting is not correct.
0
 
AdvtisAuthor Commented:
Thanks emoreau, the tech guy was using an old installer with the old version of the dll.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.