Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OChart.Application.Quit takes a long time. Why?
Message
From
13/05/2004 12:16:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
OChart.Application.Quit takes a long time. Why?
Miscellaneous
Thread ID:
00903678
Message ID:
00903678
Views:
40
I have several MS Graphs in a Word document that I am manipulating basically as follows.
The problem is that OChart.Application.Quit takes a long time, 10 seconds on my machine.
Does anyone have any idea why this is or how to speed it up?
Thanks,

local oChart as Object
oWord.ActiveDocument.Bookmarks("C_PerformChart").select
oWord.selection.InlineShapes(1).OLEFormat.edit()
oChart = oWord.selection.InlineShapes(1).OLEFormat.object
with oChart
.activate
.ChartTitle.caption = "Blah"
.application.DataSheet.cells(2,2).value = lnTestTime
.application.update
.application.quit && this takes around 10 seconds on my machine
endwith
oChart = .null.
release oChart
Reply
Map
View

Click here to load this message in the networking platform