Hi! Hopefully somebody has seen this and knows the answer.
Using any version of VFP from 6 to 9, using the FaxServer COM object provided by Windows to send out faxes. A simple code snippet is as follows:
lo_f = createobject("faxserver.faxserver")
lo_d = lo_f.createdocument("test.pdf")
lo_d.faxnumber = "9999999999"
All PCs are either running W2K or XP, have FAXCOM.DLL present, and the MS Shared Fax Printer Driver installed. This code works on some of the XP PCs, but not all, and on none of the W2K PCs.
The FaxServer object can be created on all PCs. However, on the PCs on which the code fails, when the Connect command is issued, I receive an OLE Error 0x80004005 Unspecified Error.
There appears to be no rhyme or reason to it. I have looked at registry settings and all of the PCs look identical. I have tried putting in the name of the fax server in the Connect and leaving it blank.
Any ideas would be appreciated.