Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open a file from combobox
Message
From
10/12/2006 12:35:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
09/12/2006 01:43:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01176343
Message ID:
01176400
Views:
7
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform