|
Subject:
|
Help through solving problem
|
|
Posted By:
|
rudaba
|
Post Date:
|
1/5/2006 3:03:19 AM
|
Hi everybody, I want to send emails with more than one *.xls attachment by using vb6 and outlook 2000.
I wrote some code. Part of my code is given bellow '************** Private Sub Command1_Click() Dim gCdoSession As MAPI.Session Dim CdoFolder As MAPI.Folder Dim CdoMessages As MAPI.Messages Dim CdoMessage As MAPI.Message Dim CdoRecipients As MAPI.Recipients Dim CdoRecipient As MAPI.Recipient ' Establish a MAPI Session Set gCdoSession = New MAPI.Session gCdoSession.Logon ' We must have a folderin whicj to create the outgong messages Set CdoFolder = gCdoSession.Outbox End Sub '****************
The problem is: During this process visual basic compiuler gives an error message "run-time error '429' with a messsage ActiveX component cannot create object' ?
Thanks, I appreciate any help Rudaba
|
|
Reply By:
|
Ankur_Verma
|
Reply Date:
|
1/5/2006 5:45:24 AM
|
Rudaba, I think you should post this query to one of the Visual Basic rooms here.
Regards Ankur Verma
|