Problem in faxing

D

Developer

Hi,

I am using FAXCOMLib component to send Fax from C# code.
It is giving me following error message while
instantiating FaxDocClass class..
"COM object with CLSID {FA21F4C6-5C4C-11D1-83CF-
00C04FB6E984} is either not valid or not registered."


complete code is like this..

FAXCOMLib.FaxServer FXServ = new FAXCOMLib.FaxServerClass
();
FXServ.Connect("");
//FXServ.Connect("\\localhost");
FAXCOMLib.FaxDoc FXDoc = new FAXCOMLib.FaxDocClass
();
int iFaxJob;
//FXDoc = CType(FXServ.CreateDocument
("C:\fax.doc"), FAXCOMLib.FaxDoc);
//FXDoc.FileName = "C:\fax.doc";

FXDoc.FaxNumber = "2320100";
FXDoc.SenderName = "Fax Test";
FXDoc.DisplayName = "Test";
iFaxJob = FXDoc.Send();
FXServ.Disconnect();

If anybody is having idea about this, please help me. Also
if there is any better way to send from C# code please let
me know.
 
C

Chandrasekar [MSFT]

Do you have fax installed on the system in which you are running this code?
You can check this by doing a "net start fax" in the command line and see
whether the service is running.

Thanks,

--
Chandrasekar R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top