Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't Release Instances of Word 2000
Message
From
24/07/2000 21:27:00
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00396421
Message ID:
00396437
Views:
9
Hi Larry,

Thanks for the tip, It worked great. Interesting that Outlook and Excel don't require a Quit though.

Gavin...

>Gavin,
>While I can't explain the problem (it exists with NT 4 and SP3 of VFP as well), a workaround is to issue a oWord.Quit before releasing the variable (although you probably figured that out by now *s*).
>
>>Hi All,
>>
>> I'm having a problem when creating instances of Word 2000 through VFP6.0 SP4.
>>
>>I am doing the following:
>>
>>oWord = CreateObject("word.application")
>>
>>* Rest of code
>>
>>RELEASE oWord
>>
>>I would have thought that the instance of Word would have disappeared after the RELEASE, but it remains. I can create Outlook and Excel objects using the same syntax and they disappear after issuing RELEASE.
>>
>>Any Ideas?
>>
>>Thanks,
>>Gavin...
Previous
Reply
Map
View

Click here to load this message in the networking platform