473,511 Members | 14,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FAXCOM.dll

111 New Member
Dear ALL,

I am trying to work with FAXCOM.dll to send fax. But here i am getting an error at send() function.

Here is the code:
-----------------------

FAXCOMLib.FaxServer fxsrv = new FAXCOMLib.FaxServer();
FAXCOMLib.FaxDoc fxdoc = (FAXCOMLib.FaxDoc)fxsrv.CreateDocument("fbharath.t xt");
try
{
fxsrv.Connect(Environment.MachineName);
}
catch(Exception ex)
{
String str=ex.Message;
Response.Write("<script>alert('Error in the application : "+ex.Message+"');</script>");
return;
}

fxdoc.FileName = "fbharath.txt";
fxdoc.FaxNumber = "914023391105";
fxdoc.RecipientName = "Bharath Reddy VasiReddy";

try
{
fxdoc.Send(); //here i am getting error : The object identifier does not represent a valid object.
}
catch(Exception ex)
{
string str= ex.Message;
Response.Write("<script>alert('Error in the application : "+ex.Message+"');</script>");
return;
}
fxsrv.Disconnect();


Note:
Error Location send() function
Error Message: The object identifier does not represent a valid object. Exception from HRESULT : 0x800710D8

Thanking you in advance. Please if any one want to answer to this mail me to:


Thanks & Regs
Bharath Reddy VasiRedy
[email removed]
May 17 '07 #1
7 8784
bharathreddy
111 New Member
hai all,

The problem was solved but i dont know weather the fax is sent succesfully or not. What does this send() function return and how can we know the fax is been sent succesfully.


Thanks in advance


Bharath Reddy VasiReddy
eXensys
May 22 '07 #2
dixonjm
32 New Member
How did you resolve this issue as I have exactly the same problem!

Thanks
Janet
Aug 20 '07 #3
chapsi
1 New Member
Hi,

I am having the same problem too. Did anyone resolve this and if so how ? I am getting the following error message at the send() line.

The object identifier does not represent a valid object. Exception from HRESULT : 0x800710D8 ...

Thanks
Chapsi






How did you resolve this issue as I have exactly the same problem!

Thanks
Janet
Sep 24 '07 #4
Jeba Shaker
1 New Member
Hi Folks,

ANSWER:-
TO find out of the Send() worked, you can set it to an integer value:-
int x = Doc.Send()
Okay I gave an answer, but I have a question, how did you get it to work.

QUESTION:-
I have the same issue, Im getting an error in the Send()
System.Runtime.InteropServices.COMException was unhandled by user code
Message="The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"
Source="Interop.FAXCOMLib"
ErrorCode=-2147020584
StackTrace:
at FAXCOMLib.IFaxDoc.Send()

Jeba Shaker
jshaker@gmail.com / shaker@earth.us
Thanks
May 21 '08 #5
Plater
7,872 Recognized Expert Expert
We have two articles written by bharathreddy, on faxing that may be of some help to you all:
Sending a fax:
http://bytes.com/forum/thread668653.html

Finding the status of a fax:
http://bytes.com/forum/thread650334.html
May 21 '08 #6
Annzskrish
1 New Member
Hi ,

I tried using your code, getting the same error
"The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"

To send a fax from my application, is the modem installation is mandatory ?

Thanks in advance. a rply would be really appericated.
Jun 21 '08 #7
bharathreddy
111 New Member
Hi,
There are many reason why this error will come.

1) You should have a public IP
2) You should have a modem connected to your system.
3) Second thing is from where you are diling, see if there is any code for STD before you type the fax number.
4) Please see my posting "How to check the status of the fax operation" weather it is send succesfully or not.

Thanks & Regards
Bharath Reddy VasiReddy

Hi ,

I tried using your code, getting the same error
"The object identifier does not represent a valid object. (Exception from HRESULT: 0x800710D8)"

To send a fax from my application, is the modem installation is mandatory ?

Thanks in advance. a rply would be really appericated.
Jul 3 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5871
by: SAM | last post by:
Hi everyone, I consider myself a very competent programmer when it comes to actual programming and analyzing the business that I'm modelling. I am now crossing into what I would consider Access...
0
8450
by: irfan | last post by:
Hi there, I am trying to send a fax in C# using FaxCom.dll. Below is the code and it works fine. FAXCOMLib.FaxServerClass fsc = new FAXCOMLib.FaxServerClass (); fsc.Connect("MyMachineName");...
3
5185
by: rachana | last post by:
I am trying to send/receive fax through my .Net C# application. However I am not able to add reference to FaxComEx.dll ( the dll is not there in my machine)... Do I need to separately add this...
1
24883
by: kagorami | last post by:
G'Day, I am searching for an example of using FAXCOMEXLib in csharp. The COM interfaces are documented on msdn.microsoft.com however the examples are for VB and c++. Following up on a...
0
993
by: Suresh | last post by:
I'm using "Faxcom.dll" to send the fax in asp.net. But when connecting to fax server, I'm getting the following error. "System.Runtime.InteropServices.COMException: Unspecified error" I'm...
8
4138
by: Amol | last post by:
Hi , I am developing a web application.I need an interface in my application which will allow the user to send the fax domestic /international.I dont want to use 3rd party tool /service .Does...
3
16696
by: bharathreddy | last post by:
This article will explain you how to find the status of the fax operation. (Using FAXCOM.dll). Author: Bharath Reddy VasiReddy Reference to the FAXCOM.DLL Reference to import FAXCOM...
1
6477
by: bharathreddy | last post by:
hai all, I would like to share a small but yet valuable information about FAXCOM.dll to send fax. We can send FAX using either through modem or using mailserver. I have used modem to send...
0
1070
by: luch07 | last post by:
I get line is busy, i'm using a virtual modem on COM1, please any idea how fix it. This question has been split off of this article.
0
7252
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7371
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7432
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5676
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.