Help Needed, Receive Faxes (FAXCOMEXLib)

spurr82

New member
Joined
Mar 27, 2008
Messages
1
Programming Experience
1-3
Hi, I am new to VB.Net and I am currently working on a FAX application.

So far I am able to send faxes with this code:

Imports FAXCOMEXLib
Imports FAXCOMLib
Imports System.IO
Imports System.IO.StreamWriter



Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
Dim objFaxDocument As New FAXCOMEXLib.FaxDocument
Dim objFaxServer As New FAXCOMEXLib.FaxServer

Dim JobID As Object


objFaxServer.Connect("")
objFaxDocument.Body = "c:\Test.txt"
objFaxDocument.DocumentName = "My First Fax"
objFaxDocument.Recipients.Add("902380663584", "Bud")
objFaxDocument.AttachFaxToReceipt = True
objFaxDocument.Note = "Here is the info you requested"
objFaxDocument.Subject = "Today's fax"
JobID = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox("The Job ID is :" & JobID(0))

Catch ex As Exception
MsgBox("Error number: " & Hex(Err.Number) & ", " & Err.Description)
End Try
End Sub
End Class

I now want to be able to receive faxes and save them to a file location. Is there anyone that can help, I cannot find any code examples for this.

Thanks in advance.

Si
 
Back
Top