运行时错误429 ActiveX组件无法创建对象 [英] Run time errors 429 ActiveX component cant create object

查看:246
本文介绍了运行时错误429 ActiveX组件无法创建对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VB6应用 - 好吧它在我的mashine工作正常但如果我给它2 enybody他们得到一个错误发送数据

运行时错误429 ActiveX组件无法创建对象.... < br $> b $ b

我的代码

VB6 aplication - Ok it Working Fine on my mashine but if i give it 2 enybody they get an error wen sending the data
Run time errors 429 ActiveX component cant create object ....

My code

Private Sub Command1_Click()
     

    Dim oSmtp As New EASendMailObjLib.Mail
    oSmtp.LicenseCode = "TryIt"
    oSmtp.FromAddr = "xxxxx@xxxx.com"
    oSmtp.AddRecipientEx Text1.Text + "@xxxxx.lv", 0
    oSmtp.Subject = "SmS"
    oSmtp.BodyText = Text2.Text
    oSmtp.ServerAddr = "smtp.xxxxxxx.com"
    oSmtp.ServerPort = "465"
    oSmtp.UserName = "xxx@xxxxx.com"
    oSmtp.Password = "xxxxxxxxx"
    oSmtp.SSL_init
    If oSmtp.SendMail() = 0 Then
 Text1.Text = ""
 Text2.Text = ""
    End If
    
End Sub





这是一个通过smtp mybe发送的短信有人可以给其他一些命令'2使用不EASendMailObjLib因为没有els @代码和geting在其他mashines eroor = [我需要做一些工作2每个没有额外文件的人。



Thats a SMS sending thru smtp mybe someone can give some other comand''s 2 use not EASendMailObjLib becouse nothing els @ the code and geting an eroor on other mashines =[ i need tomake something thats working 2 everyone with no extra files.

推荐答案

你应该注册邮件ActiveX控件(你应该使用文件的实际名称):

You should register the mail ActiveX control (you should use the actual name for the file):
c:\> regsvr32.exe EASendMail.dll


Enyone可以正常2我吗? :) pleaz?
Enyone can ansver normal 2 me ? :) pleaz?


这篇关于运行时错误429 ActiveX组件无法创建对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆