faxserver.connect()

R

Russ

What should I put in the connect string if I want to connect to a
Windows 2003 shared fax? eg:

Dim oFaxServer As New FAXCOMLib.FaxServer
Dim oFaxDoc As FAXCOMLib.FaxDoc
oFaxServer.Connect(strFaxServer)
oFaxDoc = oFaxServer.CreateDocument(sFaxAttachment)
oFaxDoc.FaxNumber = sFaxNumber
oFaxDoc.Send()

I've tried "Servername", "\\servername", "\\servername\fax" and "fax"

In vb.net I get "The handle is invalid" in vb6 I get "Method send
failed in object ifaxdoc". I've tried this in XP home and XP
professional.

I have added a connection to the fax server through "printers and
faxes" and I can print to the fax from Word. I can also fax if I use
"." as the server name, but this uses my local fax driver.

Any ideas?

Cheers

Russ
 
C

Chandrasekar [MSFT]

FAXCOMLib cannot be used to send faxes via the remote server. For local
server you can leave the server name string as blank. If you want to connect
to remote server and send a fax please make use of Extended COM APIs. For
further details on extended COM Apis see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxinta_n_7e05.asp.


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.
 
Joined
Dec 15, 2005
Messages
1
Reaction score
0
Extended COM APIs

Do you know whether the Extended COM APIs could be used in C#/.NET? I'm new to C# and even newer to COM ...
 

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