Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pasting in Excel occasionally randomly fails
Message
De
23/10/2014 14:31:24
 
 
À
23/10/2014 13:45:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609799
Message ID:
01609823
Vues:
43
Sure, everything is bigger in your country, isn't that true for seconds as well?

>a "brief second"? Are some seconds longer than others?
>
>I use timers sparingly and do not believe that they change work the work area.
>
>I thought timers did not interrupt an executing method.
>
>
>
>>>In all my grids throughout all my applications, the user can export any grid to Excel so that it looks, as much as possible, like the original grid. This is something that has been available for years and is used extensively.
>>>
>>>Every once in a blue moon, a user will report that the spreadsheet was created properly, with all headings and cell decorations, but without any data.
>>>
>>>The data is pasted in with copy that looks essentially like this:
>>>
DataToClip(Alias)
>>>loExcel.ActiveSheet.Paste()
>>>
>>>The user may repeat it a few times, failing each time, until, eventually, it works. It has happened to me twice. The most recent report was from somebody who exports from the same grid daily.
>>>
>>>Does anybody have any idea about what might be going on and what I could do about it?
>>>
>>>Thanks
>>
>>Could it be that a timer switches the work area for a brief second?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform