Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word does not start
Message
 
À
20/10/2008 06:19:28
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355544
Message ID:
01355825
Vues:
23
What if:
lcOldError = ON([ERROR])
loWord = createobject('Word.Application')
ON ERROR &lcOldError
If !TYPE("loWord") or ISNULL(loWord) THEN
   Messgabox(..)
   Return False
endif
>Hi Sergey,
>
>no, I didn't see it here. The error handler is simple
>
>loWord = createobject('Word.Application')
>
>If !TYPE("loWord") or ISNULL(loWord) THEN
>Messgabox(..
>Return False
>endif
>
>
>It seem that this is one one comp ony and this comp has other problems with word automation to. I wait for a new install of Office.
>
>Agnes
>>Hi Agnes,
>>
>>Maybe the error handler eats the error?
>>
>>>
>>>no CREATEOBJECT simply returns no object.
>>>
>>>Agnes
>>
>>>>
>>>>do you get an OLE error or any message at all? This happened to me once and re-installing Word fixed the problem, but I think I got an error message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform