Problem in faxing

  • Thread starter Thread starter Developer
  • Start date Start date
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.
 
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.
 
Back
Top