Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from Windows 2000 server
Message
From
17/03/2004 16:41:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Faxing from Windows 2000 server
Miscellaneous
Thread ID:
00887277
Message ID:
00887277
Views:
59
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.
Next
Reply
Map
View

Click here to load this message in the networking platform