Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
VB
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


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.
Posted
Updated 14-Feb-13 22:31pm
v2

You should register the mail ActiveX control (you should use the actual name for the file):
c:\> regsvr32.exe EASendMail.dll
 
Share this answer
 
Comments
Maris Geislers 15-Feb-13 4:37am    
can you give me an exact code? how 2 do that? or some info about that?
Mehdi Gholam 15-Feb-13 4:39am    
Find the file name for the ActiveX control, I cannot help you with that since I don't know.
Maris Geislers 15-Feb-13 4:53am    
C:\Program Files\EASendMail\EASendMailObj.dll
Mehdi Gholam 15-Feb-13 6:25am    
Deploy that file with your application and register is like the example I showed you.
Maris Geislers 15-Feb-13 6:32am    
then i have 2 do that to every PC i use that sender
mybe thers a simple Way with no extra files and user ading options just send 1 exe faile and run it... i just wan't 2 make it publick
Enyone can ansver normal 2 me ? :) pleaz?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900