Solved

Microsoft Fax using MIcrosoft Studio .NET

Posted on 2010-09-02
1
327 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

719 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