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.
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.