Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting the active path in EXEC via OLE automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00336646
Message ID:
00336755
Vues:
32
>Try oleExcel.Application.DefaultFilePath property - Returns or sets the default path that Microsoft Excel uses when it opens files.
>
Nigel,

Don't worked. I got invalid number of parameters, I tried:

oleExcel.Application.DefaultFilePath(cmypath)

and

oleExcel.Application.DefaultFilePath("k:\conta\excel")

This worked like:

cdefaultpath = oleExcel.Application.DefaultFilePath

An I get the default path from what Excel runs. But I need to set the active path.

Where do I get more info of these Excel functions?

Thanks.
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform