Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word does not start
Message
From
20/10/2008 06:25:41
 
 
To
20/10/2008 06:19:28
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355544
Message ID:
01355825
Views:
24
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform