A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Update Chart Fail.



 
 
Thread Tools Display Modes
  #1  
Old April 8th, 2008, 08:41 AM posted to microsoft.public.powerpoint
-=Roger=-
external usenet poster
 
Posts: 2
Default 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  
Old April 8th, 2008, 03:09 PM posted to microsoft.public.powerpoint
Steve Rindsberg
external usenet poster
 
Posts: 9,366
Default 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  
Old April 9th, 2008, 03:58 AM posted to microsoft.public.powerpoint
-=Roger=-
external usenet poster
 
Posts: 2
Default 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  
Old April 9th, 2008, 03:49 PM posted to microsoft.public.powerpoint
Steve Rindsberg
external usenet poster
 
Posts: 9,366
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.