Google Answers Logo
View Question
 
Q: Send Fax C# using FaxCOMLibEx ( No Answer,   0 Comments )
Question  
Subject: Send Fax C# using FaxCOMLibEx
Category: Computers > Programming
Asked by: frsperandio-ga
List Price: $3.00
Posted: 22 Feb 2004 20:41 PST
Expires: 23 Mar 2004 20:41 PST
Question ID: 309700
I am trying to send a fax thourght ASP.NET/C# using the FaxCOMLibEx .
I can send the fax sucessfully when I send a Text file, but when I try
send a .doc I don't have any answer, the application (Webform) just
run forever. Sometimes I receive a FileNotFoundException, but I am
sure the file is there. I can see a WINWORD.exe process running under
the ASPNET account with 100% of the CPU time. If I try other file
type, gif for instance, the same thing happened and I can see a
PHOTOEDR.exe process runing as the WINWORD.exe.

I am using the folowing code written in c#:

FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServer();
FAXCOMEXLib.FaxDocument faxDocument = new FAXCOMEXLib.FaxDocument();
faxServer.Connect("Mycomputer");
faxDocument.Recipients.Add("82948440","Someone");
faxDocument.Body = Server.MapPath("Fax.doc");
faxDocument.ConnectedSubmit(faxServer);

Again, with a .txt file works fine, but .doc don't.

The Microsoft's documentation about the FaxDocument's Body property says:

"Examples of documents that you can send as a fax body are a text file
(.txt), a Microsoft Word document (.doc), or a Microsoft Excel
spreadsheet (.xls). When you send a fax from a client computer, the
body has to be associated with an application that is installed on
that computer, and the application has to support the PrintTo verb;
otherwise, the fax will fail."

Ok, I have word installed and the word support the PrintTo verb.

Anyone can solve this mistery?

Thanks,

Fabricio
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy