当前位置:首页 科普知识 faxcom.dll

faxcom.dll

发布时间:2023-09-06 05:19:16

FaxCom.dll 传真服务客户API的COM接口

faxcom.dll详细介绍

FaxCom.dll 传真服务客户API的COM接口

faxcom.dll

微软 windows2000 系统自带DLL

c# 下使用方法

faxDoc = (FAXCOMLib.FaxDoc)faxSrv.Createdocument(this.fileName);

if (faxDoc != null)

{

faxSrv.Connect(System.Net.Dns.GetHostName());

faxDoc.FaxNumber = this.faxNumber;

faxDoc.FileName = this.fileName;

faxDoc.Send();

}

faxcom.dll使用方法

FaxCom.dll 传真服务客户API的COM接口

微软 windows2000 系统自带DLL

c# 下使用方法

faxDoc = (FAXCOMLib.FaxDoc)faxSrv.Createdocument(this.fileName);

if (faxDoc != null)

{

faxSrv.Connect(System.Net.Dns.GetHostName());

faxDoc.FaxNumber = this.faxNumber;

faxDoc.FileName = this.fileName;

faxDoc.Send();

}

faxcom.dll

faxcom.dll调用方法

首先 引用FAXlib 部件

Private Sub Form_Load()

Dim lngSend As Long

Dim strComputer As String

Dim oFaxServer As FAXCOMLib.FaxServer

Dim oFaxDoc As FAXCOMLib.FaxDoc

On Error Goto ErrHandler

strComputer = "wokofocomputer"

Set oFaxServer = New FAXCOMLib.FaxServer

oFaxServer.Connect strComputer

oFaxServer.ServerCoverpage = 0

Set oFaxDoc = oFaxServer.Createdocument(App.Path & "" & "New Text document.txt")

With oFaxDoc

.FaxNumber = "01084927299"

.DisplayName = "made by wo wokofo"

lngSend = .Send

End With

Set oFaxDoc = Nothing

oFaxServer.Disconnect

Set oFaxServer = Nothing

Exit Sub

ErrHandler:

MsgBox Err.Number & " " & Err.Description

faxcom.dll

Err.Clear

End Sub

ASP 等脚本语言需要自己编译生成DLL 才能调用

更多请翻阅MSDN上相关资料

温馨提示:
本文【faxcom.dll】由作者 爱百科 转载提供。 该文观点仅代表作者本人, 自学教育网 信息发布平台,仅提供信息存储空间服务, 若存在侵权问题,请及时联系管理员或作者进行删除。
(c)2008-2025 自学教育网 All Rights Reserved 汕头市灵创科技有限公司
粤ICP备2024240640号-6