Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error 0x800A03EC w/Excel
Message
 
 
To
14/01/1999 17:36:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00176237
Message ID:
00176278
Views:
24
Julie,

You should check the return values from things like Open() to see if it acuatlly did open the file. You may have a filename or pathing error. You can use the VFP FILE() function to check for the file existence before trying to open it.

>I have an application just delivered to a client -- it works fine on my workstations but not on his <g>. VFP 5.0, Win 95 & MS Office 97 are being used.
>
>The app writes VFP data to an Excel spreadsheet. The code is as follows:
>
>oleExcel = CREATEOBJECT("Excel.application") && Create Excel session
>oleExcel.application.workbooks.open("C:\dip\master.xls") && open template
>oleExcel.application.worksheets("PA").activate &&active worksheet
>...begin writing data.
>
>I believe the Excel session is started, because when CTRL-ALT-DEL are pressed, Excel appears in the list of apps running. Somewhere just after Excel is opened, the application hangs & errors: "Unknown OLE Error: Ole error code 0x800A03EC"
>
>Is there some basic thing I need to do to use OLE on a workstation? I'm not using any ActiveX controls (or am I?). Some kind of configuration problem somewhere? ANY thoughts, clues, troubleshooting ideas welcome.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform