Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to get the PrintOut Property
Message
De
10/12/2013 18:56:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
10/12/2013 18:37:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
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:
01589665
Message ID:
01589790
Vues:
35
>Any guesses on this from anybody?

My guess is that you are attempting to use office automation.

It's typical, things that work fine for years start breaking at random. I've seen other properties becoming invisible, years ago, something like shapes or images collection, and at times also something related to clipboard. It would work for a year or two, then all of a sudden (something was updated somewhere), bang.

My solution is to avoid office in a wide arc. I did a lot of automation in my time, and each of those would develop problems even if you touched nothing for months. For best results, I used other tools, hoping that the automation will hold until I finish them.

Meanwhile, sometimes it would help to just change something in the calling code - insert a comment or a blank line - recompile and that would sometimes do it. Re-register the COM objects, perhaps. Reinstall office, may help. Revert to pre-2007 office, worked most of the time.

>>My users export a lot of their data to Excel, both for manipulation and printing.
>>
>>Every once it a blue moon, somebody will get an error like this
>>
>>OLE IDISPATCH EXCEPTION CODE 0 FROM MICROSOFT EXCEL: UNABLE TO GET THE PRINTOUT PROPERTY OF THE SHEETS CLASS.
>>
>>Another error I see refers to the PASTE property.
>>
>>Why might these errors be occurring? What, if anything, can I do about them?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform