Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word application
Message
De
26/09/2003 11:33:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00832681
Message ID:
00832722
Vues:
22
RELEASE ALL LIKE o*
PUBLIC oWord
LOCAL oRange, oTable, nRecCount, nTotalOrders
LOCAL nRow
nRow = 0
oWord = CreateObject("Word.Application")
oWord.Documents.Add()

I think tat the error is generated by the CreateObject command
Remember that it gives me no error if I run it from VFP environment


>Can you post a code that generates this error?
>
>>The dot is present i forgot to write it in the message
>>:-)
>>
>>>I don't see a '.' (dot) in 'WORD APPLICATION'. It should be 'WORD.APPLICATION'.
>>>
>>>>No, it is installed and all works fine if I run the application from the VFP programming environment
>>>>
>>>>>You would get this error if there's no MS Word installed on the PC.
>>>>>
>>>>>>How come that I get the error Class definition WORD APPLICATION not defined
>>>>>>when i run an executable ?
>>>>>>This not happens in VFP environment.
>>>>>>Is there something (i'm sure there is) i should do in building my executable ?
>>>>>>Thanks
>>>>>>Alessio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform