Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automation with VFP checking server not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00584148
Message ID:
00587487
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform