Prev: How to refresh system tray when application closes?
Next: how to Automatically select next item in listbox
From: Bill Nguyen on 22 Aug 2007 13:16 I got thsi error trying to send a fax in a VB app using a Windows 2003 server Fax service: --------------------------- System.Runtime.InteropServices.COMException (0x800710D8): Operation failed. at FAXCOMEXLib.FaxDocumentClass.ConnectedSubmit(FaxServer pFaxServer) at PETROADMIN_2005.frmPTNotification.SendFax(String mDoc, String mFaxNo, String mRecipient) in C:\VS2005\PETROADMIN_2005\frmPTNotification.vb:line 1288 I ahve Adobe Acrobat 8.0 installed in my development desktop --------------- The routine is very simple: Dim objFaxDocument As New FAXCOMEXLib.FaxDocument Dim objFaxServer As New FAXCOMEXLib.FaxServer Dim objSender As FaxSender Dim JobID As Object 'Connect to the fax server objFaxServer.Connect("Printserver") 'Set the fax body objFaxDocument.Body = mDoc objFaxDocument.Recipients.Add(mFaxNo, mRecipient) 'Choose to attach the fax to the fax receipt objFaxDocument.AttachFaxToReceipt = True Try JobID = objFaxDocument.ConnectedSubmit(objFaxServer) Catch ex As Exception MsgBox(ex.ToString) End Try |