VFP如何在表单启动outlook中的宏??
VFP如何在表单启动outlook中的宏??宏名NewMailwait wind '现在开始往 '+allt(myemail.dm)+space(2)+allt(myemail.mc)+' 发送邮件文件...' nowa #DEFINE MAILITEM 0 #DEFINE IMPORTANCELOW 0 #DEFINE IMPORTANCENORMAL 1 #DEFINE IMPORTANCEHIGH 2 oOutLookObject = CreateObject("Outlook.Application") oEmailItem = oOutLookObject.CreateItem(MAILITEM) sele myemail WITH oEmailItem .Recipients.Add(allt(myemail.yx)) .Subject = allt(myemail.xsbgsmc)+'分公司:这是您分公司的网上划款或电汇数据!' .Importance = IMPORTANCENORMAL .Body = '分款注意事项及说明:'+chr(13)+; ' 1、务请在收到本邮件次日上午12:00前将分解结果发回!'+chr(13)+; ' 2、如有不明之处,请致电2688932咨询,谢谢合作!' .Attachments.Add('&df_yjm') .Send ENDWITH RELEASE oEmailItem RELEASE oOutLookObject