Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel automation and procedures
Message
De
20/04/2018 10:39:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/04/2018 10:28:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01658838
Message ID:
01659563
Vues:
54
Greg,
With all my respect, I don't suggest using properties attached to a 'global' object either. It wouldn't be much different from using a public variable.

>I agree with Cetin in that it is not a good practice to use global variables. Rather I use a property attached to _VFP system object as follows:
>
>
>ADDPROPERTY(_VFP, "oExcel", CreateObject("Excel.Application"))
>
>
>Now you can use the assignment anywhere as _VFP.oExcel
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform