Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Error 0x800A03EC w/Excel
Message
De
14/01/1999 17:36:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
OLE Error 0x800A03EC w/Excel
Divers
Thread ID:
00176237
Message ID:
00176237
Vues:
305
Hi everyone,
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.
--Julie
(Sorry to go on at such length!)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform