ChrisRChamberlain
Programmer
Hi
To save re-inventing the wheel, perhaps someone could help with this.
I would like to create a read-only viewer form for MS Excel and a read-only viewer form for MS PowerPoint.
There is an ActiveX control called Microsoft Excel Worksheet and an ActiveX control called Microsoft PowerPoint Presentation.
What I don't see is where you set the path\filename property for each control - there is a read-only property called .DocumentFile for each control which can be used if you are using CREATEOBJECT() to create the object.
What would happen is that the viewer form is called from a grid event - automation is an obvious alternative, but as there are other viewers for graphics, RTF/text and PDF files contained within VFP forms, automation would be not be in keeping.
TIA HTH
Chris![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
To save re-inventing the wheel, perhaps someone could help with this.
I would like to create a read-only viewer form for MS Excel and a read-only viewer form for MS PowerPoint.
There is an ActiveX control called Microsoft Excel Worksheet and an ActiveX control called Microsoft PowerPoint Presentation.
What I don't see is where you set the path\filename property for each control - there is a read-only property called .DocumentFile for each control which can be used if you are using CREATEOBJECT() to create the object.
What would happen is that the viewer form is called from a grid event - automation is an obvious alternative, but as there are other viewers for graphics, RTF/text and PDF files contained within VFP forms, automation would be not be in keeping.
TIA HTH
Chris
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)