上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
tccvincent
註冊時間: 2003-05-26 文章: 54 來自: TAIPEI
第 1 樓
|
發表於: 星期四 六月 25, 2009 3:17 pm 文章主題: 不知道問題在哪 請幫忙 |
|
|
oMAPISession = create("MSMAPI.MAPISession")
oMAPIMessages = create("MSMAPI.MAPIMessages")
oMAPISession.DownloadMail = .F.
oMAPISession.SIGNON
oMAPIMessages.SESSIONID=oMAPISession.SESSIONID
oMAPIMessages.COMPOSE
oMAPIMessages.RECIPADDRESS="abc@msa.hinet.net"
oMAPIMessages.MSGSUBJECT=""
oMAPIMessages.MSGNOTETEXT=""
oMAPIMessages.MsgIndex=-1
oMAPIMessages.AttachmentIndex=1
oMAPIMessages.AttachmentPathName="C:\AUTOEXEC.BAT"
oMAPIMessages.send(1) 執行到此行出現錯誤訊息
Ole IDispath exception code 0 from MAPIMessages:Attachment
not found.. |
|
回頂端 |
|
 |
sean27
註冊時間: 2008-08-17 文章: 49
第 2 樓
|
發表於: 星期四 六月 25, 2009 4:11 pm 文章主題: |
|
|
oMAPIMessages.AttachmentPathName="C:\AUTOEXEC.BAT"
下面請加一行
oMAPIMessages.AttachmentName="AUTOEXEC.BAT" _________________ foxpro & php 初學者 |
|
回頂端 |
|
 |
tccvincent
註冊時間: 2003-05-26 文章: 54 來自: TAIPEI
第 3 樓
|
發表於: 星期二 六月 30, 2009 10:59 am 文章主題: |
|
|
還是依樣會錯
錯誤訊息跟上面依樣
我的 OS 是 VISTA |
|
回頂端 |
|
 |
garfield Site Admin

註冊時間: 2003-01-30 文章: 2160
第 4 樓
|
發表於: 星期三 七月 01, 2009 1:49 pm 文章主題: |
|
|
參考這篇看看http://vfp.sunyear.com.tw/viewtopic.php?t=1851 _________________ 利用>>搜尋<<的功能會比問的還要快得到答案. |
|
回頂端 |
|
 |
|