Sending Faxes

Domini

New member
Joined
Aug 12, 2008
Messages
2
Hia All,
I need some help creating faxes through VB.Net.

Now, Ive gathered the the function to send faxes will resemble something like this:

Code:
Private Sub CreateFax()

Try
            Dim objFaxDocument As New FAXCOMEXLib.FaxDocument
            Dim objFaxServer As New FAXCOMEXLib.FaxServer
            Dim JobID As Object

            objFaxServer.Connect("bhm-lapt")
            objFaxDocument.Body = "C:\Dev\Test.txt"
            objFaxDocument.DocumentName = "My First Fax"
            objFaxDocument.Recipients.Add("0866953105", "Bud")
            objFaxDocument.Recipients.Add("0123456989", "Barend")
            objFaxDocument.AttachFaxToReceipt = True
            objFaxDocument.Note = "Here is the info you requested"
            objFaxDocument.Subject = "Todays 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


Firstly, I found that I require the fxscomex.dll in order to use the FAXCOMEXLib. Sadly this dll was nowhere to be found on my system.

Then I found out that I need to create a Fax Account before the fxscomex.dll will be created.

So finally in attempting to Create a fax account, I found to my disgust that nothing resembling a Fax Account/Fax Service setup existed on my system (Windows Vista Home Premium). The Menu Item Windows Scan and Fax does not exist.:confused:

I then thought perhaps its a Windows Program that needs to be installed under Add/Remove Windows Features...but no.

If anyone can help me out with this I would truly appreciate it!

P.S. I was able to create a fax onther machine (XP), but the fax remains in my outbox stating that No dial tone was found...

Thanks in advance for any help.
 
Nevermind above Thread, I have just found out that Fax services are not available on Vista Home editions...
 
Back
Top