Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OExcel = oXLS.Application
Message
De
07/08/2015 08:25:32
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01622988
Message ID:
01623044
Vues:
55
>>>I have found this code in a VFP program - it only works on 1 machine in the network - do I need to install software on the other machines - if so what?
>>>
>>>
>>>oXLS = thisform.OleControl1.object.document
>>>oExcel = oXLS.Application
>>
>>It will error out on any machine which doesn't have excel installed. You can search UT for ways to check whether it is, and simply refuse to run this form if it isn't.
>
>all machines have excel installed
>
>but I will double check - thanks

Then I dunno why it wouldn't work on others. Perhaps you may need to check the form, the properties of the OLE object - it may be bound to a specific version of excel, which is just a WAG. I've never actually included any Office box in a form, always as a standalone object.

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