Click here to Skip to main content
11,795,848 members (75,789 online)
Rate this: bad
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 22:29pm
Edited 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 at 15-Feb-13 4:37am
can you give me an exact code? how 2 do that? or some info about that?
Mehdi Gholam at 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 at 15-Feb-13 4:53am
C:\Program Files\EASendMail\EASendMailObj.dll
Mehdi Gholam at 15-Feb-13 6:25am
Deploy that file with your application and register is like the example I showed you.
Maris Geislers at 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 at 15-Feb-13 6:42am
Yes this is called making a installation package.
Maris Geislers at 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 Maciej Los 350
1 Sergey Alexandrovich Kryukov 326
2 KrunalRohit 239
3 Andy Lanng 236
4 OriginalGriff 230
0 OriginalGriff 1,852
1 Maciej Los 1,465
2 KrunalRohit 1,300
3 CPallini 840
4 Richard MacCutchan 828

Advertise | Privacy | Mobile
Web01 | 2.8.151002.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