Help!

Visual FoxPro - Outlook 2000 - sending faxes

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fax RSS
Next:  How to disable automatic area code  
Author Message
David
External


Since: Feb 17, 2004
Posts: 3



PostPosted: Mon Nov 28, 2005 5:00 pm    Post subject: Visual FoxPro - Outlook 2000 - sending faxes
Archived from groups: microsoft>public>outlook>fax (more info?)

Dear all

Wonder whether any of you can help. We send faxes using Visual FoxPro 8
using the outlook.application object. Since updating to version 8 of Visual
FoxPro the faxes get stuck in the Outbox and the only way to send them is
to come out of Outlook and then go back in again. It only happens in
Outlook 2000.

Here is my code

oOutlook = CREATEOBJECT("Outlook.Application")
oEmailItem = oOutlook.GetNameSpace("MAPI")
oMessage = oEmailItem.GetDefaultFolder(4)
oNewMessage = oMessage.items.add()

WITH oNewMessage
.Recipients.add('[FAX:' + ALLTRIM(m.FaxNumber) + ']')
.Attachments.Add(ALLTRIM(m.Attachment))

IF thisformset.Preview
.display(.t.)
ELSE
.Send()
ENDIF
ENDWITH

Kind regards

David
Anagram Systems
28/11/2005 16:59:38
Back to top
Russ Valentine [MVP-Outlo
External


Since: Mar 21, 2005
Posts: 8749



PostPosted: Mon Nov 28, 2005 5:00 pm    Post subject: Re: Visual FoxPro - Outlook 2000 - sending faxes [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Might want to try one of the programming groups. Not sure anyone who can
help will see it here.
--
Russ Valentine
[MVP-Outlook]
"David" <newsgroup.RemoveThis@removeresponda.co.uk> wrote in message
news:1ihuljlzdu44q.xj73vc8un7oo$.dlg@40tude.net...
> Dear all
>
> Wonder whether any of you can help. We send faxes using Visual FoxPro 8
> using the outlook.application object. Since updating to version 8 of
> Visual
> FoxPro the faxes get stuck in the Outbox and the only way to send them is
> to come out of Outlook and then go back in again. It only happens in
> Outlook 2000.
>
> Here is my code
>
> oOutlook = CREATEOBJECT("Outlook.Application")
> oEmailItem = oOutlook.GetNameSpace("MAPI")
> oMessage = oEmailItem.GetDefaultFolder(4)
> oNewMessage = oMessage.items.add()
>
> WITH oNewMessage
> .Recipients.add('[FAX:' + ALLTRIM(m.FaxNumber) + ']')
> .Attachments.Add(ALLTRIM(m.Attachment))
>
> IF thisformset.Preview
> .display(.t.)
> ELSE
> .Send()
> ENDIF
> ENDWITH
>
> Kind regards
>
> David
> Anagram Systems
> 28/11/2005 16:59:38
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Fax All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum