>I am unable to create a VFP Ole container control for Microsoft Office Spreadsheet 11.
>
>VFP 9
>Microsoft Office 2003
>Form Designer - new blank form
>Select Ole container control from Form Controls Toolbar
>Insert new container on the form by dragging a rectangle.
>Insert Object dialog: select "Insert Control" and ControlType: Microsoft Office Spreadsheet 11.0.
>Result window shows:
>C:\Progra~1\Common~1\Micros~1\Webcom~1\11\OWC11.DLL
>Click OK - Get error message:
>OLE error code 0x80040202: Unknown COM status code
>
>Thanks for your help.
>
>Jim
I tried what you did and received the same error.
I needed a form where the user could change the .XLS files displayed.
I found the best way was to put the WebBrowser control on the form.
Then display the .XLS file using a "myWebBrowser.Navigate( filename )".
I can post more code if you want to go this way.
- Andy Rice
San Diego, CA