Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from Windows 2000 server
Message
From
17/03/2004 17:07:01
 
 
To
17/03/2004 16:41:10
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00887277
Message ID:
00887296
Views:
10
Diane,

Have you tried:

loFaxServer.Connect('YOURSERVERNAME') substituting the correct name? Works here (VFP8)...

>Hi,
>
>I've been testing this piece of code. It goes well under a XP pro machine but gives an "unknown" error on the connect line when using a Windows 2000 server (opening VFP 6.0 directly on the server and typing each line in VFP command windows).
>
>Just asking, does anybody has this work on a windows 200 server?
>
>
>SET OLEOBJECT ON
>
>loFaxServer = CreateObject("FaxServer.FaxServer")
>loFaxServer.Connect('') && It will use local Fax Server
>loFaxDoc = loFaxServer.CreateDocument("C:\fax\fax.txt")
>loFaxDoc.FaxNumber = "+1 (514) 1234455"
>loFaxDoc.RecipientName = "Some Name"
>loFaxDoc.Send()
>
>loFaxDoc = .NULL.
>loFaxServer.Disconnect()
>loFaxServer = .NULL.
>
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform