Search found 45 matches: createitem

Return to advanced search

Re: Urgent problem

... := TRUE I := 1000000 ENDIF NEXT IF ! LFOUND // NOUVEAU hOutlook := CreateOLEObject( "Outlook.Application" ) hAppItem := OLEInvoke( hOutlook, "CreateItem", 1 ) OLESetProperty( hAppItem, "Start", CDate + " " + cTime) OLESetProperty( hAppItem, "Duration", nLenInMin ) OLESetProperty( hAppItem, ...
by Richard Chidiak
Mon Oct 22, 2007 10:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Urgent problem
Replies: 3
Views: 1499

... oOutlook := CreateObject( "Outlook.Application" ) CATCH ? "Outlook no disponible. [" + Ole2TxtError()+ "]" RETURN nil END END oMail := oOutlook:CreateItem( 0 ) FOR EACH el IN aDir oMail:Recipients:Add( el ) NEXT IF !EMPTY(cAsunto) oMail:Subject := cAsunto END IF !EMPTY(cMsg) oMail:Body := cMsg ...
by Manuel Valdenebro
Tue Feb 20, 2007 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with sending emails - some questions
Replies: 15
Views: 7005

Enrico, To check, I change an old code with MAIL/FHW to your code with OLE. I have following error: Error description Outlook.Application: Createitem/16389 E_FAIL:_HTMLBODY. The file "html" exist and the path is complete and correct. oMail:HTMLBody = MEMOREAD( "c:\leb\fsoli.htm" ) Any Help ...
by Manuel Valdenebro
Tue Feb 20, 2007 6:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with sending emails - some questions
Replies: 15
Views: 7005

Re: To send email with image

... SendMail ***************** LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := TOleAuto():New("Outlook.Application") oMailItem := oOutLook:Invoke("CreateItem", 0) oRecip := oMailItem:Invoke("Recipients") oRecip:Invoke("Add", "lara.softhouse@gmail.com") oRecip:Invoke("Add", "cleiton.softhouse@bol.com.br") ...
by E. Bartzokas
Thu Aug 10, 2006 4:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To send email with image
Replies: 6
Views: 1975

To send email with image

... SendMail ***************** LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := TOleAuto():New("Outlook.Application") oMailItem := oOutLook:Invoke("CreateItem", 0) oRecip := oMailItem:Invoke("Recipients") oRecip:Invoke("Add", "lara.softhouse@gmail.com") oRecip:Invoke("Add", "cleiton.softhouse@bol.com.br") ...
by Kleyton
Wed Aug 09, 2006 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To send email with image
Replies: 6
Views: 1975

To send email with image

... SendMail ***************** LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := TOleAuto():New("Outlook.Application") oMailItem := oOutLook:Invoke("CreateItem", 0) oRecip := oMailItem:Invoke("Recipients") oRecip:Invoke("Add", "lara.softhouse@gmail.com") oRecip:Invoke("Add", "cleiton.softhouse@bol.com.br") ...
by Kleyton
Wed Aug 09, 2006 12:35 pm
 
Forum: FiveWin for CA-Clipper
Topic: To send email with image
Replies: 4
Views: 1883

... "Outlook.Application" ) CATCH Alert( "ERROR! Outlook not avialable." ) /// [" + Ole2TxtError()+ "]" ) RETURN END oMailItem := oOutLook:CreateItem( 0 ) //Recipients oRecip := oMailItem:Recipients() oRecip:Add( "gale.ford@wwrowland.com" ) // Subject and body oMailItem:Subject := "Ole ...
by Gale FORd
Thu Jun 29, 2006 3:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OLE & Outlook (How to translate this Delphi code)
Replies: 11
Views: 3804

... cBody:="" endif if aFiles=NIL aFiles:=array(0,0) endif lOffice:=.t. TRY oOutLook := CreateObject( "Outlook.Application" ) oMailItem := oOutLook:CreateItem( 0 ) oRecip := oMailItem:Recipients CATCH lOffice:=.f. END if lOffice for i:=1 to len(aTo) oRecip:Add( aTo[i,2] ) next oMailItem:Subject ...
by Marco Turco
Fri Mar 17, 2006 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPI and Outlook 2003
Replies: 28
Views: 10663

... Size: 6,524,416 bytes Time from start: 0 hours 0 mins 16 secs Error occurred at: 20/02/06, 16:51:21 Error description: Error Outlook.Application:CREATEITEM/9 Proprietà di sola lettura.: DISPLAY Args: [ 1] = L .T. Stack Calls =========== Called from TOLEAUTO:DISPLAY(0) -------------- Do I need ...
by ask
Tue Feb 21, 2006 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interactive mail via Outlook
Replies: 8
Views: 2358

... Size: 6,524,416 bytes Time from start: 0 hours 0 mins 16 secs Error occurred at: 20/02/06, 16:51:21 Error description: Error Outlook.Application:CREATEITEM/9 Proprietà di sola lettura.: DISPLAY Args: [ 1] = L .T. Stack Calls =========== Called from TOLEAUTO:DISPLAY(0) -------------- Do I need ...
by Marco Turco
Mon Feb 20, 2006 3:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interactive mail via Outlook
Replies: 8
Views: 2358

Re: Interactive mail via Outlook

... Regards, Marco FUNCTION SendMail() LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := CreateObject( "Outlook.Application" ) oMailItem := oOutLook:CreateItem( 0 ) oRecip := oMailItem:Recipients oRecip:Add( "noc@softwarexp.co.uk" ) oMailItem:Subject := "Testing fw" oMailItem:Body := "FW Body!" + ...
by ask
Mon Feb 20, 2006 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interactive mail via Outlook
Replies: 8
Views: 2358

Interactive mail via Outlook

... Regards, Marco FUNCTION SendMail() LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := CreateObject( "Outlook.Application" ) oMailItem := oOutLook:CreateItem( 0 ) oRecip := oMailItem:Recipients oRecip:Add( "noc@softwarexp.co.uk" ) oMailItem:Subject := "Testing fw" oMailItem:Body := "FW Body!" + ...
by Marco Turco
Mon Feb 20, 2006 2:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interactive mail via Outlook
Replies: 8
Views: 2358

Inviare una mail in modo interattivo tramite Outlook

... Marco Turco FUNCTION SendMail() LOCAL oOutLook,oMailItem,oRecip,oAttach oOutLook := CreateObject( "Outlook.Application" ) oMailItem := oOutLook:CreateItem( 0 ) oRecip := oMailItem:Recipients oRecip:Add( "noc@softwarexp.co.uk" ) oMailItem:Subject := "Testing fw" oMailItem:Body := "FW Body!" + ...
by Marco Turco
Mon Feb 20, 2006 12:17 pm
 
Forum: All products support
Topic: Inviare una mail in modo interattivo tramite Outlook
Replies: 0
Views: 640

... local oMail,i:=0,oItem default bodyformat:=1 oMail:= CREATEOBJECT( "outlook.application" ) oItem:=oMail:createitem(0) if !empty(mailfrom) oItem:SentOnBehalfOfName:=mailfrom endif oItem:Subject:=cSubject cTo:="" for i:=1 to len(ato) cTo:=cto+ato[i]+";" ...
by ask
Tue Dec 27, 2005 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to send email from within FWH25?
Replies: 29
Views: 13934

Ole and Outlook

... at runtime UNDEFINED CREATE ITEM Here is the code * === procedure mole() local ol,om,oatt ol:=createoleobject("Outlook.Application") om:=ol:CreateItem(0) THE ERROR IS HERE !!!! om:Recipients:Add("jacquet@tiscali.be") om:Subject:="Le sujet du test OLE" om:Body:="Le message test OLE" oatt:=om:attachments ...
by jacquet philippe
Wed Dec 21, 2005 2:56 pm
 
Forum: FiveWin for CA-Clipper
Topic: Ole and Outlook
Replies: 4
Views: 1397
Previous

Return to advanced search