Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing excel after automation causes GPF in excel
Message
From
15/12/1999 11:27:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
15/12/1999 11:20:04
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00303229
Message ID:
00304124
Views:
34
>Hi Cetin
>
>Thanks for your answer.
>
>I tried your suggestion, but I still got the error, I fixed the problem by releasing all references made to any excel object, before I call the applications quit method
>
>For example
>
>If you had created a reference within your program to a worksheet object
>
>oWorksheet=oexcel.worksheets(1)
>This reference must be released before we can release the excel object.
>
>Thanks
>
>Steven


Ohh, you had more severe situation :) I got my lesson about it too and now set them to .null. as soon as I'm done with them :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform