PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Fax
faxserver.connect()
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Fax
faxserver.connect()
![]() |
faxserver.connect() |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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/d...inta_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. "Russ" <googlegroups@russellengland.com> wrote in message news:8570d88d.0409060036.1f86bee4@posting.google.com... > 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 |
|
|
|
#3 |
|
Junior Member
|
Do you know whether the Extended COM APIs could be used in C#/.NET? I'm new to C# and even newer to COM ...
|
|
|
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

