Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
ActiveX controls in VFP
Title:
Common dialog and multiselecting files
I'm using the common dialog control to allow the user to select multiple files. The resulting selections are stored in the control's FileName property and are separated by a space!.
Now is it me or does this make for extra coding to retrieve the individual files? Imaging this scenario - the user selects a folder with spaces in the name and furthermore, has selected files with spaces in the names.
How do I accurately parse this string to get each filename without having to check each character looking for spaces, periods, etc.?
Here is an example:
C:\Documents and Settings\Mike\My Documents db1.mdb Default.rdp test.zip MY LIST.doc
All help is greatly appreciated.
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only