Acces Denied when calling FaxDocument Submit

N

Neil

Hello all:

I have a Windows 2003 SBS server. My client is Windows XP.

I wrote this VB code in Access 2003 to send faxes using the FAXCOMEX
library. I have fax services installed on the client and have checked
that it has the fxcomex.dll on it.

Dim FS As New FAXCOMEXLib.FaxServer
Dim FD As New FAXCOMEXLib.FaxDocument

FS.Connect "MyServer"
FD.Body = "C:\Temp\test.rtf"

FD.CoverPageType = fcptNONE

FD.DocumentName = "Test"
FD.Priority = fptHIGH

FD.Recipients.Add (faxNumber)

FD.Submit("MyServer")

I am getting an Access Denied error on the FD.Submit line.

I have checked the event viewer on both the client and server and dont
see anything.

I have the fax printer installed on the client machine and I can print
anything I want to it and it faxes fine. When I installed the fax
printer, I
provided the user name and password I set up for it and I told it to
remember the password.

Any ideas why I am getting the access denied error?

Thanks
Neil
 

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