FAX sample application on W2003: office documents

From: Christian (cbonjovi_at_tiscali.it)
Date: 01/11/05


Date: Tue, 11 Jan 2005 10:39:16 +0100

I'm using the following code to fax a .doc as provided by MSDN indications
http://msdn.microsoft.com/msdnmag/issues/01/08/FaxServ/

I've created an ActiveX dll with this code:

Dim objFaxDocument As New FAXCOMEXLib.FaxDocument

'Set the fax body
objFaxDocument.Body = myfile

'Add recipient
objFaxDocument.Recipients.Add "0123456789", "John"

'Submit the document to the fax server at localhost
objFaxDocument.Submit ("")

The Microsoft FAX is configured on a Windows2003 Std machine with IIS and
where I've
installed Office XP and Acrobat Reader.

Well I've done 2 tests:

1a- calling the dll to fax myfile=test.pdf from a sample .exe application:
the fax is put in the outgoing queue and ready to be sent.
1b- calling the dll to fax myfile=test.pdf from a sample .asp page: the fax
is put in the outgoing queue and ready to be sent

2a- calling the dll to fax myfile=test.doc or test.xls from a sample.exe
application: the fax is put in the outgoing queue and ready to be sent.
2b- calling the dll to fax myfile=test.doc or test.xls from a sample .asp
page: the Submit method always returns Operation failed and the Winword
process (or Excel) hangs on TaskManager.

Any idea ?
Rgds,
Christian



Relevant Pages

  • Re: Error when importing DLL
    ... in asp you are calling your dll thru com, in asp.net you are trying to do ... calling com interfaces. ... I have received a dll with an encrypting function I have to use in a ...
    (microsoft.public.dotnet.framework.aspnet)
  • Accessing .NET DLL(s) from Classic ASP
    ... I have similar question that i saw yesterday (Calling .NET DLL from Classic ... We have production website running on Classic ASP (Windows Server 2003 E.Ed ... to their respective colleges (they have provided us web services), ...
    (microsoft.public.inetserver.asp.components)
  • Re: The Lib debate
    ... >>Calling Functions in a DLL is a comletely different thing. ... For shared object libraries you have to call ... I have been told that zip comes with a Lib only. ...
    (alt.lang.asm)
  • Re: using the CWegPage.dll
    ... It is using the WINAPI (_stdcall) calling ... > The source code for the DLL is on that page and is in this link to the zip ... >> change the calling convention to that which VB can handle. ... >>> The goal is to put an internet explorer web browswer on my form. ...
    (microsoft.public.vc.language)
  • Re: using the CWegPage.dll
    ... It is using the WINAPI (_stdcall) calling ... > The source code for the DLL is on that page and is in this link to the zip ... >> change the calling convention to that which VB can handle. ... >>> The goal is to put an internet explorer web browswer on my form. ...
    (microsoft.public.vb.winapi)