Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error code 0x80080005:Server Execution failed.
Message
De
04/05/2000 10:56:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
OLE error code 0x80080005:Server Execution failed.
Divers
Thread ID:
00366105
Message ID:
00366105
Vues:
242
I am trying to populate some Lotus 123 spreadsheets from Fox data. I have the following line in my code: oMyObject = getobject("Template.123"). I then populate it and do oMyObject.filesaveas("Newfile.123"). I then RELEASE oMyObject. Next I get more data for a new spreadsheet and use oMyObject = getobject("Template.123") again. This is where I get the above error message.

The reason that I am using "getobject" multiple times is because the template contains the data from the previous go around and if the next one has less data the old data is added. I had a loop that would go through the cells and set them to " ", which did what I need to do but it was sooo sssllllooooowwww.

Does anyone have any ideas on how to eliminate the error or empty the template between each data set.

TIA,

Gerald Brown
Lockheed Martin a Contractor to EPA
brown.gerald@epa.gov
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform