How to convert a DOC or PDF to TIFF (Fax format) in VB.NET?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jane

    How to convert a DOC or PDF to TIFF (Fax format) in VB.NET?

    Hi, I have written a simple program in VB.NET which can fax a Tiff
    image to the Fax Printer connected via fax modem automatically. But
    few steps are missing, which is the conversion of DOC or PDF (the
    input file format) to TIF format, can anyone help!!!

    Thank you in advance.

    See coding below:

    Private Sub Button1_Click(B yVal sender As System.Object, ByVal e
    As System.EventArg s) Handles Button1.Click
    Dim FS As Object
    Dim FileName As String
    Dim JobId As Long
    Dim ServerName As String
    Dim FD As Object

    FS = CreateObject("F axServer.FaxSer ver")
    ServerName = "ads-jane2k"
    FS.Connect(Serv erName)

    '==== Convert the DOC or PDF file to TIF file here!! ====
    FileName = "C:\TEST.TI F"
    FD = FS.CreateDocume nt(FileName)

    FD.Faxnumber = "9 2515 3422"
    JobId = FD.Send()
    End Sub

    Best regards,
    Jane.
Working...