Click here to Skip to main content
11,920,353 members (54,759 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB
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 23:29pm
Edited 14-Feb-13 23: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 ? Smile | :) pleaz?

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

  Print Answers RSS
0 OriginalGriff 415
1 phil.o 170
2 Dave Kreskowiak 155
4 F-ES Sitecore 130
0 OriginalGriff 6,778
1 KrunalRohit 4,495
2 Sergey Alexandrovich Kryukov 3,203
3 George Jonsson 2,805
4 Suvendu Shekhar Giri 2,181

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2015
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