PRB: MsGraph 8.0 Causes Fatal Exception Error (189927)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q189927 SYMPTOMS
If you define an MsGraph 8.0 object with the Top, Left, Width, Height,
Autosize, and Stretch properties in the class in Visual FoxPro 5.x, an
exception error might occur when the class is instantiated.
RESOLUTION
Do not include the Top, Left, Width, and Height properties in conjunction
with Autosize and Stretch properties in the class.
Use the following sample code to work around for this problem:
PUBLIC x
x=CREATEOBJECT('MyForm')
x.ole1.AutoSize=.F.
x.ole1.Stretch=0
x.ole1.DoVerb()
x.Show
DEFINE CLASS MyForm AS Form
WindowType=1
ADD OBJECT ole1 AS OleControl WITH ;
OleClass='MSGraph.chart.8',;
Top=10, Left=10, Width=100, Height=100
ENDDEFINE
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | kbprb KB189927 kbAudDeveloper |
---|
|