Click here to Skip to main content
Rate this: bad
good
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 = "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 14-Feb-13 23:29pm
Edited 14-Feb-13 23:31pm
v2
Rate this: bad
good
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
  Permalink  
Comments
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
good
Please Sign up or sign in to vote.

Solution 2

Enyone can ansver normal 2 me ? Smile | :) pleaz?
  Permalink  

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

  Print Answers RSS
0 Mathew Soji 330
1 BillWoodruff 260
2 Sergey Alexandrovich Kryukov 240
3 OriginalGriff 216
4 Afzaal Ahmad Zeeshan 208
0 OriginalGriff 6,168
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,028
3 Manas Bhardwaj 4,539
4 Maciej Los 3,845


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