We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Error 430 Class Does not support automation vbsendmail.dll

Advtis
Advtis asked
on
Medium Priority
632 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.
Comment
Watch Question

Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
you are probably missing a reference. Open the source code of the vbSendMail project and check what they are.
Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
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

Author

Commented:
All of those files are included.
Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
are those all the same version as on your developement PC?

Author

Commented:
Just verifed and yes, all the same version
Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
are you using it from a VB6 application? is everything else in the application working properly?

Author

Commented:
Yes everything else works fine until it gets to the line:
Set poSendMail = New clsSendMail
Éric MoreauSenior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016

Commented:
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?

Author

Commented:
VB6, the other posting is not correct.
Senior .Net Consultant
CERTIFIED EXPERT
Top Expert 2016
Commented:
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?

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thanks emoreau, the tech guy was using an old installer with the old version of the dll.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.