Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 2K, W2K and vfp6sp5 OLE error
Message
De
26/09/2003 16:18:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Word 2K, W2K and vfp6sp5 OLE error
Divers
Thread ID:
00832836
Message ID:
00832836
Vues:
49
Hello buddies;

On w98 machines this code works pretty fine.. We just start it on a W2K machines.. And an error comes up:
If  TYPE("thisform.loWordApplication") <> "O"
    Thisform.loWordApplication = CREATEOBJECT("Word.Application")
Endif
Thisform.loWordApplication.Visible = .T.
Thisform.loWordApplication.Documents.Add("mymodel.dot", .F.)  && <-- error
Error: OLE IDispatch exception code 0 from Microsoft Word:
The name of document or path are invalid.

mymodel.dot is there on the same folder..

Is there any modifications on VFP's OLE to work with office 2K ?

TIA

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform