Click here to Skip to main content
13,050,242 members (100,121 online)
Rate this:
Please Sign up or sign in to vote.
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
Private Sub Command1_Click()
    Dim oSmtp As New EASendMailObjLib.Mail
    oSmtp.LicenseCode = "TryIt"
    oSmtp.FromAddr = ""
    oSmtp.AddRecipientEx Text1.Text + "", 0
    oSmtp.Subject = "SmS"
    oSmtp.BodyText = Text2.Text
    oSmtp.ServerAddr = ""
    oSmtp.ServerPort = "465"
    oSmtp.UserName = ""
    oSmtp.Password = "xxxxxxxxx"
    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 14-Feb-13 22:29pm
Updated 14-Feb-13 22:31pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You should register the mail ActiveX control (you should use the actual name for the file):
c:\> regsvr32.exe EASendMail.dll
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
Mehdi Gholam 15-Feb-13 6:42am
Yes this is called making a installation package.
Maris Geislers 15-Feb-13 7:18am
have not done anything like that so i don't know how 2 :( i need a step by step instructions
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Enyone can ansver normal 2 me ? :) pleaz?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100