cannot send faxes using MS Fax Console

R

rs250

Fax Services is installed on Win 2k3 Standard Edition. These are the
steps that I use in the Fax Console to send a fax:

1) Click Send Fax under File Menu
2) Click Next, To: Test, Location: US (1), Enter Fax Number, Check Use
Dialing Rules
3) Subjet Line: Test
4) Send fax: Now, Priority: Normal
5) Click Finish

In the Fax Console window, the Extended Status has "No answer" after 4
tries. I'm not sure why the fax doesn't get sent.

Some background info:
There are 3 Comtrol RocketModem III devices in the Fax Service Manager
that are setup to send and receive faxes. All of these 3 devices are
checked in the "Configure Fax". In Fax Service Manager the order of
priority is given to the third device.

What I'm trying to accomplish is to send a fax through Vb6 by using the
FaxComEx Library. Here is the code that I wrote on a Win XP Pro SP2 OS:


Private Sub SetupFax()

Dim objFaxServer As FAXCOMEXLib.FaxServer
Dim objFaxDocument As FAXCOMEXLib.FaxDocument
Dim objFaxDevice As FAXCOMEXLib.FaxDevice
Dim jobid As Variant

On Error GoTo Error_Handler

Set objFaxServer = New FAXCOMEXLib.FaxServer
Set objFaxDocument = New FAXCOMEXLib.FaxDocument
objFaxServer.Connect "svrimage.centurysd.com"
Set objFaxDevice = objFaxServer.GetDevices.Item(3)
objFaxDevice.SendEnabled = True 'Not sure if I need this proprety
objFaxDevice.Save 'Not sure if I need this proprety
objFaxDocument.Body = "C:Test.txt"
objFaxDocument.Recipients.Add "fax #", "Test"
jobid = objFaxDocument.ConnectedSubmit(objFaxServer)
MsgBox "The jobid is " & jobid
Set objFaxServer = Nothing
Set objFaxDocument = Nothing
Set objFaxDevice = Nothing

Error_Handler:

MsgBox "Error number: " & Hex(Err.Number) & ", " & Err.Description
End Sub

I am able to use the Connect property and connect to the third device
(Comtrol RocketModem III 3rd device), but when I try to use the
ConnectedSubmit property I get the error: Run time error
'-2147024894(80070002)': Operation Failed

Am I getting the error above because I cannot send a fax through fax
console?

Sorry for the Loong message.

Thanks for the help!
 
G

Guest

Basic question: Is your internal old fashioned telephone/fax modem connected
to your plain old telephone line? You cannot use cable or dsl modems for
faxes.
 
R

Russ Valentine [MVP-Outlook]

I'm not seeing any Outlook issues here. Perhaps the relevant fax group might
be a good place to post.
 
R

rs250

The internal modem is old fashioned telephone/fax modem. Each modem
has a corresponding telephone number. And when faxing I can hear the
ring tone. Sorry I am learning all this as I go, is there a simpler
way to find out if the fax modems are connected using telephone lines?
I cannot see the back of the PC and looking at Modems under Device Mgr
doesn't give much info.

I figured out how to send a fax from MS Fax Console. The problem was
when sending the fax number the format has to be x-xxx-xxxx (or at
least I think).

Still having the problem with the VB error on ConnectedSubmit. I tried
changing the code to objFaxDocument.Recipients.Add "x-xxx-xxxx",
"Test", but that didn't resolve the problem. The msdn vb code sample
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/fax/faxusing_27co.asp)
has objFaxDocument.Recipients.Add "12345678", "Test" and I've already
tried that. If anyone has any suggestions, please let me know.

Thanks!
 
R

rs250

I went to DOS Prompt and the file was saved as test.txt.txt so I
renamed the file and now the error 80070002 issue is resolved.

But now I receive another error: 800710D8. After searching the error
on Google, I found out that the error means that the fax printer isn't
installed on the client machine.

The network fax that is installed on my PC (Win XP Pro SP2) is the fax
modem on the server. The fax icon in "Printers and Faxes" is a MS
Shared Fax Driver and clicking on opens up Fax Console. So I should be

able to send a fax through the vb code and that fax should appear in
the Fax Console.

If I have a MS Fax Shared Driver installed then why the error? Any
suggestions on how to resolve the error?

Thanks.
 

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