A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Outlook » Fax
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Visual FoxPro - Outlook 2000 - sending faxes



 
 
Thread Tools Display Modes
  #1  
Old November 28th, 2005, 06:00 PM posted to microsoft.public.outlook.fax
external usenet poster
 
Posts: n/a
Default Visual FoxPro - Outlook 2000 - sending faxes

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
  #2  
Old November 28th, 2005, 10:40 PM posted to microsoft.public.outlook.fax
external usenet poster
 
Posts: n/a
Default Visual FoxPro - Outlook 2000 - sending faxes

Might want to try one of the programming groups. Not sure anyone who can
help will see it here.
--
Russ Valentine
[MVP-Outlook]
"David" wrote in message
...
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2000 to Outlook 2003 Issues CommonLor General Discussion 4 November 27th, 2005 04:14 AM
Outlook 2000 Contacts to Address Book sort order Army Man Contacts 3 October 13th, 2005 02:54 AM
POP Forwarding Question raphnguyen General Discussion 8 October 7th, 2005 03:56 PM
Outlook 2003 and SP2 Martin Racette General Discussion 12 October 5th, 2005 03:20 AM
Office 2000 Upgrade to Outlook 2003, reinstall occurs of Outlook 2 Dave Installation & Setup 4 September 22nd, 2005 08:40 PM


All times are GMT +1. The time now is 11:08 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.