VB 5.0, OLE, Access 97, Graph 97
Hi All,
I have a Graph 97 object in an OLE/Object field in an Access 97
database, which is viewed through an OLE control on a VB 5 form. On the
graph I have drawn a few lines and text boxes (DrawingObjects,
Freeforms, Autoshapes,....etc) which the user would like to be able to
change the properties of. Such as the colour of the lines or the text
in the text boxes. When I try to access the objects properties I get a
run-time error, "Run-time error '438': Object does not support this
property or method". Here is an example of the code I am using to try
and acheive this;
====================================
Me!OLE1.object.Application.Chart![Text Box 28]=Text1 (<----from VB form)
Or
Me!OLE1.object.Application.AutoShape![Line1]=vbBlue
====================================
I have tried many variations of the above code line as well.
My question being, is there any way I can manipulate properties of a
Drawing Object, Free Form, AutoShape,.... placed on a graph 97 object.
Using an OLE control on a VB form via code.
A million thanks in advance and later for any help.
Regards,
Chuppa
--
Surf Usenet at home, on the road, and by email -- always at Talkway.
http://www.*-*-*.com/