Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Fax / November 2005

Tip: Looking for answers? Try searching our database.

Visual FoxPro - Outlook 2000 - sending faxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David - 28 Nov 2005 17:00 GMT
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
Russ Valentine [MVP-Outlook] - 28 Nov 2005 21:40 GMT
Might want to try one of the programming groups. Not sure anyone who can
help will see it here.
Signature

Russ Valentine
[MVP-Outlook]

> Dear all
>
[quoted text clipped - 28 lines]
> Anagram Systems
> 28/11/2005 16:59:38
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.