PDA

View Full Version : Sombody know how faxing a crystal report?


Antonio J. Ramos
July 21st 04, 07:17 PM
I need to send a report by fax, from visual basic code.
Anybody howto??

Loganatr [MSFT]
July 22nd 04, 02:31 PM
Sample VB program to send a attachment.
---------

Dim FaxServer As New FAXCOMEXLib.FaxServer
FaxServer.Connect ("testserver")

Dim FaxDocument As New FAXCOMEXLib.FaxDocument
FaxDocument.Body = "C:\tmp.txt"
Call FaxDocument.Recipients.Add("1022", "Test Fax")
FaxDocument.Subject = "subject"
FaxDocument.CoverPageType = fcptNONE
FaxDocument.DocumentName = "Name"
FaxDocument.Priority = fptNORMAL

Dim sender As FAXCOMEXLib.FaxSender
FaxDocument.sender.LoadDefaultSender

FaxDocument.Submit ("")

MSDN Link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxabout_18s3.asp

--
Loganatr [MSFT]
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'



"Antonio J. Ramos" > wrote in message
...
>I need to send a report by fax, from visual basic code.
> Anybody howto??
>
>

Loganatr [MSFT]
July 22nd 04, 02:31 PM
Sample VB program to send a attachment.
---------

Dim FaxServer As New FAXCOMEXLib.FaxServer
FaxServer.Connect ("testserver")

Dim FaxDocument As New FAXCOMEXLib.FaxDocument
FaxDocument.Body = "C:\tmp.txt"
Call FaxDocument.Recipients.Add("1022", "Test Fax")
FaxDocument.Subject = "subject"
FaxDocument.CoverPageType = fcptNONE
FaxDocument.DocumentName = "Name"
FaxDocument.Priority = fptNORMAL

Dim sender As FAXCOMEXLib.FaxSender
FaxDocument.sender.LoadDefaultSender

FaxDocument.Submit ("")

MSDN Link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxabout_18s3.asp

--
Loganatr [MSFT]
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'



"Antonio J. Ramos" > wrote in message
...
>I need to send a report by fax, from visual basic code.
> Anybody howto??
>
>

Loganatr [MSFT]
July 22nd 04, 02:31 PM
Sample VB program to send a attachment.
---------

Dim FaxServer As New FAXCOMEXLib.FaxServer
FaxServer.Connect ("testserver")

Dim FaxDocument As New FAXCOMEXLib.FaxDocument
FaxDocument.Body = "C:\tmp.txt"
Call FaxDocument.Recipients.Add("1022", "Test Fax")
FaxDocument.Subject = "subject"
FaxDocument.CoverPageType = fcptNONE
FaxDocument.DocumentName = "Name"
FaxDocument.Priority = fptNORMAL

Dim sender As FAXCOMEXLib.FaxSender
FaxDocument.sender.LoadDefaultSender

FaxDocument.Submit ("")

MSDN Link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxabout_18s3.asp

--
Loganatr [MSFT]
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'



"Antonio J. Ramos" > wrote in message
...
>I need to send a report by fax, from visual basic code.
> Anybody howto??
>
>

Google