Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
How to determine selected files via Common Dialog
I'm trying to parse the "Filename" property of the common dialog control in order to determine the selected files. It appears to contain the folder name as the first part of the string followed by each selected file separated by a space!
When I try the solution samples under the ActiveX controls section, there is a "Customize the open dialog box" example. I put a break point in the cmdFIles.Click() code to inspect the .Filename property. The VFP debugger does not reveal any special characters used as the delimiter, however, when the property value is put into the editbox control, it shows a "special" character as a delimiter!!!
How is the latter done? Does anyone know what the "trick" is to parse the selected files easily?
TIA,
Mike
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement