Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent User Browsing Different Dir with CommonControl
Message
 
 
À
12/05/2004 19:01:10
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00903425
Message ID:
00903450
Vues:
22
Hi Don,

You can create a simple form with a listbox driven by array created with ADIR() and OK and Cancel buttons. I don't think you can restrict Common Dialog OpenFile to the current directory.

To get to the help for a particular ActiveX control, you can drop it on a form, right-click on it and choose Help.

>
>I have a form that uses GetFile() for the user to return the name of a table which is subsequently used by other code.
>
>But, I could not figure out how to prevent the user from browsing to different directories. In otherwords, the user should only be allowed to select a table from the directory set when the GetFile dialog opens.
>
>So I tried using the activex commoncontrol. I have the control working on a form. But I can't seem to figure out how to limit the user to the default directory.
>
>What have I missed?
>
>BTW - Where can I find a reference for the PEMs of active x controls that ship with VFP8?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform