Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a file from combobox
Message
De
10/12/2006 12:35:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
09/12/2006 01:43:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01176343
Message ID:
01176400
Vues:
8
>Hi,
>I use powerpoint.ocx to open my ppt file but instead of opening a dialogue box to select and open one,I want to change it into opening the file from
>a combo box, which directly assigns to a file in a directory but I have not found the solution. Anyone help me please how to do it? Thank you.

Shouldn't be too hard to do - you make an array of filenames, with maybe two columns (one for just filename stems, the other for full paths), and use that as .rowsource of the combo. The user selects one, you retrieve the fullpath from combo.list(combo.listindex,2) (or something like that) and open it.

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