S
StepHenHairNet
Hi to everyone on this group,
I have a problem with MS Graph which I wonder if anyone can help me with.
I have built an application in VB.Net, using a WebBrowser control to act
as an pseudo OLE container for the Graph Object, as OLE is not supported
in .Net.
After some initial tests I’ve managed to get the Application to appear and
users are able to interact with it via some external controls on the same
Windows form.
My problem is that the MS Graph application turns “invisible†from time to
time. It’s process is still present on the machine, but the Browser Window
that held the Graph Object shows nothing. I have incorporated a button to
“refresh†the application (this kills the previous process and recreates a
new one, thus making it “visible†again) but this is not really desirable.
I’m fully aware of the limitations and frustrations of MS Graph and have
gone into this project knowing this, but ultimately, the final outputs
from the application are in PowerPoint and as such there is no alternative
BUT to use MS Graph. I’m also aware other charting engines are available,
but this is a road I cannot go down.
I'm currently developing this in vb.Net using XP Pro, although I think
this is a more generic issue.
Does anyone else have any experience of controlling an OLE instance of MS
Graph in this way and have some information about “keeping it stable�
Regards,
Mr HairNet.
I have a problem with MS Graph which I wonder if anyone can help me with.
I have built an application in VB.Net, using a WebBrowser control to act
as an pseudo OLE container for the Graph Object, as OLE is not supported
in .Net.
After some initial tests I’ve managed to get the Application to appear and
users are able to interact with it via some external controls on the same
Windows form.
My problem is that the MS Graph application turns “invisible†from time to
time. It’s process is still present on the machine, but the Browser Window
that held the Graph Object shows nothing. I have incorporated a button to
“refresh†the application (this kills the previous process and recreates a
new one, thus making it “visible†again) but this is not really desirable.
I’m fully aware of the limitations and frustrations of MS Graph and have
gone into this project knowing this, but ultimately, the final outputs
from the application are in PowerPoint and as such there is no alternative
BUT to use MS Graph. I’m also aware other charting engines are available,
but this is a road I cannot go down.
I'm currently developing this in vb.Net using XP Pro, although I think
this is a more generic issue.
Does anyone else have any experience of controlling an OLE instance of MS
Graph in this way and have some information about “keeping it stable�
Regards,
Mr HairNet.