Solved

Microsoft Fax using MIcrosoft Studio .NET

Posted on 2010-09-02
1
326 Views
Last Modified: 2012-05-10
Please refer to the coding below:
After I restarted my window and I excuted the code, the fax send succesfully for first time.
It failed for subsequence execution.
Any suggestion?
Dim objFaxDocument As New FAXCOMEXLib.FaxDocument
        Dim objFaxServer As New FAXCOMEXLib.FaxServer

        Try
            objFaxDocument.Body = "c:\test.pdf"
            objFaxDocument.DocumentName = "RFQ"
            objFaxDocument.Recipients.Add("123333", "RFQ")
            objFaxDocument.Priority = FAXCOMEXLib.FAX_PRIORITY_TYPE_ENUM.fptNORMAL
            objFaxDocument.Subject = "RFQ"
            objFaxDocument.Sender.LoadDefaultSender()
            objFaxDocument.Submit("")

        Catch ex As Exception
            Response.Write(ex.Message)
        Finally
            objFaxDocument = Nothing
            objFaxServer = Nothing
        End Try

Open in new window

0
Comment
Question by:chwong67
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
Shahan Ayyub earned 500 total points
ID: 33591727
Hi!

Did you find DISCONNECT method in objFaxServer ??

Try to use it to disconnect.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question