If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Update Chart Fail.
Hi All,
I'm facing a problem while I work with .NET 1.1, Windows 2000 & office 2000 to generate chart in PPT. Thing is like after I import the data into PPT chart's datasheet and update the chart , sometimes the chart can be updated and displayed properly, but sometimes it can't. Could anyone help? Thankx |
#2
|
|||
|
|||
Update Chart Fail.
I'm facing a problem while I work with .NET 1.1, Windows 2000 & office 2000
to generate chart in PPT. Thing is like after I import the data into PPT chart's datasheet and update the chart , sometimes the chart can be updated and displayed properly, but sometimes it can't. It's hard to diagnose w/o knowing what your code's doing. Most of us use VBA, but perhaps if you post the relevant code we can work it out. And please give us a more detailed desciption of the symptoms. And finally, is there any pattern to when it works and when it doesn't? And postfinally, the usual problem in this kind of situation is that you activate the MSGraph chart, modify the data and/or properties, then quit MSGraph but the chart doesn't change. It's back to its old self. The fix for this is to call the MSGraph application's .Update method before closing it and releasing variables. ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ |
#3
|
|||
|
|||
Update Chart Fail.
In the .NET code, I use an object to represent the datasheet of MSGraph. And
then via code I paste some data into the datasheet. In the Visual Studio, I can find data which has been imported into the object. But at the same time in the UI of PPT, I can't watch any data in MSGraph datasheet. I've invoked update method of MSGraph before I quit the MSGraph. "Steve Rindsberg" wrote: I'm facing a problem while I work with .NET 1.1, Windows 2000 & office 2000 to generate chart in PPT. Thing is like after I import the data into PPT chart's datasheet and update the chart , sometimes the chart can be updated and displayed properly, but sometimes it can't. It's hard to diagnose w/o knowing what your code's doing. Most of us use VBA, but perhaps if you post the relevant code we can work it out. And please give us a more detailed desciption of the symptoms. And finally, is there any pattern to when it works and when it doesn't? And postfinally, the usual problem in this kind of situation is that you activate the MSGraph chart, modify the data and/or properties, then quit MSGraph but the chart doesn't change. It's back to its old self. The fix for this is to call the MSGraph application's .Update method before closing it and releasing variables. ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ |
#4
|
|||
|
|||
Update Chart Fail.
In article , -=Roger=- wrote:
In the .NET code, I use an object to represent the datasheet of MSGraph. And then via code I paste some data into the datasheet. In the Visual Studio, I can find data which has been imported into the object. But at the same time in the UI of PPT, I can't watch any data in MSGraph datasheet. I've invoked update method of MSGraph before I quit the MSGraph. No idea, then. Try posting your code here ... perhaps that'll make it clearer. "Steve Rindsberg" wrote: I'm facing a problem while I work with .NET 1.1, Windows 2000 & office 2000 to generate chart in PPT. Thing is like after I import the data into PPT chart's datasheet and update the chart , sometimes the chart can be updated and displayed properly, but sometimes it can't. It's hard to diagnose w/o knowing what your code's doing. Most of us use VBA, but perhaps if you post the relevant code we can work it out. And please give us a more detailed desciption of the symptoms. And finally, is there any pattern to when it works and when it doesn't? And postfinally, the usual problem in this kind of situation is that you activate the MSGraph chart, modify the data and/or properties, then quit MSGraph but the chart doesn't change. It's back to its old self. The fix for this is to call the MSGraph application's .Update method before closing it and releasing variables. ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ |
Thread Tools | |
Display Modes | |
|
|