Click here to Skip to main content
14,922,577 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
I am sending fax as follows:
VB
Try
            Dim fxsvr = New FAXCOMLib.FaxServer
            Dim fxdoc As FAXCOMLib.FaxDoc = CType(fxsvr.CreateDocument("" & strOutFilePath.Trim & ""), FAXCOMLib.FaxDoc)
            Try
                fxsvr.Connect(strServer)
            Catch ex As Exception
                'MessageBox.Show("Error server : " & ex.ToString())
                Return ex.Message
            End Try

            fxdoc.FileName = strOutFilePath.Trim
            fxdoc.FaxNumber = intToNumber
            fxdoc.SenderTitle = strOutFaxRef.Trim
            fxdoc.RecipientName = strToperson.Trim
            fxdoc.SenderDepartment = strOutFaxRef.Trim
            Try
                fxdoc.Send()
            Catch ex As Exception
                fxsvr.Disconnect()
                Return "Error sending" & ex.Message
            End Try
            fxsvr.Disconnect()
            Return "SENT"
        Catch ex As Exception
            Return ex.Message
        End Try

in windows fax, if it is more than 5 pages of fax its sending duplicate. Like example if 7 pages are there then it will send till 6 pages then it will stop and again it will send 6 pages and again its stoping and if its more pages its stoping at some number of pages. Don't know how its happening.

Can you please help me to sort out the issue.
Posted
Updated 31-May-11 8:40am
v2
Comments
[no name] 1-Jun-11 1:59am
   
What OS are you using?
If you are using XP with servicepack < 4 this may be the problem.

1 solution

yes, then what is the solution to sort this out.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900