上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
kechange
註冊時間: 2004-12-16 文章: 81
第 1 樓
|
發表於: 星期六 六月 03, 2006 11:30 am 文章主題: 如何在 vfp 裡把報表丟給 windows fax 功能,並且自動帶入傳真電話 |
|
|
我找文章,只有支援 winfax 的。問題是 winfax 不支援 windows server 2003只能支援到 xp 而已。
而目前 windows 都有內建傳真管理功能了,在 vfp 裡,有沒有辦法直接將報表丟給他,並且自動帶入傳真電話呢? |
|
回頂端 |
|
|
garfield Site Admin
註冊時間: 2003-01-30 文章: 2157
第 2 樓
|
|
回頂端 |
|
|
yang1032
註冊時間: 2004-06-19 文章: 58
第 3 樓
|
發表於: 星期二 三月 08, 2011 12:26 am 文章主題: |
|
|
set printer to name "Fax"
report form db3p to file "c:\yangtest\myfile.tif" noconsole
faxNumb="7270552"
faxName = "Test File 1"
faxMess = "c:\yangtest\myfile.tif"
myFaxDocument =CREATEOBJECT("FaxComEx.FaxDocument")
myFaxDocument.Subject = "Test"
myFaxDocument.Recipients.Add(faxNumb, faxName)
myFaxDocument.CoverPage = ""
&& name of Cover Page Template
myFaxDocument.CoverPageType = 0
&& turn off auto cover page
myFaxDocument.Body = (faxMess)
JobID = myFaxDocument.Submit("")
TEST OK |
|
回頂端 |
|
|
lam wing keung
註冊時間: 2011-05-24 文章: 2
第 4 樓
|
發表於: 星期一 十一月 26, 2012 12:03 am 文章主題: 如何加入預設日期時間 |
|
|
yang1032 寫到: | set printer to name "Fax"
report form db3p to file "c:\yangtest\myfile.tif" noconsole
faxNumb="7270552"
faxName = "Test File 1"
faxMess = "c:\yangtest\myfile.tif"
myFaxDocument =CREATEOBJECT("FaxComEx.FaxDocument")
myFaxDocument.Subject = "Test"
myFaxDocument.Recipients.Add(faxNumb, faxName)
myFaxDocument.CoverPage = ""
&& name of Cover Page Template
myFaxDocument.CoverPageType = 0
&& turn off auto cover page
myFaxDocument.Body = (faxMess)
JobID = myFaxDocument.Submit("")
TEST OK |
如何加入預設日期時間???? |
|
回頂端 |
|
|
|