Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Integrating Outlook with VFP
Message
From
04/02/1999 17:18:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00181950
Message ID:
00184093
Views:
20
Aashish:

Hello, How did you incorporate de MAPI session and message OLE controls into your from .. Did you use the ADD objectss or you just drop them in the form at design time..
Reason why is that I am getting a bunch of errors whenever I am trying to put those objects in my form..
thanks for your help

Ps. I am using VFp5.0

>Thanks Friend,
>It worked exactly the way i wanted.
>Aashish
>>>I wish to control outlook from vfp.
>>>I m successful in passing my memo field to the body of mail but failed to pass the email address in To: column.
>>>Any help.
>>>Thanks
>>
>>AAshish
>>
>>On a form I have a edit box and a send button (plus the mapi system buttons) that I use for my users to email me questions and comments from within the system itself.
>>
>>The user types in their comments or questions in the edit box then click the send button. Here is the code in the send button:
>>
>>thisform.session.signon()
>>
>>IF thisform.session.sessionid > 0
>> thisform.message.sessionid=thisform.session.sessionid
>> thisform.message.compose
>> thisform.message.recipdisplayname='Rushton, Stephen T'
>> ** name as it is in outlook. You can also use a variable here
>> thisform.message.resolvename
>> thisform.message.reciptype=1
>> thisform.message.msgsubject = 'Question' ** subject line
>> thisform.message.msgnotetext = Thisform.edtQuestion.value
>> thisform.message.send(0)
>> ** No interface required. use (1) to ask for names
>> thisform.session.signoff
>> =messagebox('Message has been delivered')
>>ENDIF
>>
>>
>>HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform