Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automation with VFP checking server not working
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00584148
Message ID:
00587487
Views:
12
Doug,

>I am using the cusword class from the MS Office Automation with VFP. I run into a problem checking the server with cusWord.IsServerOpen method. Does anyone know if the suggested code is correct? Word has already been opened, but it always returns .F. If Word is open, won't this always return .F.?
>
>RETURN VarType(This.oServer)<>"O" OR TYPE("This.oServer.Name")<>"C"

Yes, this has been identified on our errata page at the Hentzenwerke website. The correct line should be:
RETURN VarType(This.oServer)="O" AND TYPE("This.oServer.Name")="C"
More errata is at: http://www.hentzenwerke.com/catalogavailability/autofoxerrata.htm, and a FAQ is at http://www.hentzenwerke.com/catalogavailability/autofoxfaq.htm

Hope this helps!

- della Martin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform