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
Diane Robitaille eng.